From b61fb5ce758bcf9c2f421976477fca2739237f0c Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 7 Jul 2020 19:53:43 +0530 Subject: [PATCH 01/51] created method to delete from yaml files --- kubernetes/utils/delete_from_yaml.py | 152 +++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 kubernetes/utils/delete_from_yaml.py diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py new file mode 100644 index 0000000000..e5876eef76 --- /dev/null +++ b/kubernetes/utils/delete_from_yaml.py @@ -0,0 +1,152 @@ +import re +from os import path + +import yaml + +from kubernetes import client + + +def delete_from_yaml( + k8s_client, + yaml_file, + verbose=False, + namespace="default", + **kwargs): + ''' + Input: + yaml_file: string. Contains the path to yaml file. + k8s_client: an ApiClient object, initialized with the client args. + verbose: If True, print confirmation from the create action. + Default is False. + namespace: string. Contains the namespace to create all + resources inside. The namespace must preexist otherwise + the resource creation will fail. If the API object in + the yaml file already contains a namespace definition + this parameter has no effect. + Available parameters for creating : + :param async_req bool + :param bool include_uninitialized: If true, partially initialized + resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications + should not be persisted. An invalid or unrecognized dryRun + directive will result in an error response and no further + processing of the request. + Valid values are: - All: all dry run stages will be processed + Raises: + FailToCreateError which holds list of `client.rest.ApiException` + instances for each object that failed to delete. + ''' + # open yml file + with open(path.abspath(yaml_file)) as f: + #load all yml content + yml_document_all = yaml.safe_load_all(f) + + failures=[] + for yml_document in yml_document_all: + try: + # call delete from dict function + delete_from_dict(k8s_client,yml_document,verbose, + namespace=namespace, + **kwargs) + except FailToCreateError as failure: + # if error is returned add to failures list + failures.extend(failure.api_exceptions) + if failures: + #display the error + raise FailToCreateError(failures) + +def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwargs): + """ + Perform an action from a dictionary containing valid kubernetes + API object (i.e. List, Service, etc). + Input: + k8s_client: an ApiClient object, initialized with the client args. + data: a dictionary holding valid kubernetes objects + verbose: If True, print confirmation from the create action. + Default is False. + namespace: string. Contains the namespace to create all + resources inside. The namespace must preexist otherwise + the resource creation will fail. If the API object in + the yaml file already contains a namespace definition + this parameter has no effect. + Raises: + FailToCreateError which holds list of `client.rest.ApiException` + instances for each object that failed to delete. + """ + api_exceptions = [] + try: + delete_from_yaml_single_item( + k8s_client, yml_document, verbose, namespace=namespace, **kwargs + ) + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) + + if api_exceptions: + raise FailToCreateError(api_exceptions) + + +def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): + # get group and version from apiVersion + group,_,version = yml_document["apiVersion"].partition("/") + if version == "": + version = group + group = "core" + # Take care for the case e.g. api_type is "apiextensions.k8s.io" + group = "".join(group.rsplit(".k8s.io", 1)) + # convert group name from DNS subdomain format to + # python class name convention + group = "".join(word.capitalize() for word in group.split('.')) + group = "".join(word.capitalize() for word in group.split('.')) + func = "{0}{1}Api".format(group, version.capitalize()) + k8s_api = getattr(client, func)(k8s_client) + kind = yml_document["kind"] + kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) + kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() + + if getattr(k8s_api,"delete_namespaced_{}".format(kind)): + # load namespace if provided in yml file + if "namespace" in yml_document["metadata"]: + namespace = yml_document["metadata"]["namespace"] + kwargs["namespace"] = namespace + # take name input of kubernetes object + name = yml_document["metadata"]["name"] + #call function to delete from namespace + res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) + ) + + else: + name = yml_document["metadata"]["name"] + kwargs.pop('namespace', None) + res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) + ) + if verbose: + msg = "{0} deleted.".format(kind) + if hasattr(res, 'status'): + msg += " status='{0}'".format(str(res.status)) + print(msg) + + + + + + + +class FailToCreateError(Exception): + """ + An exception class for handling error if an error occurred when + handling a yaml file. + """ + + def __init__(self, api_exceptions): + self.api_exceptions = api_exceptions + + def __str__(self): + msg = "" + for api_exception in self.api_exceptions: + msg += "Error from server ({0}): {1}".format( + api_exception.reason, api_exception.body) + return msg + From 5fc0f5323ddee75fa5647ac93d077ec86694adda Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 7 Jul 2020 20:36:45 +0530 Subject: [PATCH 02/51] function when namespaced delete not found --- kubernetes/utils/delete_from_yaml.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index e5876eef76..a5b4c3e51b 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -76,6 +76,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar """ api_exceptions = [] try: + # call function delete_from_yaml_single_item delete_from_yaml_single_item( k8s_client, yml_document, verbose, namespace=namespace, **kwargs ) @@ -117,9 +118,10 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar ) else: + # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) - res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + res = getattr(k8s_api,"delete_{}".format(kind))( **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) ) if verbose: @@ -129,11 +131,6 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar print(msg) - - - - - class FailToCreateError(Exception): """ An exception class for handling error if an error occurred when From d339958385d3201c3f87a131dbddb9576b2e7152 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 12 Jul 2020 10:17:15 +0530 Subject: [PATCH 03/51] change syntax for delete operation --- kubernetes/utils/delete_from_yaml.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index a5b4c3e51b..0ed1585316 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,16 +114,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) - ) + name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( - **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) - ) + name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From a8e5ac3f21056617187ea99815f2dbd0057698ea Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 12 Jul 2020 10:31:04 +0530 Subject: [PATCH 04/51] resolve kwargs error for python2.7 --- kubernetes/utils/delete_from_yaml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 0ed1585316..af67c3ddb2 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,14 +114,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) + name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( - name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) + name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From 7e75c967c6d783e081b2213fc7961dcbd1fe872d Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 13 Jul 2020 09:53:17 +0530 Subject: [PATCH 05/51] fixed typo errors --- kubernetes/utils/delete_from_yaml.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index af67c3ddb2..699114473e 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -34,7 +34,7 @@ def delete_from_yaml( processing of the request. Valid values are: - All: all dry run stages will be processed Raises: - FailToCreateError which holds list of `client.rest.ApiException` + FailToDeleteError which holds list of `client.rest.ApiException` instances for each object that failed to delete. ''' # open yml file @@ -49,12 +49,12 @@ def delete_from_yaml( delete_from_dict(k8s_client,yml_document,verbose, namespace=namespace, **kwargs) - except FailToCreateError as failure: + except FailToDeleteError as failure: # if error is returned add to failures list failures.extend(failure.api_exceptions) if failures: #display the error - raise FailToCreateError(failures) + raise FailToDeleteError(failures) def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwargs): """ @@ -71,7 +71,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar the yaml file already contains a namespace definition this parameter has no effect. Raises: - FailToCreateError which holds list of `client.rest.ApiException` + FailToDeleteError which holds list of `client.rest.ApiException` instances for each object that failed to delete. """ api_exceptions = [] @@ -84,7 +84,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar api_exceptions.append(api_exception) if api_exceptions: - raise FailToCreateError(api_exceptions) + raise FailToDeleteError(api_exceptions) def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): @@ -98,7 +98,6 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar # convert group name from DNS subdomain format to # python class name convention group = "".join(word.capitalize() for word in group.split('.')) - group = "".join(word.capitalize() for word in group.split('.')) func = "{0}{1}Api".format(group, version.capitalize()) k8s_api = getattr(client, func)(k8s_client) kind = yml_document["kind"] @@ -129,10 +128,10 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar print(msg) -class FailToCreateError(Exception): +class FailToDeleteError(Exception): """ An exception class for handling error if an error occurred when - handling a yaml file. + handling a yaml file during deletion of the resource. """ def __init__(self, api_exceptions): From 9605ff116e3ef74e00148c380bf51fbc7c426fc7 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 7 Jul 2020 19:53:43 +0530 Subject: [PATCH 06/51] created method to delete from yaml files --- kubernetes/utils/delete_from_yaml.py | 152 +++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 kubernetes/utils/delete_from_yaml.py diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py new file mode 100644 index 0000000000..e5876eef76 --- /dev/null +++ b/kubernetes/utils/delete_from_yaml.py @@ -0,0 +1,152 @@ +import re +from os import path + +import yaml + +from kubernetes import client + + +def delete_from_yaml( + k8s_client, + yaml_file, + verbose=False, + namespace="default", + **kwargs): + ''' + Input: + yaml_file: string. Contains the path to yaml file. + k8s_client: an ApiClient object, initialized with the client args. + verbose: If True, print confirmation from the create action. + Default is False. + namespace: string. Contains the namespace to create all + resources inside. The namespace must preexist otherwise + the resource creation will fail. If the API object in + the yaml file already contains a namespace definition + this parameter has no effect. + Available parameters for creating : + :param async_req bool + :param bool include_uninitialized: If true, partially initialized + resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications + should not be persisted. An invalid or unrecognized dryRun + directive will result in an error response and no further + processing of the request. + Valid values are: - All: all dry run stages will be processed + Raises: + FailToCreateError which holds list of `client.rest.ApiException` + instances for each object that failed to delete. + ''' + # open yml file + with open(path.abspath(yaml_file)) as f: + #load all yml content + yml_document_all = yaml.safe_load_all(f) + + failures=[] + for yml_document in yml_document_all: + try: + # call delete from dict function + delete_from_dict(k8s_client,yml_document,verbose, + namespace=namespace, + **kwargs) + except FailToCreateError as failure: + # if error is returned add to failures list + failures.extend(failure.api_exceptions) + if failures: + #display the error + raise FailToCreateError(failures) + +def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwargs): + """ + Perform an action from a dictionary containing valid kubernetes + API object (i.e. List, Service, etc). + Input: + k8s_client: an ApiClient object, initialized with the client args. + data: a dictionary holding valid kubernetes objects + verbose: If True, print confirmation from the create action. + Default is False. + namespace: string. Contains the namespace to create all + resources inside. The namespace must preexist otherwise + the resource creation will fail. If the API object in + the yaml file already contains a namespace definition + this parameter has no effect. + Raises: + FailToCreateError which holds list of `client.rest.ApiException` + instances for each object that failed to delete. + """ + api_exceptions = [] + try: + delete_from_yaml_single_item( + k8s_client, yml_document, verbose, namespace=namespace, **kwargs + ) + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) + + if api_exceptions: + raise FailToCreateError(api_exceptions) + + +def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): + # get group and version from apiVersion + group,_,version = yml_document["apiVersion"].partition("/") + if version == "": + version = group + group = "core" + # Take care for the case e.g. api_type is "apiextensions.k8s.io" + group = "".join(group.rsplit(".k8s.io", 1)) + # convert group name from DNS subdomain format to + # python class name convention + group = "".join(word.capitalize() for word in group.split('.')) + group = "".join(word.capitalize() for word in group.split('.')) + func = "{0}{1}Api".format(group, version.capitalize()) + k8s_api = getattr(client, func)(k8s_client) + kind = yml_document["kind"] + kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) + kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() + + if getattr(k8s_api,"delete_namespaced_{}".format(kind)): + # load namespace if provided in yml file + if "namespace" in yml_document["metadata"]: + namespace = yml_document["metadata"]["namespace"] + kwargs["namespace"] = namespace + # take name input of kubernetes object + name = yml_document["metadata"]["name"] + #call function to delete from namespace + res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) + ) + + else: + name = yml_document["metadata"]["name"] + kwargs.pop('namespace', None) + res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) + ) + if verbose: + msg = "{0} deleted.".format(kind) + if hasattr(res, 'status'): + msg += " status='{0}'".format(str(res.status)) + print(msg) + + + + + + + +class FailToCreateError(Exception): + """ + An exception class for handling error if an error occurred when + handling a yaml file. + """ + + def __init__(self, api_exceptions): + self.api_exceptions = api_exceptions + + def __str__(self): + msg = "" + for api_exception in self.api_exceptions: + msg += "Error from server ({0}): {1}".format( + api_exception.reason, api_exception.body) + return msg + From f153cf15f81aee311e4d9300915cd92fce8a98e1 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 7 Jul 2020 20:36:45 +0530 Subject: [PATCH 07/51] function when namespaced delete not found --- kubernetes/utils/delete_from_yaml.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index e5876eef76..a5b4c3e51b 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -76,6 +76,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar """ api_exceptions = [] try: + # call function delete_from_yaml_single_item delete_from_yaml_single_item( k8s_client, yml_document, verbose, namespace=namespace, **kwargs ) @@ -117,9 +118,10 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar ) else: + # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) - res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + res = getattr(k8s_api,"delete_{}".format(kind))( **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) ) if verbose: @@ -129,11 +131,6 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar print(msg) - - - - - class FailToCreateError(Exception): """ An exception class for handling error if an error occurred when From 829ecc899ab84219ab625724fc7849ade1395be1 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 12 Jul 2020 10:17:15 +0530 Subject: [PATCH 08/51] change syntax for delete operation --- kubernetes/utils/delete_from_yaml.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index a5b4c3e51b..0ed1585316 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,16 +114,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) - ) + name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( - **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) - ) + name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From c86181b15822a2f882dd2b52319fe7005c3dbe67 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 12 Jul 2020 10:31:04 +0530 Subject: [PATCH 09/51] resolve kwargs error for python2.7 --- kubernetes/utils/delete_from_yaml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 0ed1585316..af67c3ddb2 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,14 +114,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) + name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( - name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) + name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From 1e3093b165022611da26d501a4f59c091acd36f3 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 13 Jul 2020 09:53:17 +0530 Subject: [PATCH 10/51] fixed typo errors --- kubernetes/utils/delete_from_yaml.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index af67c3ddb2..699114473e 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -34,7 +34,7 @@ def delete_from_yaml( processing of the request. Valid values are: - All: all dry run stages will be processed Raises: - FailToCreateError which holds list of `client.rest.ApiException` + FailToDeleteError which holds list of `client.rest.ApiException` instances for each object that failed to delete. ''' # open yml file @@ -49,12 +49,12 @@ def delete_from_yaml( delete_from_dict(k8s_client,yml_document,verbose, namespace=namespace, **kwargs) - except FailToCreateError as failure: + except FailToDeleteError as failure: # if error is returned add to failures list failures.extend(failure.api_exceptions) if failures: #display the error - raise FailToCreateError(failures) + raise FailToDeleteError(failures) def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwargs): """ @@ -71,7 +71,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar the yaml file already contains a namespace definition this parameter has no effect. Raises: - FailToCreateError which holds list of `client.rest.ApiException` + FailToDeleteError which holds list of `client.rest.ApiException` instances for each object that failed to delete. """ api_exceptions = [] @@ -84,7 +84,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar api_exceptions.append(api_exception) if api_exceptions: - raise FailToCreateError(api_exceptions) + raise FailToDeleteError(api_exceptions) def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): @@ -98,7 +98,6 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar # convert group name from DNS subdomain format to # python class name convention group = "".join(word.capitalize() for word in group.split('.')) - group = "".join(word.capitalize() for word in group.split('.')) func = "{0}{1}Api".format(group, version.capitalize()) k8s_api = getattr(client, func)(k8s_client) kind = yml_document["kind"] @@ -129,10 +128,10 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar print(msg) -class FailToCreateError(Exception): +class FailToDeleteError(Exception): """ An exception class for handling error if an error occurred when - handling a yaml file. + handling a yaml file during deletion of the resource. """ def __init__(self, api_exceptions): From 424fb43c7ae616382e7dac11034263c3badee921 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 24 Aug 2020 15:09:34 +0530 Subject: [PATCH 11/51] e2e tests of resource deletion --- kubernetes/e2e_test/test_utils.py | 137 +++++++++++++++++++++++++++ kubernetes/utils/__init__.py | 2 + kubernetes/utils/delete_from_yaml.py | 2 - 3 files changed, 139 insertions(+), 2 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index ab752dff79..b5f6caae1b 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -408,3 +408,140 @@ def test_create_from_list_in_multi_resource_yaml_namespaced(self): name="mock-pod-1", namespace=self.test_namespace, body={}) app_api.delete_namespaced_deployment( name="mock", namespace=self.test_namespace, body={}) + + + def test_delete_apps_deployment_from_yaml(self): + """ + Should delete a deployment + + First create deployment from file and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "apps-deployment.yaml") + app_api = client.AppsV1Api(k8s_client) + dep = app_api.read_namespaced_deployment(name="nginx-app", + namespace="default") + self.assertIsNotNone(dep) + """ + Deployment should be created + + Now delete deployment using delete_from_yaml method + """ + utils.delete_from_yaml(k8s_client, self.path_prefix + "apps-deployment.yaml") + dep = app_api.read_namespaced_deployment(name="nginx-app", + namespace="default") + self.assertIsNone(dep) + + def test_delete_pod_from_yaml(self): + """ + Should be able to delete pod + + Create pod from file first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-pod.yaml") + core_api = client.CoreV1Api(k8s_client) + pod = core_api.read_namespaced_pod(name="myapp-pod", + namespace="default") + self.assertIsNotNone(pod) + """ + Delete pod using delete_from_yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "core-pod.yaml") + pod = core_api.read_namespaced_pod(name="myapp-pod", + namespace="default") + self.assertIsNone(pod) + + def test_delete_service_from_yaml(self): + """ + Should be able to delete a service + + Create service from yaml first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-service.yaml") + core_api = client.CoreV1Api(k8s_client) + svc = core_api.read_namespaced_service(name="my-service", + namespace="default") + self.assertIsNotNone(svc) + """ + Delete service from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "core-service.yaml") + svc = core_api.read_namespaced_service(name="my-service", + namespace="default") + self.assertIsNone(svc) + + def test_delete_namespace_from_yaml(self): + """ + Should be able to delete a namespace + + Create namespace from file first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-namespace.yaml") + core_api = client.CoreV1Api(k8s_client) + nmsp = core_api.read_namespace(name="development") + self.assertIsNotNone(nmsp) + """ + Delete namespace from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "core-namespace.yaml") + nmsp = core_api.read_namespace(name="development") + self.assertIsNone(nmsp) + + def test_delete_rbac_role_from_yaml(self): + """ + Should be able to delete rbac role + + Create rbac role from file first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "rbac-role.yaml") + rbac_api = client.RbacAuthorizationV1Api(k8s_client) + rbac_role = rbac_api.read_namespaced_role( + name="pod-reader", namespace="default") + self.assertIsNotNone(rbac_role) + """ + Delete rbac role from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "rbac-role.yaml") + rbac_role = rbac_api.read_namespaced_role( + name="pod-reader", namespace="default") + self.assertIsNone(rbac_role) + + def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): + """ + Should delete a rbac role with verbose enabled + + Create rbac role with verbose enabled and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "rbac-role.yaml", verbose=True) + rbac_api = client.RbacAuthorizationV1Api(k8s_client) + rbac_role = rbac_api.read_namespaced_role( + name="pod-reader", namespace="default") + self.assertIsNotNone(rbac_role) + """ + Delete the rbac role from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "rbac-role.yaml", verbose=True) + rbac_role = rbac_api.read_namespaced_role( + name="pod-reader", namespace="default") + self.assertIsNone(rbac_role) + + + + + diff --git a/kubernetes/utils/__init__.py b/kubernetes/utils/__init__.py index 8add80bcfe..bacf598a06 100644 --- a/kubernetes/utils/__init__.py +++ b/kubernetes/utils/__init__.py @@ -17,3 +17,5 @@ from .create_from_yaml import (FailToCreateError, create_from_dict, create_from_yaml) from .quantity import parse_quantity + +from .delete_from_yaml import (FailToDeleteError,delete_from_dict,delete_from_yaml) \ No newline at end of file diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 699114473e..6970c8deb9 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -25,8 +25,6 @@ def delete_from_yaml( this parameter has no effect. Available parameters for creating : :param async_req bool - :param bool include_uninitialized: If true, partially initialized - resources are included in the response. :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun From 4e3d675ec657e97d2503048ac754aff69fd3d5e8 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 24 Aug 2020 16:38:17 +0530 Subject: [PATCH 12/51] add e2e tests for multi resources and add method to delete of kind list --- kubernetes/e2e_test/test_utils.py | 69 ++++++++++++++++++++++++++++ kubernetes/utils/delete_from_yaml.py | 48 ++++++++++++++++--- 2 files changed, 110 insertions(+), 7 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index b5f6caae1b..2a72e267e8 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -541,6 +541,75 @@ def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): name="pod-reader", namespace="default") self.assertIsNone(rbac_role) + # Deletion Tests for multi resource objects in yaml files + + def test_delete_from_multi_resource_yaml(self): + """ + Should be able to delete service and replication controller + from the multi resource yaml files + + Create the resources first and ensure they exist + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "multi-resource.yaml") + core_api = client.CoreV1Api(k8s_client) + svc = core_api.read_namespaced_service(name="mock", + namespace="default") + self.assertIsNotNone(svc) + ctr = core_api.read_namespaced_replication_controller( + name="mock", namespace="default") + self.assertIsNotNone(ctr) + """ + Delete service and replication controller using yaml file + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "multi-resource.yaml") + svc = core_api.read_namespaced_service(name="mock", + namespace="default") + self.assertIsNone(svc) + ctr = core_api.read_namespaced_replication_controller( + name="mock", namespace="default") + self.assertIsNone(ctr) + + def test_delete_from_list_in_multi_resource_yaml(self): + """ + Should delete the items in PodList and the deployment in the yaml file + + Create the items first and ensure they exist + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "multi-resource-with-list.yaml") + core_api = client.CoreV1Api(k8s_client) + app_api = client.AppsV1Api(k8s_client) + pod_0 = core_api.read_namespaced_pod( + name="mock-pod-0", namespace="default") + self.assertIsNotNone(pod_0) + pod_1 = core_api.read_namespaced_pod( + name="mock-pod-1", namespace="default") + self.assertIsNotNone(pod_1) + dep = app_api.read_namespaced_deployment( + name="mock", namespace="default") + self.assertIsNotNone(dep) + """ + Delete the PodList and Deployment using the yaml file + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "multi-resource-with-list.yaml") + pod_0 = core_api.read_namespaced_pod( + name="mock-pod-0", namespace="default") + self.assertIsNone(pod_0) + pod_1 = core_api.read_namespaced_pod( + name="mock-pod-1", namespace="default") + self.assertIsNone(pod_1) + dep = app_api.read_namespaced_deployment( + name="mock", namespace="default") + self.assertIsNone(dep) + + + + diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 6970c8deb9..b280df1894 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -1,3 +1,18 @@ +# Copyright 2018 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. + + import re from os import path @@ -73,13 +88,32 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar instances for each object that failed to delete. """ api_exceptions = [] - try: - # call function delete_from_yaml_single_item - delete_from_yaml_single_item( - k8s_client, yml_document, verbose, namespace=namespace, **kwargs - ) - except client.rest.ApiException as api_exception: - api_exceptions.append(api_exception) + + if "List" in yml_document["kind"]: + #For cases where it is List Pod/Service... + # For such cases iterate over the items + kind = yml_document["kind"].replace("List","") + for yml_doc in yml_document["items"]: + if kind!="": + yml_doc["apiVersion"]=yml_document["apiVersion"] + yml_doc["kind"]= kind + try: + # call function delete_from_yaml_single_item + delete_from_yaml_single_item( + k8s_client, yml_doc, verbose, namespace=namespace, **kwargs + ) + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) + + else: + + try: + # call function delete_from_yaml_single_item + delete_from_yaml_single_item( + k8s_client, yml_document, verbose, namespace=namespace, **kwargs + ) + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) if api_exceptions: raise FailToDeleteError(api_exceptions) From b010a1909805a5bcb0985d59219ab2f2533bb4cf Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 1 Sep 2020 01:31:40 +0530 Subject: [PATCH 13/51] changed propagation policy to background and updated comment --- kubernetes/utils/delete_from_yaml.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 kubernetes/utils/delete_from_yaml.py diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py old mode 100644 new mode 100755 index b280df1894..f441901461 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -78,6 +78,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar data: a dictionary holding valid kubernetes objects verbose: If True, print confirmation from the create action. Default is False. + yml_document: dictonary holding valid kubernetes object namespace: string. Contains the namespace to create all resources inside. The namespace must preexist otherwise the resource creation will fail. If the API object in @@ -145,14 +146,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) + name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( - name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) + name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): @@ -176,3 +177,4 @@ def __str__(self): api_exception.reason, api_exception.body) return msg + From 414946eac6b08f3963ec4aa821044f61a1ae85ff Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 1 Sep 2020 02:12:12 +0530 Subject: [PATCH 14/51] time limit exceeded case --- kubernetes/e2e_test/test_utils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index 2a72e267e8..626bc7cc3c 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -429,8 +429,6 @@ def test_delete_apps_deployment_from_yaml(self): Now delete deployment using delete_from_yaml method """ utils.delete_from_yaml(k8s_client, self.path_prefix + "apps-deployment.yaml") - dep = app_api.read_namespaced_deployment(name="nginx-app", - namespace="default") self.assertIsNone(dep) def test_delete_pod_from_yaml(self): @@ -451,8 +449,6 @@ def test_delete_pod_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-pod.yaml") - pod = core_api.read_namespaced_pod(name="myapp-pod", - namespace="default") self.assertIsNone(pod) def test_delete_service_from_yaml(self): From 0a3cbcb767eb9963388c8c93f7d6cacdeb604c89 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 22 Sep 2020 15:36:41 +0530 Subject: [PATCH 15/51] tests to verify resource deletion --- kubernetes/e2e_test/test_utils.py | 112 ++++++++++++++++++++++++------ 1 file changed, 91 insertions(+), 21 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index 626bc7cc3c..8b46dc247a 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -429,7 +429,17 @@ def test_delete_apps_deployment_from_yaml(self): Now delete deployment using delete_from_yaml method """ utils.delete_from_yaml(k8s_client, self.path_prefix + "apps-deployment.yaml") - self.assertIsNone(dep) + deployment_status=False + try: + response=app_api.read_namespaced_deployment(name="nginx-app",namespace="default") + deployment_status=True + except Exception as e: + self.assertFalse(deployment_status) + + self.assertFalse(deployment_status) + + + def test_delete_pod_from_yaml(self): """ @@ -449,7 +459,15 @@ def test_delete_pod_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-pod.yaml") - self.assertIsNone(pod) + pod_status=False + try: + response = core_api.read_namespaced_pod(name="myapp-pod", + namespace="default") + pod_status=True + except Exception as e: + self.assertFalse(pod_status) + self.assertFalse(pod_status) + def test_delete_service_from_yaml(self): """ @@ -469,9 +487,16 @@ def test_delete_service_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-service.yaml") - svc = core_api.read_namespaced_service(name="my-service", - namespace="default") - self.assertIsNone(svc) + service_status=False + try: + response = core_api.read_namespaced_service(name="my-service",namespace="default") + service_status=True + except Exception as e: + self.assertFalse(service_status) + self.assertFalse(service_status) + + + def test_delete_namespace_from_yaml(self): """ @@ -490,8 +515,15 @@ def test_delete_namespace_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-namespace.yaml") - nmsp = core_api.read_namespace(name="development") - self.assertIsNone(nmsp) + namespace_status=False + try: + response=core_api.read_namespace(name="development") + namespace_status=True + except Exception as e: + self.assertFalse(namespace_status) + self.assertFalse(namespace_status) + + def test_delete_rbac_role_from_yaml(self): """ @@ -511,9 +543,14 @@ def test_delete_rbac_role_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "rbac-role.yaml") - rbac_role = rbac_api.read_namespaced_role( + rbac_role_status=False + try: + response = rbac_api.read_namespaced_role( name="pod-reader", namespace="default") - self.assertIsNone(rbac_role) + rbac_role_status=True + except Exception as e: + self.assertFalse(rbac_role_status) + self.assertFalse(rbac_role_status) def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): """ @@ -533,9 +570,15 @@ def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "rbac-role.yaml", verbose=True) - rbac_role = rbac_api.read_namespaced_role( + + rbac_role_status=False + try: + response=rbac_api.read_namespaced_role( name="pod-reader", namespace="default") - self.assertIsNone(rbac_role) + rbac_role_status=True + except Exception as e: + self.assertFalse(rbac_role_status) + self.assertFalse(rbac_role_status) # Deletion Tests for multi resource objects in yaml files @@ -561,12 +604,24 @@ def test_delete_from_multi_resource_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "multi-resource.yaml") - svc = core_api.read_namespaced_service(name="mock", + svc_status=False + replication_status=False + try: + resp_svc= core_api.read_namespaced_service(name="mock", namespace="default") - self.assertIsNone(svc) - ctr = core_api.read_namespaced_replication_controller( + svc_status=True + resp_repl= core_api.read_namespaced_replication_controller( name="mock", namespace="default") - self.assertIsNone(ctr) + repl_status = True + except Exception as e: + self.assertFalse(svc_status) + self.assertFalse(repl_status) + self.assertFalse(svc_status) + self.assertFalse(repl_status) + + + + def test_delete_from_list_in_multi_resource_yaml(self): """ @@ -593,15 +648,30 @@ def test_delete_from_list_in_multi_resource_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "multi-resource-with-list.yaml") - pod_0 = core_api.read_namespaced_pod( + pod0_status=False + pod1_status=False + deploy_status=False + try: + core_api.read_namespaced_pod( name="mock-pod-0", namespace="default") - self.assertIsNone(pod_0) - pod_1 = core_api.read_namespaced_pod( + core_api.read_namespaced_pod( name="mock-pod-1", namespace="default") - self.assertIsNone(pod_1) - dep = app_api.read_namespaced_deployment( + app_api.read_namespaced_deployment( name="mock", namespace="default") - self.assertIsNone(dep) + pod0_status=True + pod1_status=True + deploy_status=True + except Exception as e: + self.assertFalse(pod0_status) + self.assertFalse(pod1_status) + self.assertFalse(deploy_status) + self.assertFalse(pod0_status) + self.assertFalse(pod1_status) + self.assertFalse(deploy_status) + + + + From 399c166c0af2a435e2c3bc753e7c45321612c222 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Wed, 23 Sep 2020 11:15:21 +0530 Subject: [PATCH 16/51] error in multi resource test fix --- kubernetes/e2e_test/test_utils.py | 35 +++---------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index 8b46dc247a..9a9966c680 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -496,35 +496,6 @@ def test_delete_service_from_yaml(self): self.assertFalse(service_status) - - - def test_delete_namespace_from_yaml(self): - """ - Should be able to delete a namespace - - Create namespace from file first and ensure it is created - """ - k8s_client = client.api_client.ApiClient(configuration=self.config) - utils.create_from_yaml( - k8s_client, self.path_prefix + "core-namespace.yaml") - core_api = client.CoreV1Api(k8s_client) - nmsp = core_api.read_namespace(name="development") - self.assertIsNotNone(nmsp) - """ - Delete namespace from yaml - """ - utils.delete_from_yaml( - k8s_client, self.path_prefix + "core-namespace.yaml") - namespace_status=False - try: - response=core_api.read_namespace(name="development") - namespace_status=True - except Exception as e: - self.assertFalse(namespace_status) - self.assertFalse(namespace_status) - - - def test_delete_rbac_role_from_yaml(self): """ Should be able to delete rbac role @@ -612,12 +583,12 @@ def test_delete_from_multi_resource_yaml(self): svc_status=True resp_repl= core_api.read_namespaced_replication_controller( name="mock", namespace="default") - repl_status = True + replication_status = True except Exception as e: self.assertFalse(svc_status) - self.assertFalse(repl_status) + self.assertFalse(replication_status) self.assertFalse(svc_status) - self.assertFalse(repl_status) + self.assertFalse(replication_status) From 8c1967f7e5761d03594ed3860db4977a095bac5e Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 27 Sep 2020 13:19:46 +0530 Subject: [PATCH 17/51] fix namespace deletion error and being deleted case --- kubernetes/e2e_test/test_utils.py | 89 ++++++++++++++++++---------- kubernetes/utils/delete_from_yaml.py | 4 +- 2 files changed, 60 insertions(+), 33 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index 9a9966c680..a252104a4e 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -13,7 +13,7 @@ # under the License. import unittest - +import time import yaml from kubernetes import utils, client from kubernetes.client.rest import ApiException @@ -438,9 +438,58 @@ def test_delete_apps_deployment_from_yaml(self): self.assertFalse(deployment_status) + def test_delete_service_from_yaml(self): + """ + Should be able to delete a service - + Create service from yaml first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-service.yaml") + core_api = client.CoreV1Api(k8s_client) + svc = core_api.read_namespaced_service(name="my-service", + namespace="default") + self.assertIsNotNone(svc) + """ + Delete service from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "core-service.yaml") + service_status=False + try: + response = core_api.read_namespaced_service(name="my-service",namespace="default") + service_status=True + except Exception as e: + self.assertFalse(service_status) + self.assertFalse(service_status) + def test_delete_namespace_from_yaml(self): + """ + Should be able to delete a namespace + Create namespace from file first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + time.sleep(120) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-namespace.yaml") + core_api = client.CoreV1Api(k8s_client) + nmsp = core_api.read_namespace(name="development") + self.assertIsNotNone(nmsp) + """ + Delete namespace from yaml + """ + utils.delete_from_yaml(k8s_client, self.path_prefix + "core-namespace.yaml") + time.sleep(120) + namespace_status=False + try: + response=core_api.read_namespace(name="development") + namespace_status=True + except Exception as e: + self.assertFalse(namespace_status) + self.assertFalse(namespace_status) + + def test_delete_pod_from_yaml(self): """ Should be able to delete pod @@ -448,17 +497,19 @@ def test_delete_pod_from_yaml(self): Create pod from file first and ensure it is created """ k8s_client = client.api_client.ApiClient(configuration=self.config) + time.sleep(120) utils.create_from_yaml( k8s_client, self.path_prefix + "core-pod.yaml") core_api = client.CoreV1Api(k8s_client) pod = core_api.read_namespaced_pod(name="myapp-pod", - namespace="default") + namespace="default") self.assertIsNotNone(pod) """ Delete pod using delete_from_yaml """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-pod.yaml") + time.sleep(120) pod_status=False try: response = core_api.read_namespaced_pod(name="myapp-pod", @@ -467,33 +518,6 @@ def test_delete_pod_from_yaml(self): except Exception as e: self.assertFalse(pod_status) self.assertFalse(pod_status) - - - def test_delete_service_from_yaml(self): - """ - Should be able to delete a service - - Create service from yaml first and ensure it is created - """ - k8s_client = client.api_client.ApiClient(configuration=self.config) - utils.create_from_yaml( - k8s_client, self.path_prefix + "core-service.yaml") - core_api = client.CoreV1Api(k8s_client) - svc = core_api.read_namespaced_service(name="my-service", - namespace="default") - self.assertIsNotNone(svc) - """ - Delete service from yaml - """ - utils.delete_from_yaml( - k8s_client, self.path_prefix + "core-service.yaml") - service_status=False - try: - response = core_api.read_namespaced_service(name="my-service",namespace="default") - service_status=True - except Exception as e: - self.assertFalse(service_status) - self.assertFalse(service_status) def test_delete_rbac_role_from_yaml(self): @@ -550,6 +574,7 @@ def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): except Exception as e: self.assertFalse(rbac_role_status) self.assertFalse(rbac_role_status) + # Deletion Tests for multi resource objects in yaml files @@ -583,7 +608,7 @@ def test_delete_from_multi_resource_yaml(self): svc_status=True resp_repl= core_api.read_namespaced_replication_controller( name="mock", namespace="default") - replication_status = True + repl_status = True except Exception as e: self.assertFalse(svc_status) self.assertFalse(replication_status) @@ -601,6 +626,7 @@ def test_delete_from_list_in_multi_resource_yaml(self): Create the items first and ensure they exist """ k8s_client = client.api_client.ApiClient(configuration=self.config) + time.sleep(120) utils.create_from_yaml( k8s_client, self.path_prefix + "multi-resource-with-list.yaml") core_api = client.CoreV1Api(k8s_client) @@ -619,6 +645,7 @@ def test_delete_from_list_in_multi_resource_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "multi-resource-with-list.yaml") + time.sleep(120) pod0_status=False pod1_status=False deploy_status=False diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index f441901461..5c8054c5ff 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -137,7 +137,7 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() - if getattr(k8s_api,"delete_namespaced_{}".format(kind)): + try: # load namespace if provided in yml file if "namespace" in yml_document["metadata"]: namespace = yml_document["metadata"]["namespace"] @@ -148,7 +148,7 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) - else: + except: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) From ec5db9cb47b3fc543243d8aa91c706b30573b034 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 29 Sep 2020 00:42:47 +0530 Subject: [PATCH 18/51] minor change --- kubernetes/utils/delete_from_yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 5c8054c5ff..8dea3e07ca 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -173,7 +173,7 @@ def __init__(self, api_exceptions): def __str__(self): msg = "" for api_exception in self.api_exceptions: - msg += "Error from server ({0}): {1}".format( + msg += "Error from server ({0}):{1}".format( api_exception.reason, api_exception.body) return msg From 5c90c1846bfea72aa54e76f050bb6401b6d98fd1 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Fri, 16 Oct 2020 03:44:53 +0530 Subject: [PATCH 19/51] Update CHANGELOG and README to reflect v12.0.0 and v12.0.1 Signed-off-by: Nabarun Pal --- CHANGELOG.md | 22 ++++++++++++++++++++++ README.md | 5 +++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98fdafb4a7..68a0cd355c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +# v12.0.1 + +Kubernetes API Version: 1.16.15 + +**Breaking Change:** + +- `kubernetes.config.Configuration()` will now return the default "initial" configuration, `kubernetes.config.Configuration.get_default_copy()` will return the default configuration if there is a default set via `Configuration.set_default(c)`, otherwise, it will also return the default "initial" configuration. [OpenAPITools/openapi-generator#4485](https://github.com/OpenAPITools/openapi-generator/pull/4485), [OpenAPITools/openapi-generator#5315](https://github.com/OpenAPITools/openapi-generator/pull/5315). **Note: ** This change also affects v12.0.0a1, v12.0.0b1 and v12.0.0. + +**Bug Fix:** +- Prevent 503s from killing the client during discovery [kubernetes-client/python-base#187](https://github.com/kubernetes-client/python-base/pull/187) + + +# v12.0.0 + +Kubernetes API Version: 1.16.15 + +**New Feature:** +- Implement Port Forwarding [kubernetes-client/python-base#210](https://github.com/kubernetes-client/python-base/pull/210), [kubernetes-client/python-base#211](https://github.com/kubernetes-client/python-base/pull/211), [kubernetes-client/python#1237](https://github.com/kubernetes-client/python/pull/1237) +- Support loading configuration from file-like objects [kubernetes-client/python-base#208](https://github.com/kubernetes-client/python-base/pull/208) +- Returns the created k8s objects in `create_from_{dict,yaml}` [kubernetes-client/python#1262](https://github.com/kubernetes-client/python/pull/1262) + + # v12.0.0b1 Kubernetes API Version: 1.16.14 diff --git a/README.md b/README.md index 59a38a7a84..a35743ec78 100644 --- a/README.md +++ b/README.md @@ -115,11 +115,13 @@ between client-python versions. | 8.0 Alpha/Beta | Kubernetes main repo, 1.12 branch | ✗ | | 8.0 | Kubernetes main repo, 1.12 branch | ✗ | | 9.0 Alpha/Beta | Kubernetes main repo, 1.13 branch | ✗ | -| 9.0 | Kubernetes main repo, 1.13 branch | ✓ | +| 9.0 | Kubernetes main repo, 1.13 branch | ✗ | | 10.0 Alpha/Beta | Kubernetes main repo, 1.14 branch | ✗ | | 10.0 | Kubernetes main repo, 1.14 branch | ✓ | | 11.0 Alpha/Beta | Kubernetes main repo, 1.15 branch | ✗ | | 11.0 | Kubernetes main repo, 1.15 branch | ✓ | +| 12.0 Alpha/Beta | Kubernetes main repo, 1.16 branch | ✗ | +| 12.0 | Kubernetes main repo, 1.16 branch | ✓ | Key: @@ -174,4 +176,3 @@ This will cause a failure in non-exec/attach calls. If you reuse your api clien recreate it between api calls that use _stream_ and other api calls. See more at [exec example](examples/pod_exec.py). - From 92bf36b2833e6d51d25f83743046e7f73880f076 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Sat, 7 Nov 2020 11:27:04 +0530 Subject: [PATCH 20/51] Update constants to reflect Client release 17.0.0 Signed-off-by: Nabarun Pal --- scripts/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/constants.py b/scripts/constants.py index 18b68ea621..084911e92c 100644 --- a/scripts/constants.py +++ b/scripts/constants.py @@ -15,10 +15,10 @@ import sys # Kubernetes branch to get the OpenAPI spec from. -KUBERNETES_BRANCH = "release-1.16" +KUBERNETES_BRANCH = "release-1.17" # client version for packaging and releasing. -CLIENT_VERSION = "12.0.0-snapshot" +CLIENT_VERSION = "17.0.0-snapshot" # Name of the release package PACKAGE_NAME = "kubernetes" From 598d41ba5fea9e0df296baf4750a073eb3ade297 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Sat, 7 Nov 2020 12:21:18 +0530 Subject: [PATCH 21/51] Generate client 17.0.0 Signed-off-by: Nabarun Pal --- .../.openapi-generator/swagger.json.sha256 | 2 +- kubernetes/README.md | 92 +- kubernetes/__init__.py | 2 +- kubernetes/client/__init__.py | 47 +- kubernetes/client/api/__init__.py | 4 +- .../client/api/admissionregistration_api.py | 2 +- .../api/admissionregistration_v1_api.py | 10 +- .../api/admissionregistration_v1beta1_api.py | 10 +- kubernetes/client/api/apiextensions_api.py | 2 +- kubernetes/client/api/apiextensions_v1_api.py | 6 +- .../client/api/apiextensions_v1beta1_api.py | 6 +- kubernetes/client/api/apiregistration_api.py | 2 +- .../client/api/apiregistration_v1_api.py | 6 +- .../client/api/apiregistration_v1beta1_api.py | 6 +- kubernetes/client/api/apis_api.py | 2 +- kubernetes/client/api/apps_api.py | 2 +- kubernetes/client/api/apps_v1_api.py | 42 +- kubernetes/client/api/apps_v1beta1_api.py | 26 +- kubernetes/client/api/apps_v1beta2_api.py | 42 +- .../client/api/auditregistration_api.py | 2 +- .../api/auditregistration_v1alpha1_api.py | 6 +- kubernetes/client/api/authentication_api.py | 2 +- .../client/api/authentication_v1_api.py | 2 +- .../client/api/authentication_v1beta1_api.py | 2 +- kubernetes/client/api/authorization_api.py | 2 +- kubernetes/client/api/authorization_v1_api.py | 2 +- .../client/api/authorization_v1beta1_api.py | 2 +- kubernetes/client/api/autoscaling_api.py | 2 +- kubernetes/client/api/autoscaling_v1_api.py | 10 +- .../client/api/autoscaling_v2beta1_api.py | 10 +- .../client/api/autoscaling_v2beta2_api.py | 10 +- kubernetes/client/api/batch_api.py | 2 +- kubernetes/client/api/batch_v1_api.py | 10 +- kubernetes/client/api/batch_v1beta1_api.py | 10 +- kubernetes/client/api/batch_v2alpha1_api.py | 10 +- kubernetes/client/api/certificates_api.py | 2 +- .../client/api/certificates_v1beta1_api.py | 6 +- kubernetes/client/api/coordination_api.py | 2 +- kubernetes/client/api/coordination_v1_api.py | 10 +- .../client/api/coordination_v1beta1_api.py | 10 +- kubernetes/client/api/core_api.py | 2 +- kubernetes/client/api/core_v1_api.py | 119 +- kubernetes/client/api/custom_objects_api.py | 14 +- kubernetes/client/api/discovery_api.py | 2 +- ...alpha1_api.py => discovery_v1beta1_api.py} | 74 +- kubernetes/client/api/events_api.py | 2 +- kubernetes/client/api/events_v1beta1_api.py | 10 +- kubernetes/client/api/extensions_api.py | 2 +- .../client/api/extensions_v1beta1_api.py | 46 +- .../client/api/flowcontrol_apiserver_api.py | 142 + .../api/flowcontrol_apiserver_v1alpha1_api.py | 2954 ++++++++ kubernetes/client/api/logs_api.py | 2 +- kubernetes/client/api/networking_api.py | 2 +- kubernetes/client/api/networking_v1_api.py | 10 +- .../client/api/networking_v1beta1_api.py | 10 +- kubernetes/client/api/node_api.py | 2 +- kubernetes/client/api/node_v1alpha1_api.py | 6 +- kubernetes/client/api/node_v1beta1_api.py | 6 +- kubernetes/client/api/policy_api.py | 2 +- kubernetes/client/api/policy_v1beta1_api.py | 14 +- .../client/api/rbac_authorization_api.py | 2 +- .../client/api/rbac_authorization_v1_api.py | 26 +- .../api/rbac_authorization_v1alpha1_api.py | 26 +- .../api/rbac_authorization_v1beta1_api.py | 26 +- kubernetes/client/api/scheduling_api.py | 2 +- kubernetes/client/api/scheduling_v1_api.py | 6 +- .../client/api/scheduling_v1alpha1_api.py | 6 +- .../client/api/scheduling_v1beta1_api.py | 6 +- kubernetes/client/api/settings_api.py | 2 +- .../client/api/settings_v1alpha1_api.py | 10 +- kubernetes/client/api/storage_api.py | 2 +- kubernetes/client/api/storage_v1_api.py | 1152 ++- kubernetes/client/api/storage_v1alpha1_api.py | 6 +- kubernetes/client/api/storage_v1beta1_api.py | 18 +- kubernetes/client/api/version_api.py | 2 +- kubernetes/client/api_client.py | 4 +- kubernetes/client/apis/__init__.py | 13 - kubernetes/client/configuration.py | 6 +- kubernetes/client/exceptions.py | 2 +- kubernetes/client/models/__init__.py | 41 +- ...issionregistration_v1_service_reference.py | 2 +- ...onregistration_v1_webhook_client_config.py | 2 +- ...nregistration_v1beta1_service_reference.py | 2 +- ...istration_v1beta1_webhook_client_config.py | 2 +- .../apiextensions_v1_service_reference.py | 2 +- .../apiextensions_v1_webhook_client_config.py | 2 +- ...apiextensions_v1beta1_service_reference.py | 2 +- ...xtensions_v1beta1_webhook_client_config.py | 2 +- .../apiregistration_v1_service_reference.py | 2 +- ...iregistration_v1beta1_service_reference.py | 2 +- .../client/models/apps_v1beta1_deployment.py | 2 +- .../apps_v1beta1_deployment_condition.py | 2 +- .../models/apps_v1beta1_deployment_list.py | 2 +- .../apps_v1beta1_deployment_rollback.py | 2 +- .../models/apps_v1beta1_deployment_spec.py | 2 +- .../models/apps_v1beta1_deployment_status.py | 2 +- .../apps_v1beta1_deployment_strategy.py | 2 +- .../models/apps_v1beta1_rollback_config.py | 2 +- .../apps_v1beta1_rolling_update_deployment.py | 2 +- .../client/models/apps_v1beta1_scale.py | 2 +- .../client/models/apps_v1beta1_scale_spec.py | 2 +- .../models/apps_v1beta1_scale_status.py | 2 +- .../extensions_v1beta1_allowed_csi_driver.py | 2 +- .../extensions_v1beta1_allowed_flex_volume.py | 2 +- .../extensions_v1beta1_allowed_host_path.py | 2 +- .../models/extensions_v1beta1_deployment.py | 2 +- ...extensions_v1beta1_deployment_condition.py | 2 +- .../extensions_v1beta1_deployment_list.py | 2 +- .../extensions_v1beta1_deployment_rollback.py | 2 +- .../extensions_v1beta1_deployment_spec.py | 2 +- .../extensions_v1beta1_deployment_status.py | 2 +- .../extensions_v1beta1_deployment_strategy.py | 2 +- ...sions_v1beta1_fs_group_strategy_options.py | 2 +- .../extensions_v1beta1_host_port_range.py | 2 +- .../extensions_v1beta1_http_ingress_path.py | 2 +- ...ensions_v1beta1_http_ingress_rule_value.py | 2 +- .../models/extensions_v1beta1_id_range.py | 2 +- .../models/extensions_v1beta1_ingress.py | 2 +- .../extensions_v1beta1_ingress_backend.py | 2 +- .../models/extensions_v1beta1_ingress_list.py | 2 +- .../models/extensions_v1beta1_ingress_rule.py | 2 +- .../models/extensions_v1beta1_ingress_spec.py | 2 +- .../extensions_v1beta1_ingress_status.py | 2 +- .../models/extensions_v1beta1_ingress_tls.py | 2 +- .../extensions_v1beta1_pod_security_policy.py | 2 +- ...nsions_v1beta1_pod_security_policy_list.py | 2 +- ...nsions_v1beta1_pod_security_policy_spec.py | 2 +- .../extensions_v1beta1_rollback_config.py | 2 +- ...sions_v1beta1_rolling_update_deployment.py | 2 +- ...s_v1beta1_run_as_group_strategy_options.py | 2 +- ...ns_v1beta1_run_as_user_strategy_options.py | 2 +- ..._v1beta1_runtime_class_strategy_options.py | 2 +- .../client/models/extensions_v1beta1_scale.py | 2 +- .../models/extensions_v1beta1_scale_spec.py | 2 +- .../models/extensions_v1beta1_scale_status.py | 2 +- ...sions_v1beta1_se_linux_strategy_options.py | 2 +- ...a1_supplemental_groups_strategy_options.py | 2 +- .../models/flowcontrol_v1alpha1_subject.py | 201 + .../networking_v1beta1_http_ingress_path.py | 2 +- ...working_v1beta1_http_ingress_rule_value.py | 2 +- .../models/networking_v1beta1_ingress.py | 2 +- .../networking_v1beta1_ingress_backend.py | 2 +- .../models/networking_v1beta1_ingress_list.py | 2 +- .../models/networking_v1beta1_ingress_rule.py | 2 +- .../models/networking_v1beta1_ingress_spec.py | 2 +- .../networking_v1beta1_ingress_status.py | 2 +- .../models/networking_v1beta1_ingress_tls.py | 2 +- .../policy_v1beta1_allowed_csi_driver.py | 2 +- .../policy_v1beta1_allowed_flex_volume.py | 2 +- .../policy_v1beta1_allowed_host_path.py | 2 +- ...olicy_v1beta1_fs_group_strategy_options.py | 2 +- .../models/policy_v1beta1_host_port_range.py | 2 +- .../client/models/policy_v1beta1_id_range.py | 2 +- .../policy_v1beta1_pod_security_policy.py | 2 +- ...policy_v1beta1_pod_security_policy_list.py | 2 +- ...policy_v1beta1_pod_security_policy_spec.py | 2 +- ...y_v1beta1_run_as_group_strategy_options.py | 2 +- ...cy_v1beta1_run_as_user_strategy_options.py | 2 +- ..._v1beta1_runtime_class_strategy_options.py | 2 +- ...olicy_v1beta1_se_linux_strategy_options.py | 2 +- ...a1_supplemental_groups_strategy_options.py | 2 +- ...a1_subject.py => rbac_v1alpha1_subject.py} | 42 +- kubernetes/client/models/v1_affinity.py | 2 +- .../client/models/v1_aggregation_rule.py | 2 +- kubernetes/client/models/v1_api_group.py | 2 +- kubernetes/client/models/v1_api_group_list.py | 2 +- kubernetes/client/models/v1_api_resource.py | 2 +- .../client/models/v1_api_resource_list.py | 2 +- kubernetes/client/models/v1_api_service.py | 2 +- .../client/models/v1_api_service_condition.py | 2 +- .../client/models/v1_api_service_list.py | 2 +- .../client/models/v1_api_service_spec.py | 2 +- .../client/models/v1_api_service_status.py | 2 +- kubernetes/client/models/v1_api_versions.py | 2 +- .../client/models/v1_attached_volume.py | 2 +- ...1_aws_elastic_block_store_volume_source.py | 2 +- .../models/v1_azure_disk_volume_source.py | 2 +- .../v1_azure_file_persistent_volume_source.py | 2 +- .../models/v1_azure_file_volume_source.py | 2 +- kubernetes/client/models/v1_binding.py | 2 +- .../models/v1_bound_object_reference.py | 2 +- kubernetes/client/models/v1_capabilities.py | 2 +- .../v1_ceph_fs_persistent_volume_source.py | 2 +- .../client/models/v1_ceph_fs_volume_source.py | 2 +- .../v1_cinder_persistent_volume_source.py | 2 +- .../client/models/v1_cinder_volume_source.py | 2 +- .../client/models/v1_client_ip_config.py | 2 +- kubernetes/client/models/v1_cluster_role.py | 2 +- .../client/models/v1_cluster_role_binding.py | 2 +- .../models/v1_cluster_role_binding_list.py | 2 +- .../client/models/v1_cluster_role_list.py | 2 +- .../client/models/v1_component_condition.py | 2 +- .../client/models/v1_component_status.py | 2 +- .../client/models/v1_component_status_list.py | 2 +- kubernetes/client/models/v1_config_map.py | 2 +- .../client/models/v1_config_map_env_source.py | 2 +- .../models/v1_config_map_key_selector.py | 2 +- .../client/models/v1_config_map_list.py | 2 +- .../v1_config_map_node_config_source.py | 2 +- .../client/models/v1_config_map_projection.py | 2 +- .../models/v1_config_map_volume_source.py | 2 +- kubernetes/client/models/v1_container.py | 2 +- .../client/models/v1_container_image.py | 2 +- kubernetes/client/models/v1_container_port.py | 2 +- .../client/models/v1_container_state.py | 2 +- .../models/v1_container_state_running.py | 2 +- .../models/v1_container_state_terminated.py | 2 +- .../models/v1_container_state_waiting.py | 2 +- .../client/models/v1_container_status.py | 2 +- .../client/models/v1_controller_revision.py | 2 +- .../models/v1_controller_revision_list.py | 2 +- .../v1_cross_version_object_reference.py | 2 +- kubernetes/client/models/v1_csi_node.py | 203 + .../client/models/v1_csi_node_driver.py | 206 + kubernetes/client/models/v1_csi_node_list.py | 205 + kubernetes/client/models/v1_csi_node_spec.py | 123 + .../models/v1_csi_persistent_volume_source.py | 2 +- .../client/models/v1_csi_volume_source.py | 2 +- .../v1_custom_resource_column_definition.py | 2 +- .../models/v1_custom_resource_conversion.py | 2 +- .../models/v1_custom_resource_definition.py | 2 +- ...v1_custom_resource_definition_condition.py | 2 +- .../v1_custom_resource_definition_list.py | 2 +- .../v1_custom_resource_definition_names.py | 2 +- .../v1_custom_resource_definition_spec.py | 6 +- .../v1_custom_resource_definition_status.py | 2 +- .../v1_custom_resource_definition_version.py | 2 +- .../v1_custom_resource_subresource_scale.py | 2 +- .../models/v1_custom_resource_subresources.py | 2 +- .../models/v1_custom_resource_validation.py | 2 +- .../client/models/v1_daemon_endpoint.py | 2 +- kubernetes/client/models/v1_daemon_set.py | 2 +- .../client/models/v1_daemon_set_condition.py | 2 +- .../client/models/v1_daemon_set_list.py | 2 +- .../client/models/v1_daemon_set_spec.py | 2 +- .../client/models/v1_daemon_set_status.py | 2 +- .../models/v1_daemon_set_update_strategy.py | 2 +- kubernetes/client/models/v1_delete_options.py | 2 +- kubernetes/client/models/v1_deployment.py | 2 +- .../client/models/v1_deployment_condition.py | 2 +- .../client/models/v1_deployment_list.py | 2 +- .../client/models/v1_deployment_spec.py | 2 +- .../client/models/v1_deployment_status.py | 2 +- .../client/models/v1_deployment_strategy.py | 2 +- .../models/v1_downward_api_projection.py | 2 +- .../models/v1_downward_api_volume_file.py | 2 +- .../models/v1_downward_api_volume_source.py | 2 +- .../models/v1_empty_dir_volume_source.py | 2 +- .../client/models/v1_endpoint_address.py | 2 +- kubernetes/client/models/v1_endpoint_port.py | 2 +- .../client/models/v1_endpoint_subset.py | 2 +- kubernetes/client/models/v1_endpoints.py | 2 +- kubernetes/client/models/v1_endpoints_list.py | 2 +- .../client/models/v1_env_from_source.py | 2 +- kubernetes/client/models/v1_env_var.py | 2 +- kubernetes/client/models/v1_env_var_source.py | 2 +- .../client/models/v1_ephemeral_container.py | 2 +- kubernetes/client/models/v1_event.py | 2 +- kubernetes/client/models/v1_event_list.py | 2 +- kubernetes/client/models/v1_event_series.py | 2 +- kubernetes/client/models/v1_event_source.py | 2 +- kubernetes/client/models/v1_exec_action.py | 2 +- .../models/v1_external_documentation.py | 2 +- .../client/models/v1_fc_volume_source.py | 2 +- .../v1_flex_persistent_volume_source.py | 2 +- .../client/models/v1_flex_volume_source.py | 2 +- .../client/models/v1_flocker_volume_source.py | 2 +- .../v1_gce_persistent_disk_volume_source.py | 2 +- .../models/v1_git_repo_volume_source.py | 2 +- .../v1_glusterfs_persistent_volume_source.py | 2 +- .../models/v1_glusterfs_volume_source.py | 2 +- .../models/v1_group_version_for_discovery.py | 2 +- kubernetes/client/models/v1_handler.py | 2 +- .../models/v1_horizontal_pod_autoscaler.py | 2 +- .../v1_horizontal_pod_autoscaler_list.py | 2 +- .../v1_horizontal_pod_autoscaler_spec.py | 2 +- .../v1_horizontal_pod_autoscaler_status.py | 2 +- kubernetes/client/models/v1_host_alias.py | 2 +- .../models/v1_host_path_volume_source.py | 2 +- .../client/models/v1_http_get_action.py | 2 +- kubernetes/client/models/v1_http_header.py | 2 +- kubernetes/client/models/v1_ip_block.py | 2 +- .../v1_iscsi_persistent_volume_source.py | 2 +- .../client/models/v1_iscsi_volume_source.py | 2 +- kubernetes/client/models/v1_job.py | 2 +- kubernetes/client/models/v1_job_condition.py | 2 +- kubernetes/client/models/v1_job_list.py | 2 +- kubernetes/client/models/v1_job_spec.py | 2 +- kubernetes/client/models/v1_job_status.py | 2 +- .../client/models/v1_json_schema_props.py | 34 +- kubernetes/client/models/v1_key_to_path.py | 2 +- kubernetes/client/models/v1_label_selector.py | 2 +- .../models/v1_label_selector_requirement.py | 2 +- kubernetes/client/models/v1_lease.py | 2 +- kubernetes/client/models/v1_lease_list.py | 2 +- kubernetes/client/models/v1_lease_spec.py | 2 +- kubernetes/client/models/v1_lifecycle.py | 2 +- kubernetes/client/models/v1_limit_range.py | 2 +- .../client/models/v1_limit_range_item.py | 2 +- .../client/models/v1_limit_range_list.py | 2 +- .../client/models/v1_limit_range_spec.py | 2 +- kubernetes/client/models/v1_list_meta.py | 2 +- .../client/models/v1_load_balancer_ingress.py | 2 +- .../client/models/v1_load_balancer_status.py | 2 +- .../models/v1_local_object_reference.py | 2 +- .../models/v1_local_subject_access_review.py | 2 +- .../client/models/v1_local_volume_source.py | 2 +- .../client/models/v1_managed_fields_entry.py | 2 +- .../client/models/v1_mutating_webhook.py | 2 +- .../v1_mutating_webhook_configuration.py | 2 +- .../v1_mutating_webhook_configuration_list.py | 2 +- kubernetes/client/models/v1_namespace.py | 2 +- .../client/models/v1_namespace_condition.py | 2 +- kubernetes/client/models/v1_namespace_list.py | 2 +- kubernetes/client/models/v1_namespace_spec.py | 2 +- .../client/models/v1_namespace_status.py | 2 +- kubernetes/client/models/v1_network_policy.py | 2 +- .../models/v1_network_policy_egress_rule.py | 2 +- .../models/v1_network_policy_ingress_rule.py | 2 +- .../client/models/v1_network_policy_list.py | 2 +- .../client/models/v1_network_policy_peer.py | 2 +- .../client/models/v1_network_policy_port.py | 2 +- .../client/models/v1_network_policy_spec.py | 2 +- .../client/models/v1_nfs_volume_source.py | 2 +- kubernetes/client/models/v1_node.py | 2 +- kubernetes/client/models/v1_node_address.py | 2 +- kubernetes/client/models/v1_node_affinity.py | 2 +- kubernetes/client/models/v1_node_condition.py | 2 +- .../client/models/v1_node_config_source.py | 2 +- .../client/models/v1_node_config_status.py | 2 +- .../client/models/v1_node_daemon_endpoints.py | 2 +- kubernetes/client/models/v1_node_list.py | 2 +- kubernetes/client/models/v1_node_selector.py | 2 +- .../models/v1_node_selector_requirement.py | 2 +- .../client/models/v1_node_selector_term.py | 2 +- kubernetes/client/models/v1_node_spec.py | 2 +- kubernetes/client/models/v1_node_status.py | 2 +- .../client/models/v1_node_system_info.py | 2 +- .../models/v1_non_resource_attributes.py | 2 +- .../client/models/v1_non_resource_rule.py | 2 +- .../client/models/v1_object_field_selector.py | 2 +- kubernetes/client/models/v1_object_meta.py | 6 +- .../client/models/v1_object_reference.py | 2 +- .../client/models/v1_owner_reference.py | 2 +- .../client/models/v1_persistent_volume.py | 2 +- .../models/v1_persistent_volume_claim.py | 2 +- .../v1_persistent_volume_claim_condition.py | 2 +- .../models/v1_persistent_volume_claim_list.py | 2 +- .../models/v1_persistent_volume_claim_spec.py | 2 +- .../v1_persistent_volume_claim_status.py | 2 +- ...1_persistent_volume_claim_volume_source.py | 2 +- .../models/v1_persistent_volume_list.py | 2 +- .../models/v1_persistent_volume_spec.py | 2 +- .../models/v1_persistent_volume_status.py | 2 +- ...v1_photon_persistent_disk_volume_source.py | 2 +- kubernetes/client/models/v1_pod.py | 2 +- kubernetes/client/models/v1_pod_affinity.py | 2 +- .../client/models/v1_pod_affinity_term.py | 2 +- .../client/models/v1_pod_anti_affinity.py | 2 +- kubernetes/client/models/v1_pod_condition.py | 2 +- kubernetes/client/models/v1_pod_dns_config.py | 2 +- .../client/models/v1_pod_dns_config_option.py | 2 +- kubernetes/client/models/v1_pod_ip.py | 2 +- kubernetes/client/models/v1_pod_list.py | 2 +- .../client/models/v1_pod_readiness_gate.py | 2 +- .../client/models/v1_pod_security_context.py | 2 +- kubernetes/client/models/v1_pod_spec.py | 6 +- kubernetes/client/models/v1_pod_status.py | 2 +- kubernetes/client/models/v1_pod_template.py | 2 +- .../client/models/v1_pod_template_list.py | 2 +- .../client/models/v1_pod_template_spec.py | 2 +- kubernetes/client/models/v1_policy_rule.py | 2 +- .../models/v1_portworx_volume_source.py | 2 +- kubernetes/client/models/v1_preconditions.py | 2 +- .../models/v1_preferred_scheduling_term.py | 2 +- kubernetes/client/models/v1_priority_class.py | 2 +- .../client/models/v1_priority_class_list.py | 2 +- kubernetes/client/models/v1_probe.py | 2 +- .../models/v1_projected_volume_source.py | 2 +- .../client/models/v1_quobyte_volume_source.py | 2 +- .../models/v1_rbd_persistent_volume_source.py | 2 +- .../client/models/v1_rbd_volume_source.py | 2 +- kubernetes/client/models/v1_replica_set.py | 2 +- .../client/models/v1_replica_set_condition.py | 2 +- .../client/models/v1_replica_set_list.py | 2 +- .../client/models/v1_replica_set_spec.py | 2 +- .../client/models/v1_replica_set_status.py | 2 +- .../models/v1_replication_controller.py | 2 +- .../v1_replication_controller_condition.py | 2 +- .../models/v1_replication_controller_list.py | 2 +- .../models/v1_replication_controller_spec.py | 2 +- .../v1_replication_controller_status.py | 2 +- .../client/models/v1_resource_attributes.py | 2 +- .../models/v1_resource_field_selector.py | 2 +- kubernetes/client/models/v1_resource_quota.py | 2 +- .../client/models/v1_resource_quota_list.py | 2 +- .../client/models/v1_resource_quota_spec.py | 2 +- .../client/models/v1_resource_quota_status.py | 2 +- .../client/models/v1_resource_requirements.py | 2 +- kubernetes/client/models/v1_resource_rule.py | 2 +- kubernetes/client/models/v1_role.py | 2 +- kubernetes/client/models/v1_role_binding.py | 2 +- .../client/models/v1_role_binding_list.py | 2 +- kubernetes/client/models/v1_role_list.py | 2 +- kubernetes/client/models/v1_role_ref.py | 2 +- .../models/v1_rolling_update_daemon_set.py | 2 +- .../models/v1_rolling_update_deployment.py | 2 +- ...v1_rolling_update_stateful_set_strategy.py | 2 +- .../client/models/v1_rule_with_operations.py | 2 +- kubernetes/client/models/v1_scale.py | 2 +- .../v1_scale_io_persistent_volume_source.py | 2 +- .../models/v1_scale_io_volume_source.py | 2 +- kubernetes/client/models/v1_scale_spec.py | 2 +- kubernetes/client/models/v1_scale_status.py | 2 +- kubernetes/client/models/v1_scope_selector.py | 2 +- ...v1_scoped_resource_selector_requirement.py | 2 +- .../client/models/v1_se_linux_options.py | 2 +- kubernetes/client/models/v1_secret.py | 2 +- .../client/models/v1_secret_env_source.py | 2 +- .../client/models/v1_secret_key_selector.py | 2 +- kubernetes/client/models/v1_secret_list.py | 2 +- .../client/models/v1_secret_projection.py | 2 +- .../client/models/v1_secret_reference.py | 2 +- .../client/models/v1_secret_volume_source.py | 2 +- .../client/models/v1_security_context.py | 2 +- .../models/v1_self_subject_access_review.py | 2 +- .../v1_self_subject_access_review_spec.py | 2 +- .../models/v1_self_subject_rules_review.py | 2 +- .../v1_self_subject_rules_review_spec.py | 2 +- .../v1_server_address_by_client_cidr.py | 2 +- kubernetes/client/models/v1_service.py | 2 +- .../client/models/v1_service_account.py | 2 +- .../client/models/v1_service_account_list.py | 2 +- .../v1_service_account_token_projection.py | 2 +- kubernetes/client/models/v1_service_list.py | 2 +- kubernetes/client/models/v1_service_port.py | 2 +- kubernetes/client/models/v1_service_spec.py | 32 +- kubernetes/client/models/v1_service_status.py | 2 +- .../models/v1_session_affinity_config.py | 2 +- kubernetes/client/models/v1_stateful_set.py | 2 +- .../models/v1_stateful_set_condition.py | 2 +- .../client/models/v1_stateful_set_list.py | 2 +- .../client/models/v1_stateful_set_spec.py | 2 +- .../client/models/v1_stateful_set_status.py | 2 +- .../models/v1_stateful_set_update_strategy.py | 2 +- kubernetes/client/models/v1_status.py | 2 +- kubernetes/client/models/v1_status_cause.py | 2 +- kubernetes/client/models/v1_status_details.py | 2 +- kubernetes/client/models/v1_storage_class.py | 2 +- .../client/models/v1_storage_class_list.py | 2 +- .../v1_storage_os_persistent_volume_source.py | 2 +- .../models/v1_storage_os_volume_source.py | 2 +- kubernetes/client/models/v1_subject.py | 2 +- .../client/models/v1_subject_access_review.py | 2 +- .../models/v1_subject_access_review_spec.py | 2 +- .../models/v1_subject_access_review_status.py | 2 +- .../models/v1_subject_rules_review_status.py | 2 +- kubernetes/client/models/v1_sysctl.py | 2 +- kubernetes/client/models/v1_taint.py | 2 +- .../client/models/v1_tcp_socket_action.py | 2 +- kubernetes/client/models/v1_token_request.py | 2 +- .../client/models/v1_token_request_spec.py | 2 +- .../client/models/v1_token_request_status.py | 2 +- kubernetes/client/models/v1_token_review.py | 2 +- .../client/models/v1_token_review_spec.py | 2 +- .../client/models/v1_token_review_status.py | 2 +- kubernetes/client/models/v1_toleration.py | 2 +- .../v1_topology_selector_label_requirement.py | 2 +- .../models/v1_topology_selector_term.py | 2 +- .../models/v1_topology_spread_constraint.py | 2 +- .../models/v1_typed_local_object_reference.py | 2 +- kubernetes/client/models/v1_user_info.py | 2 +- .../client/models/v1_validating_webhook.py | 2 +- .../v1_validating_webhook_configuration.py | 2 +- ...1_validating_webhook_configuration_list.py | 2 +- kubernetes/client/models/v1_volume.py | 2 +- .../client/models/v1_volume_attachment.py | 2 +- .../models/v1_volume_attachment_list.py | 2 +- .../models/v1_volume_attachment_source.py | 2 +- .../models/v1_volume_attachment_spec.py | 2 +- .../models/v1_volume_attachment_status.py | 2 +- kubernetes/client/models/v1_volume_device.py | 2 +- kubernetes/client/models/v1_volume_error.py | 2 +- kubernetes/client/models/v1_volume_mount.py | 6 +- .../client/models/v1_volume_node_affinity.py | 2 +- .../client/models/v1_volume_node_resources.py | 122 + .../client/models/v1_volume_projection.py | 2 +- .../v1_vsphere_virtual_disk_volume_source.py | 2 +- kubernetes/client/models/v1_watch_event.py | 2 +- .../client/models/v1_webhook_conversion.py | 2 +- .../models/v1_weighted_pod_affinity_term.py | 2 +- .../v1_windows_security_context_options.py | 6 +- .../models/v1alpha1_aggregation_rule.py | 2 +- .../client/models/v1alpha1_audit_sink.py | 2 +- .../client/models/v1alpha1_audit_sink_list.py | 2 +- .../client/models/v1alpha1_audit_sink_spec.py | 2 +- .../client/models/v1alpha1_cluster_role.py | 2 +- .../models/v1alpha1_cluster_role_binding.py | 8 +- .../v1alpha1_cluster_role_binding_list.py | 2 +- .../models/v1alpha1_cluster_role_list.py | 2 +- .../v1alpha1_flow_distinguisher_method.py | 123 + .../client/models/v1alpha1_flow_schema.py | 228 + .../models/v1alpha1_flow_schema_condition.py | 234 + .../models/v1alpha1_flow_schema_list.py | 205 + .../models/v1alpha1_flow_schema_spec.py | 203 + .../models/v1alpha1_flow_schema_status.py | 122 + .../client/models/v1alpha1_group_subject.py | 123 + .../client/models/v1alpha1_limit_response.py | 149 + ...a1_limited_priority_level_configuration.py | 148 + .../v1alpha1_non_resource_policy_rule.py | 152 + kubernetes/client/models/v1alpha1_overhead.py | 2 +- .../client/models/v1alpha1_pod_preset.py | 2 +- .../client/models/v1alpha1_pod_preset_list.py | 2 +- .../client/models/v1alpha1_pod_preset_spec.py | 2 +- kubernetes/client/models/v1alpha1_policy.py | 2 +- .../client/models/v1alpha1_policy_rule.py | 2 +- .../v1alpha1_policy_rules_with_subjects.py | 179 + .../client/models/v1alpha1_priority_class.py | 2 +- .../models/v1alpha1_priority_class_list.py | 2 +- .../v1alpha1_priority_level_configuration.py | 228 + ..._priority_level_configuration_condition.py | 234 + ...lpha1_priority_level_configuration_list.py | 205 + ..._priority_level_configuration_reference.py | 123 + ...lpha1_priority_level_configuration_spec.py | 149 + ...ha1_priority_level_configuration_status.py | 122 + .../models/v1alpha1_queuing_configuration.py | 178 + .../models/v1alpha1_resource_policy_rule.py | 237 + kubernetes/client/models/v1alpha1_role.py | 2 +- .../client/models/v1alpha1_role_binding.py | 8 +- .../models/v1alpha1_role_binding_list.py | 2 +- .../client/models/v1alpha1_role_list.py | 2 +- kubernetes/client/models/v1alpha1_role_ref.py | 2 +- .../client/models/v1alpha1_runtime_class.py | 2 +- .../models/v1alpha1_runtime_class_list.py | 2 +- .../models/v1alpha1_runtime_class_spec.py | 2 +- .../client/models/v1alpha1_scheduling.py | 2 +- .../v1alpha1_service_account_subject.py | 152 + .../models/v1alpha1_service_reference.py | 2 +- .../client/models/v1alpha1_user_subject.py | 123 + .../models/v1alpha1_volume_attachment.py | 2 +- .../models/v1alpha1_volume_attachment_list.py | 2 +- .../v1alpha1_volume_attachment_source.py | 2 +- .../models/v1alpha1_volume_attachment_spec.py | 2 +- .../v1alpha1_volume_attachment_status.py | 2 +- .../client/models/v1alpha1_volume_error.py | 2 +- kubernetes/client/models/v1alpha1_webhook.py | 2 +- .../models/v1alpha1_webhook_client_config.py | 2 +- .../v1alpha1_webhook_throttle_config.py | 2 +- .../client/models/v1beta1_aggregation_rule.py | 2 +- .../client/models/v1beta1_api_service.py | 2 +- .../models/v1beta1_api_service_condition.py | 2 +- .../client/models/v1beta1_api_service_list.py | 2 +- .../client/models/v1beta1_api_service_spec.py | 2 +- .../models/v1beta1_api_service_status.py | 2 +- .../v1beta1_certificate_signing_request.py | 2 +- ...1_certificate_signing_request_condition.py | 2 +- ...1beta1_certificate_signing_request_list.py | 2 +- ...1beta1_certificate_signing_request_spec.py | 2 +- ...eta1_certificate_signing_request_status.py | 2 +- .../client/models/v1beta1_cluster_role.py | 2 +- .../models/v1beta1_cluster_role_binding.py | 2 +- .../v1beta1_cluster_role_binding_list.py | 2 +- .../models/v1beta1_cluster_role_list.py | 2 +- .../models/v1beta1_controller_revision.py | 2 +- .../v1beta1_controller_revision_list.py | 2 +- kubernetes/client/models/v1beta1_cron_job.py | 2 +- .../client/models/v1beta1_cron_job_list.py | 2 +- .../client/models/v1beta1_cron_job_spec.py | 2 +- .../client/models/v1beta1_cron_job_status.py | 2 +- .../client/models/v1beta1_csi_driver.py | 2 +- .../client/models/v1beta1_csi_driver_list.py | 2 +- .../client/models/v1beta1_csi_driver_spec.py | 2 +- kubernetes/client/models/v1beta1_csi_node.py | 2 +- .../client/models/v1beta1_csi_node_driver.py | 2 +- .../client/models/v1beta1_csi_node_list.py | 2 +- .../client/models/v1beta1_csi_node_spec.py | 2 +- ...beta1_custom_resource_column_definition.py | 2 +- .../v1beta1_custom_resource_conversion.py | 2 +- .../v1beta1_custom_resource_definition.py | 2 +- ...a1_custom_resource_definition_condition.py | 2 +- ...v1beta1_custom_resource_definition_list.py | 2 +- ...1beta1_custom_resource_definition_names.py | 2 +- ...v1beta1_custom_resource_definition_spec.py | 2 +- ...beta1_custom_resource_definition_status.py | 2 +- ...eta1_custom_resource_definition_version.py | 2 +- ...beta1_custom_resource_subresource_scale.py | 2 +- .../v1beta1_custom_resource_subresources.py | 2 +- .../v1beta1_custom_resource_validation.py | 2 +- .../client/models/v1beta1_daemon_set.py | 2 +- .../models/v1beta1_daemon_set_condition.py | 2 +- .../client/models/v1beta1_daemon_set_list.py | 2 +- .../client/models/v1beta1_daemon_set_spec.py | 2 +- .../models/v1beta1_daemon_set_status.py | 2 +- .../v1beta1_daemon_set_update_strategy.py | 2 +- ...alpha1_endpoint.py => v1beta1_endpoint.py} | 60 +- ...ions.py => v1beta1_endpoint_conditions.py} | 18 +- ...point_port.py => v1beta1_endpoint_port.py} | 68 +- ...int_slice.py => v1beta1_endpoint_slice.py} | 79 +- ...list.py => v1beta1_endpoint_slice_list.py} | 48 +- kubernetes/client/models/v1beta1_event.py | 2 +- .../client/models/v1beta1_event_list.py | 2 +- .../client/models/v1beta1_event_series.py | 2 +- kubernetes/client/models/v1beta1_eviction.py | 2 +- .../models/v1beta1_external_documentation.py | 2 +- kubernetes/client/models/v1beta1_ip_block.py | 2 +- .../models/v1beta1_job_template_spec.py | 2 +- .../models/v1beta1_json_schema_props.py | 34 +- kubernetes/client/models/v1beta1_lease.py | 2 +- .../client/models/v1beta1_lease_list.py | 2 +- .../client/models/v1beta1_lease_spec.py | 2 +- .../v1beta1_local_subject_access_review.py | 2 +- .../client/models/v1beta1_mutating_webhook.py | 6 +- .../v1beta1_mutating_webhook_configuration.py | 2 +- ...ta1_mutating_webhook_configuration_list.py | 2 +- .../client/models/v1beta1_network_policy.py | 2 +- .../v1beta1_network_policy_egress_rule.py | 2 +- .../v1beta1_network_policy_ingress_rule.py | 2 +- .../models/v1beta1_network_policy_list.py | 2 +- .../models/v1beta1_network_policy_peer.py | 2 +- .../models/v1beta1_network_policy_port.py | 2 +- .../models/v1beta1_network_policy_spec.py | 2 +- .../models/v1beta1_non_resource_attributes.py | 2 +- .../models/v1beta1_non_resource_rule.py | 2 +- kubernetes/client/models/v1beta1_overhead.py | 2 +- .../models/v1beta1_pod_disruption_budget.py | 2 +- .../v1beta1_pod_disruption_budget_list.py | 2 +- .../v1beta1_pod_disruption_budget_spec.py | 2 +- .../v1beta1_pod_disruption_budget_status.py | 6 +- .../client/models/v1beta1_policy_rule.py | 2 +- .../client/models/v1beta1_priority_class.py | 2 +- .../models/v1beta1_priority_class_list.py | 2 +- .../client/models/v1beta1_replica_set.py | 2 +- .../models/v1beta1_replica_set_condition.py | 2 +- .../client/models/v1beta1_replica_set_list.py | 2 +- .../client/models/v1beta1_replica_set_spec.py | 2 +- .../models/v1beta1_replica_set_status.py | 2 +- .../models/v1beta1_resource_attributes.py | 2 +- .../client/models/v1beta1_resource_rule.py | 2 +- kubernetes/client/models/v1beta1_role.py | 2 +- .../client/models/v1beta1_role_binding.py | 2 +- .../models/v1beta1_role_binding_list.py | 2 +- kubernetes/client/models/v1beta1_role_list.py | 2 +- kubernetes/client/models/v1beta1_role_ref.py | 2 +- .../v1beta1_rolling_update_daemon_set.py | 2 +- ...a1_rolling_update_stateful_set_strategy.py | 2 +- .../models/v1beta1_rule_with_operations.py | 2 +- .../client/models/v1beta1_runtime_class.py | 2 +- .../models/v1beta1_runtime_class_list.py | 2 +- .../client/models/v1beta1_scheduling.py | 2 +- .../v1beta1_self_subject_access_review.py | 2 +- ...v1beta1_self_subject_access_review_spec.py | 2 +- .../v1beta1_self_subject_rules_review.py | 2 +- .../v1beta1_self_subject_rules_review_spec.py | 2 +- .../client/models/v1beta1_stateful_set.py | 2 +- .../models/v1beta1_stateful_set_condition.py | 2 +- .../models/v1beta1_stateful_set_list.py | 2 +- .../models/v1beta1_stateful_set_spec.py | 2 +- .../models/v1beta1_stateful_set_status.py | 2 +- .../v1beta1_stateful_set_update_strategy.py | 2 +- .../client/models/v1beta1_storage_class.py | 2 +- .../models/v1beta1_storage_class_list.py | 2 +- kubernetes/client/models/v1beta1_subject.py | 2 +- .../models/v1beta1_subject_access_review.py | 2 +- .../v1beta1_subject_access_review_spec.py | 2 +- .../v1beta1_subject_access_review_status.py | 2 +- .../v1beta1_subject_rules_review_status.py | 2 +- .../client/models/v1beta1_token_review.py | 2 +- .../models/v1beta1_token_review_spec.py | 2 +- .../models/v1beta1_token_review_status.py | 2 +- kubernetes/client/models/v1beta1_user_info.py | 2 +- .../models/v1beta1_validating_webhook.py | 6 +- ...1beta1_validating_webhook_configuration.py | 2 +- ...1_validating_webhook_configuration_list.py | 2 +- .../models/v1beta1_volume_attachment.py | 2 +- .../models/v1beta1_volume_attachment_list.py | 2 +- .../v1beta1_volume_attachment_source.py | 2 +- .../models/v1beta1_volume_attachment_spec.py | 2 +- .../v1beta1_volume_attachment_status.py | 2 +- .../client/models/v1beta1_volume_error.py | 2 +- .../models/v1beta1_volume_node_resources.py | 2 +- .../models/v1beta2_controller_revision.py | 2 +- .../v1beta2_controller_revision_list.py | 2 +- .../client/models/v1beta2_daemon_set.py | 2 +- .../models/v1beta2_daemon_set_condition.py | 2 +- .../client/models/v1beta2_daemon_set_list.py | 2 +- .../client/models/v1beta2_daemon_set_spec.py | 2 +- .../models/v1beta2_daemon_set_status.py | 2 +- .../v1beta2_daemon_set_update_strategy.py | 2 +- .../client/models/v1beta2_deployment.py | 2 +- .../models/v1beta2_deployment_condition.py | 2 +- .../client/models/v1beta2_deployment_list.py | 2 +- .../client/models/v1beta2_deployment_spec.py | 2 +- .../models/v1beta2_deployment_status.py | 2 +- .../models/v1beta2_deployment_strategy.py | 2 +- .../client/models/v1beta2_replica_set.py | 2 +- .../models/v1beta2_replica_set_condition.py | 2 +- .../client/models/v1beta2_replica_set_list.py | 2 +- .../client/models/v1beta2_replica_set_spec.py | 2 +- .../models/v1beta2_replica_set_status.py | 2 +- .../v1beta2_rolling_update_daemon_set.py | 2 +- .../v1beta2_rolling_update_deployment.py | 2 +- ...a2_rolling_update_stateful_set_strategy.py | 2 +- kubernetes/client/models/v1beta2_scale.py | 2 +- .../client/models/v1beta2_scale_spec.py | 2 +- .../client/models/v1beta2_scale_status.py | 2 +- .../client/models/v1beta2_stateful_set.py | 2 +- .../models/v1beta2_stateful_set_condition.py | 2 +- .../models/v1beta2_stateful_set_list.py | 2 +- .../models/v1beta2_stateful_set_spec.py | 2 +- .../models/v1beta2_stateful_set_status.py | 2 +- .../v1beta2_stateful_set_update_strategy.py | 2 +- kubernetes/client/models/v2alpha1_cron_job.py | 2 +- .../client/models/v2alpha1_cron_job_list.py | 2 +- .../client/models/v2alpha1_cron_job_spec.py | 2 +- .../client/models/v2alpha1_cron_job_status.py | 2 +- .../models/v2alpha1_job_template_spec.py | 2 +- .../v2beta1_cross_version_object_reference.py | 2 +- .../models/v2beta1_external_metric_source.py | 2 +- .../models/v2beta1_external_metric_status.py | 2 +- .../v2beta1_horizontal_pod_autoscaler.py | 2 +- ...ta1_horizontal_pod_autoscaler_condition.py | 2 +- .../v2beta1_horizontal_pod_autoscaler_list.py | 2 +- .../v2beta1_horizontal_pod_autoscaler_spec.py | 2 +- ...2beta1_horizontal_pod_autoscaler_status.py | 2 +- .../client/models/v2beta1_metric_spec.py | 2 +- .../client/models/v2beta1_metric_status.py | 2 +- .../models/v2beta1_object_metric_source.py | 2 +- .../models/v2beta1_object_metric_status.py | 2 +- .../models/v2beta1_pods_metric_source.py | 2 +- .../models/v2beta1_pods_metric_status.py | 2 +- .../models/v2beta1_resource_metric_source.py | 2 +- .../models/v2beta1_resource_metric_status.py | 2 +- .../v2beta2_cross_version_object_reference.py | 2 +- .../models/v2beta2_external_metric_source.py | 2 +- .../models/v2beta2_external_metric_status.py | 2 +- .../v2beta2_horizontal_pod_autoscaler.py | 2 +- ...ta2_horizontal_pod_autoscaler_condition.py | 2 +- .../v2beta2_horizontal_pod_autoscaler_list.py | 2 +- .../v2beta2_horizontal_pod_autoscaler_spec.py | 2 +- ...2beta2_horizontal_pod_autoscaler_status.py | 2 +- .../models/v2beta2_metric_identifier.py | 2 +- .../client/models/v2beta2_metric_spec.py | 2 +- .../client/models/v2beta2_metric_status.py | 2 +- .../client/models/v2beta2_metric_target.py | 2 +- .../models/v2beta2_metric_value_status.py | 2 +- .../models/v2beta2_object_metric_source.py | 2 +- .../models/v2beta2_object_metric_status.py | 2 +- .../models/v2beta2_pods_metric_source.py | 2 +- .../models/v2beta2_pods_metric_status.py | 2 +- .../models/v2beta2_resource_metric_source.py | 2 +- .../models/v2beta2_resource_metric_status.py | 2 +- kubernetes/client/models/version_info.py | 2 +- kubernetes/client/rest.py | 2 +- kubernetes/docs/AdmissionregistrationV1Api.md | 8 +- .../docs/AdmissionregistrationV1beta1Api.md | 8 +- kubernetes/docs/ApiextensionsV1Api.md | 4 +- kubernetes/docs/ApiextensionsV1beta1Api.md | 4 +- kubernetes/docs/ApiregistrationV1Api.md | 4 +- kubernetes/docs/ApiregistrationV1beta1Api.md | 4 +- kubernetes/docs/AppsV1Api.md | 40 +- kubernetes/docs/AppsV1beta1Api.md | 24 +- kubernetes/docs/AppsV1beta2Api.md | 40 +- .../docs/AuditregistrationV1alpha1Api.md | 4 +- kubernetes/docs/AutoscalingV1Api.md | 8 +- kubernetes/docs/AutoscalingV2beta1Api.md | 8 +- kubernetes/docs/AutoscalingV2beta2Api.md | 8 +- kubernetes/docs/BatchV1Api.md | 8 +- kubernetes/docs/BatchV1beta1Api.md | 8 +- kubernetes/docs/BatchV2alpha1Api.md | 8 +- kubernetes/docs/CertificatesV1beta1Api.md | 4 +- kubernetes/docs/CoordinationV1Api.md | 8 +- kubernetes/docs/CoordinationV1beta1Api.md | 8 +- kubernetes/docs/CoreV1Api.md | 118 +- ...yV1alpha1Api.md => DiscoveryV1beta1Api.md} | 96 +- kubernetes/docs/EventsV1beta1Api.md | 8 +- kubernetes/docs/ExtensionsV1beta1Api.md | 44 +- kubernetes/docs/FlowcontrolApiserverApi.md | 70 + .../docs/FlowcontrolApiserverV1alpha1Api.md | 1600 ++++ kubernetes/docs/FlowcontrolV1alpha1Subject.md | 14 + kubernetes/docs/NetworkingV1Api.md | 8 +- kubernetes/docs/NetworkingV1beta1Api.md | 8 +- kubernetes/docs/NodeV1alpha1Api.md | 4 +- kubernetes/docs/NodeV1beta1Api.md | 4 +- kubernetes/docs/PolicyV1beta1Api.md | 12 +- kubernetes/docs/RbacAuthorizationV1Api.md | 24 +- .../docs/RbacAuthorizationV1alpha1Api.md | 24 +- .../docs/RbacAuthorizationV1beta1Api.md | 24 +- ...lpha1Subject.md => RbacV1alpha1Subject.md} | 2 +- kubernetes/docs/SchedulingV1Api.md | 4 +- kubernetes/docs/SchedulingV1alpha1Api.md | 4 +- kubernetes/docs/SchedulingV1beta1Api.md | 4 +- kubernetes/docs/SettingsV1alpha1Api.md | 8 +- kubernetes/docs/StorageV1Api.md | 554 +- kubernetes/docs/StorageV1alpha1Api.md | 4 +- kubernetes/docs/StorageV1beta1Api.md | 16 +- kubernetes/docs/V1CSINode.md | 14 + kubernetes/docs/V1CSINodeDriver.md | 14 + kubernetes/docs/V1CSINodeList.md | 14 + kubernetes/docs/V1CSINodeSpec.md | 11 + .../docs/V1CustomResourceDefinitionSpec.md | 2 +- kubernetes/docs/V1JSONSchemaProps.md | 3 +- kubernetes/docs/V1ObjectMeta.md | 2 +- kubernetes/docs/V1PodSpec.md | 2 +- kubernetes/docs/V1ServiceSpec.md | 1 + kubernetes/docs/V1VolumeMount.md | 2 +- kubernetes/docs/V1VolumeNodeResources.md | 11 + .../docs/V1WindowsSecurityContextOptions.md | 2 +- kubernetes/docs/V1alpha1ClusterRole.md | 2 +- kubernetes/docs/V1alpha1ClusterRoleBinding.md | 4 +- .../docs/V1alpha1ClusterRoleBindingList.md | 2 +- kubernetes/docs/V1alpha1ClusterRoleList.md | 2 +- .../docs/V1alpha1FlowDistinguisherMethod.md | 11 + kubernetes/docs/V1alpha1FlowSchema.md | 15 + .../docs/V1alpha1FlowSchemaCondition.md | 15 + kubernetes/docs/V1alpha1FlowSchemaList.md | 14 + kubernetes/docs/V1alpha1FlowSchemaSpec.md | 14 + kubernetes/docs/V1alpha1FlowSchemaStatus.md | 11 + kubernetes/docs/V1alpha1GroupSubject.md | 11 + kubernetes/docs/V1alpha1LimitResponse.md | 12 + ...alpha1LimitedPriorityLevelConfiguration.md | 12 + .../docs/V1alpha1NonResourcePolicyRule.md | 12 + .../docs/V1alpha1PolicyRulesWithSubjects.md | 13 + .../V1alpha1PriorityLevelConfiguration.md | 15 + ...pha1PriorityLevelConfigurationCondition.md | 15 + .../V1alpha1PriorityLevelConfigurationList.md | 14 + ...pha1PriorityLevelConfigurationReference.md | 11 + .../V1alpha1PriorityLevelConfigurationSpec.md | 12 + ...1alpha1PriorityLevelConfigurationStatus.md | 11 + .../docs/V1alpha1QueuingConfiguration.md | 13 + kubernetes/docs/V1alpha1ResourcePolicyRule.md | 15 + kubernetes/docs/V1alpha1Role.md | 2 +- kubernetes/docs/V1alpha1RoleBinding.md | 4 +- kubernetes/docs/V1alpha1RoleBindingList.md | 2 +- kubernetes/docs/V1alpha1RoleList.md | 2 +- .../docs/V1alpha1ServiceAccountSubject.md | 12 + kubernetes/docs/V1alpha1UserSubject.md | 11 + kubernetes/docs/V1beta1CSINode.md | 2 +- kubernetes/docs/V1beta1ClusterRole.md | 2 +- kubernetes/docs/V1beta1ClusterRoleBinding.md | 2 +- .../docs/V1beta1ClusterRoleBindingList.md | 2 +- kubernetes/docs/V1beta1ClusterRoleList.md | 2 +- ...V1alpha1Endpoint.md => V1beta1Endpoint.md} | 6 +- ...itions.md => V1beta1EndpointConditions.md} | 2 +- ...EndpointPort.md => V1beta1EndpointPort.md} | 5 +- ...dpointSlice.md => V1beta1EndpointSlice.md} | 8 +- ...iceList.md => V1beta1EndpointSliceList.md} | 4 +- kubernetes/docs/V1beta1JSONSchemaProps.md | 3 +- kubernetes/docs/V1beta1MutatingWebhook.md | 2 +- .../docs/V1beta1PodDisruptionBudgetStatus.md | 2 +- kubernetes/docs/V1beta1Role.md | 2 +- kubernetes/docs/V1beta1RoleBinding.md | 2 +- kubernetes/docs/V1beta1RoleBindingList.md | 2 +- kubernetes/docs/V1beta1RoleList.md | 2 +- kubernetes/docs/V1beta1ValidatingWebhook.md | 2 +- kubernetes/swagger.json.unprocessed | 5153 +++++++++++-- kubernetes/test/__init__.py | 0 .../test/test_admissionregistration_api.py | 39 + .../test/test_admissionregistration_v1_api.py | 123 + ...issionregistration_v1_service_reference.py | 57 + ...onregistration_v1_webhook_client_config.py | 58 + .../test_admissionregistration_v1beta1_api.py | 123 + ...nregistration_v1beta1_service_reference.py | 57 + ...istration_v1beta1_webhook_client_config.py | 58 + kubernetes/test/test_api_client.py | 25 - kubernetes/test/test_apiextensions_api.py | 39 + kubernetes/test/test_apiextensions_v1_api.py | 99 + ...test_apiextensions_v1_service_reference.py | 57 + ..._apiextensions_v1_webhook_client_config.py | 58 + .../test/test_apiextensions_v1beta1_api.py | 99 + ...apiextensions_v1beta1_service_reference.py | 57 + ...xtensions_v1beta1_webhook_client_config.py | 58 + kubernetes/test/test_apiregistration_api.py | 39 + .../test/test_apiregistration_v1_api.py | 99 + ...st_apiregistration_v1_service_reference.py | 54 + .../test/test_apiregistration_v1beta1_api.py | 99 + ...iregistration_v1beta1_service_reference.py | 54 + kubernetes/test/test_apis_api.py | 39 + kubernetes/test/test_apps_api.py | 39 + kubernetes/test/test_apps_v1_api.py | 405 + kubernetes/test/test_apps_v1beta1_api.py | 261 + .../test/test_apps_v1beta1_deployment.py | 174 + .../test_apps_v1beta1_deployment_condition.py | 59 + .../test/test_apps_v1beta1_deployment_list.py | 232 + .../test_apps_v1beta1_deployment_rollback.py | 62 + .../test/test_apps_v1beta1_deployment_spec.py | 1043 +++ .../test_apps_v1beta1_deployment_status.py | 67 + .../test_apps_v1beta1_deployment_strategy.py | 55 + .../test/test_apps_v1beta1_rollback_config.py | 52 + ..._apps_v1beta1_rolling_update_deployment.py | 53 + kubernetes/test/test_apps_v1beta1_scale.py | 100 + .../test/test_apps_v1beta1_scale_spec.py | 52 + .../test/test_apps_v1beta1_scale_status.py | 57 + kubernetes/test/test_apps_v1beta2_api.py | 405 + kubernetes/test/test_auditregistration_api.py | 39 + .../test_auditregistration_v1alpha1_api.py | 81 + kubernetes/test/test_authentication_api.py | 39 + kubernetes/test/test_authentication_v1_api.py | 45 + .../test/test_authentication_v1beta1_api.py | 45 + kubernetes/test/test_authorization_api.py | 39 + kubernetes/test/test_authorization_v1_api.py | 63 + .../test/test_authorization_v1beta1_api.py | 63 + kubernetes/test/test_autoscaling_api.py | 39 + kubernetes/test/test_autoscaling_v1_api.py | 105 + .../test/test_autoscaling_v2beta1_api.py | 105 + .../test/test_autoscaling_v2beta2_api.py | 105 + kubernetes/test/test_batch_api.py | 39 + kubernetes/test/test_batch_v1_api.py | 105 + kubernetes/test/test_batch_v1beta1_api.py | 105 + kubernetes/test/test_batch_v2alpha1_api.py | 105 + kubernetes/test/test_certificates_api.py | 39 + .../test/test_certificates_v1beta1_api.py | 105 + kubernetes/test/test_coordination_api.py | 39 + kubernetes/test/test_coordination_v1_api.py | 87 + .../test/test_coordination_v1beta1_api.py | 87 + kubernetes/test/test_core_api.py | 39 + kubernetes/test/test_core_v1_api.py | 1227 +++ kubernetes/test/test_custom_objects_api.py | 189 + kubernetes/test/test_discovery_api.py | 39 + kubernetes/test/test_discovery_v1beta1_api.py | 87 + kubernetes/test/test_events_api.py | 39 + kubernetes/test/test_events_v1beta1_api.py | 87 + kubernetes/test/test_extensions_api.py | 39 + ...t_extensions_v1beta1_allowed_csi_driver.py | 53 + ..._extensions_v1beta1_allowed_flex_volume.py | 53 + ...st_extensions_v1beta1_allowed_host_path.py | 53 + .../test/test_extensions_v1beta1_api.py | 453 ++ .../test_extensions_v1beta1_deployment.py | 607 ++ ...extensions_v1beta1_deployment_condition.py | 59 + ...test_extensions_v1beta1_deployment_list.py | 232 + ..._extensions_v1beta1_deployment_rollback.py | 62 + ...test_extensions_v1beta1_deployment_spec.py | 1043 +++ ...st_extensions_v1beta1_deployment_status.py | 67 + ..._extensions_v1beta1_deployment_strategy.py | 55 + ...sions_v1beta1_fs_group_strategy_options.py | 57 + ...test_extensions_v1beta1_host_port_range.py | 55 + ...st_extensions_v1beta1_http_ingress_path.py | 58 + ...ensions_v1beta1_http_ingress_rule_value.py | 65 + .../test/test_extensions_v1beta1_id_range.py | 55 + .../test/test_extensions_v1beta1_ingress.py | 122 + ...test_extensions_v1beta1_ingress_backend.py | 55 + .../test_extensions_v1beta1_ingress_list.py | 206 + .../test_extensions_v1beta1_ingress_rule.py | 60 + .../test_extensions_v1beta1_ingress_spec.py | 73 + .../test_extensions_v1beta1_ingress_status.py | 57 + .../test_extensions_v1beta1_ingress_tls.py | 55 + ..._extensions_v1beta1_pod_security_policy.py | 164 + ...nsions_v1beta1_pod_security_policy_list.py | 290 + ...nsions_v1beta1_pod_security_policy_spec.py | 165 + ...test_extensions_v1beta1_rollback_config.py | 52 + ...sions_v1beta1_rolling_update_deployment.py | 53 + ...s_v1beta1_run_as_group_strategy_options.py | 58 + ...ns_v1beta1_run_as_user_strategy_options.py | 58 + ..._v1beta1_runtime_class_strategy_options.py | 58 + .../test/test_extensions_v1beta1_scale.py | 100 + .../test_extensions_v1beta1_scale_spec.py | 52 + .../test_extensions_v1beta1_scale_status.py | 57 + ...sions_v1beta1_se_linux_strategy_options.py | 58 + ...a1_supplemental_groups_strategy_options.py | 57 + .../test/test_flowcontrol_apiserver_api.py | 39 + ...test_flowcontrol_apiserver_v1alpha1_api.py | 159 + .../test/test_flowcontrol_v1alpha1_subject.py | 60 + kubernetes/test/test_logs_api.py | 45 + kubernetes/test/test_networking_api.py | 39 + kubernetes/test/test_networking_v1_api.py | 87 + .../test/test_networking_v1beta1_api.py | 105 + ...st_networking_v1beta1_http_ingress_path.py | 58 + ...working_v1beta1_http_ingress_rule_value.py | 65 + .../test/test_networking_v1beta1_ingress.py | 122 + ...test_networking_v1beta1_ingress_backend.py | 55 + .../test_networking_v1beta1_ingress_list.py | 206 + .../test_networking_v1beta1_ingress_rule.py | 60 + .../test_networking_v1beta1_ingress_spec.py | 73 + .../test_networking_v1beta1_ingress_status.py | 57 + .../test_networking_v1beta1_ingress_tls.py | 55 + kubernetes/test/test_node_api.py | 39 + kubernetes/test/test_node_v1alpha1_api.py | 81 + kubernetes/test/test_node_v1beta1_api.py | 81 + kubernetes/test/test_policy_api.py | 39 + .../test_policy_v1beta1_allowed_csi_driver.py | 53 + ...test_policy_v1beta1_allowed_flex_volume.py | 53 + .../test_policy_v1beta1_allowed_host_path.py | 53 + kubernetes/test/test_policy_v1beta1_api.py | 147 + ...olicy_v1beta1_fs_group_strategy_options.py | 57 + .../test_policy_v1beta1_host_port_range.py | 55 + .../test/test_policy_v1beta1_id_range.py | 55 + ...test_policy_v1beta1_pod_security_policy.py | 164 + ...policy_v1beta1_pod_security_policy_list.py | 290 + ...policy_v1beta1_pod_security_policy_spec.py | 165 + ...y_v1beta1_run_as_group_strategy_options.py | 58 + ...cy_v1beta1_run_as_user_strategy_options.py | 58 + ..._v1beta1_runtime_class_strategy_options.py | 58 + ...olicy_v1beta1_se_linux_strategy_options.py | 58 + ...a1_supplemental_groups_strategy_options.py | 57 + .../test/test_rbac_authorization_api.py | 39 + .../test/test_rbac_authorization_v1_api.py | 219 + .../test_rbac_authorization_v1alpha1_api.py | 219 + .../test_rbac_authorization_v1beta1_api.py | 219 + kubernetes/test/test_rbac_v1alpha1_subject.py | 57 + kubernetes/test/test_scheduling_api.py | 39 + kubernetes/test/test_scheduling_v1_api.py | 81 + .../test/test_scheduling_v1alpha1_api.py | 81 + .../test/test_scheduling_v1beta1_api.py | 81 + kubernetes/test/test_settings_api.py | 39 + kubernetes/test/test_settings_v1alpha1_api.py | 87 + kubernetes/test/test_storage_api.py | 39 + kubernetes/test/test_storage_v1_api.py | 183 + kubernetes/test/test_storage_v1alpha1_api.py | 81 + kubernetes/test/test_storage_v1beta1_api.py | 207 + kubernetes/test/test_v1_affinity.py | 126 + kubernetes/test/test_v1_aggregation_rule.py | 65 + kubernetes/test/test_v1_api_group.py | 73 + kubernetes/test/test_v1_api_group_list.py | 91 + kubernetes/test/test_v1_api_resource.py | 74 + kubernetes/test/test_v1_api_resource_list.py | 93 + kubernetes/test/test_v1_api_service.py | 112 + .../test/test_v1_api_service_condition.py | 58 + kubernetes/test/test_v1_api_service_list.py | 186 + kubernetes/test/test_v1_api_service_spec.py | 67 + kubernetes/test/test_v1_api_service_status.py | 59 + kubernetes/test/test_v1_api_versions.py | 69 + kubernetes/test/test_v1_attached_volume.py | 55 + ...1_aws_elastic_block_store_volume_source.py | 56 + .../test/test_v1_azure_disk_volume_source.py | 59 + ..._v1_azure_file_persistent_volume_source.py | 57 + .../test/test_v1_azure_file_volume_source.py | 56 + kubernetes/test/test_v1_binding.py | 108 + .../test/test_v1_bound_object_reference.py | 55 + kubernetes/test/test_v1_capabilities.py | 57 + ...est_v1_ceph_fs_persistent_volume_source.py | 64 + .../test/test_v1_ceph_fs_volume_source.py | 63 + ...test_v1_cinder_persistent_volume_source.py | 58 + .../test/test_v1_cinder_volume_source.py | 57 + kubernetes/test/test_v1_client_ip_config.py | 52 + kubernetes/test/test_v1_cluster_role.py | 125 + .../test/test_v1_cluster_role_binding.py | 107 + .../test/test_v1_cluster_role_binding_list.py | 168 + kubernetes/test/test_v1_cluster_role_list.py | 212 + .../test/test_v1_component_condition.py | 57 + kubernetes/test/test_v1_component_status.py | 99 + .../test/test_v1_component_status_list.py | 160 + kubernetes/test/test_v1_config_map.py | 98 + .../test/test_v1_config_map_env_source.py | 53 + .../test/test_v1_config_map_key_selector.py | 55 + kubernetes/test/test_v1_config_map_list.py | 158 + .../test_v1_config_map_node_config_source.py | 59 + .../test/test_v1_config_map_projection.py | 59 + .../test/test_v1_config_map_volume_source.py | 60 + kubernetes/test/test_v1_container.py | 240 + kubernetes/test/test_v1_container_image.py | 58 + kubernetes/test/test_v1_container_port.py | 57 + kubernetes/test/test_v1_container_state.py | 64 + .../test/test_v1_container_state_running.py | 52 + .../test_v1_container_state_terminated.py | 59 + .../test/test_v1_container_state_waiting.py | 53 + kubernetes/test/test_v1_container_status.py | 91 + .../test/test_v1_controller_revision.py | 95 + .../test/test_v1_controller_revision_list.py | 150 + .../test_v1_cross_version_object_reference.py | 56 + kubernetes/test/test_v1_csi_node.py | 114 + kubernetes/test/test_v1_csi_node_driver.py | 60 + kubernetes/test/test_v1_csi_node_list.py | 168 + kubernetes/test/test_v1_csi_node_spec.py | 71 + .../test_v1_csi_persistent_volume_source.py | 72 + kubernetes/test/test_v1_csi_volume_source.py | 60 + ...st_v1_custom_resource_column_definition.py | 60 + .../test_v1_custom_resource_conversion.py | 65 + .../test_v1_custom_resource_definition.py | 2337 ++++++ ...v1_custom_resource_definition_condition.py | 58 + ...test_v1_custom_resource_definition_list.py | 2402 ++++++ ...est_v1_custom_resource_definition_names.py | 63 + ...test_v1_custom_resource_definition_spec.py | 2256 ++++++ ...st_v1_custom_resource_definition_status.py | 87 + ...t_v1_custom_resource_definition_version.py | 1133 +++ ...st_v1_custom_resource_subresource_scale.py | 56 + .../test_v1_custom_resource_subresources.py | 56 + .../test_v1_custom_resource_validation.py | 1111 +++ kubernetes/test/test_v1_daemon_endpoint.py | 53 + kubernetes/test/test_v1_daemon_set.py | 602 ++ .../test/test_v1_daemon_set_condition.py | 58 + kubernetes/test/test_v1_daemon_set_list.py | 222 + kubernetes/test/test_v1_daemon_set_spec.py | 1049 +++ kubernetes/test/test_v1_daemon_set_status.py | 72 + .../test_v1_daemon_set_update_strategy.py | 54 + kubernetes/test/test_v1_delete_options.py | 62 + kubernetes/test/test_v1_deployment.py | 605 ++ .../test/test_v1_deployment_condition.py | 59 + kubernetes/test/test_v1_deployment_list.py | 228 + kubernetes/test/test_v1_deployment_spec.py | 1053 +++ kubernetes/test/test_v1_deployment_status.py | 67 + .../test/test_v1_deployment_strategy.py | 55 + .../test/test_v1_downward_api_projection.py | 63 + .../test/test_v1_downward_api_volume_file.py | 61 + .../test_v1_downward_api_volume_source.py | 64 + .../test/test_v1_empty_dir_volume_source.py | 53 + kubernetes/test/test_v1_endpoint_address.py | 63 + kubernetes/test/test_v1_endpoint_port.py | 55 + kubernetes/test/test_v1_endpoint_subset.py | 85 + kubernetes/test/test_v1_endpoints.py | 121 + kubernetes/test/test_v1_endpoints_list.py | 204 + kubernetes/test/test_v1_env_from_source.py | 58 + kubernetes/test/test_v1_env_var.py | 70 + kubernetes/test/test_v1_env_var_source.py | 66 + .../test/test_v1_ephemeral_container.py | 241 + kubernetes/test/test_v1_event.py | 172 + kubernetes/test/test_v1_event_list.py | 212 + kubernetes/test/test_v1_event_series.py | 54 + kubernetes/test/test_v1_event_source.py | 53 + kubernetes/test/test_v1_exec_action.py | 54 + .../test/test_v1_external_documentation.py | 53 + kubernetes/test/test_v1_fc_volume_source.py | 60 + .../test_v1_flex_persistent_volume_source.py | 61 + kubernetes/test/test_v1_flex_volume_source.py | 60 + .../test/test_v1_flocker_volume_source.py | 53 + ...st_v1_gce_persistent_disk_volume_source.py | 56 + .../test/test_v1_git_repo_volume_source.py | 55 + ...t_v1_glusterfs_persistent_volume_source.py | 57 + .../test/test_v1_glusterfs_volume_source.py | 56 + .../test_v1_group_version_for_discovery.py | 55 + kubernetes/test/test_v1_handler.py | 68 + .../test/test_v1_horizontal_pod_autoscaler.py | 106 + .../test_v1_horizontal_pod_autoscaler_list.py | 174 + .../test_v1_horizontal_pod_autoscaler_spec.py | 63 + ...est_v1_horizontal_pod_autoscaler_status.py | 58 + kubernetes/test/test_v1_host_alias.py | 55 + .../test/test_v1_host_path_volume_source.py | 54 + kubernetes/test/test_v1_http_get_action.py | 61 + kubernetes/test/test_v1_http_header.py | 55 + kubernetes/test/test_v1_ip_block.py | 56 + .../test_v1_iscsi_persistent_volume_source.py | 69 + .../test/test_v1_iscsi_volume_source.py | 68 + kubernetes/test/test_v1_job.py | 599 ++ kubernetes/test/test_v1_job_condition.py | 59 + kubernetes/test/test_v1_job_list.py | 216 + kubernetes/test/test_v1_job_spec.py | 1037 +++ kubernetes/test/test_v1_job_status.py | 65 + kubernetes/test/test_v1_json_schema_props.py | 5808 +++++++++++++++ kubernetes/test/test_v1_key_to_path.py | 56 + kubernetes/test/test_v1_label_selector.py | 62 + .../test_v1_label_selector_requirement.py | 58 + kubernetes/test/test_v1_lease.py | 98 + kubernetes/test/test_v1_lease_list.py | 158 + kubernetes/test/test_v1_lease_spec.py | 56 + kubernetes/test/test_v1_lifecycle.py | 87 + kubernetes/test/test_v1_limit_range.py | 112 + kubernetes/test/test_v1_limit_range_item.py | 67 + kubernetes/test/test_v1_limit_range_list.py | 186 + kubernetes/test/test_v1_limit_range_spec.py | 89 + kubernetes/test/test_v1_list_meta.py | 55 + .../test/test_v1_load_balancer_ingress.py | 53 + .../test/test_v1_load_balancer_status.py | 56 + .../test/test_v1_local_object_reference.py | 52 + .../test_v1_local_subject_access_review.py | 141 + .../test/test_v1_local_volume_source.py | 54 + .../test/test_v1_managed_fields_entry.py | 57 + kubernetes/test/test_v1_mutating_webhook.py | 121 + .../test_v1_mutating_webhook_configuration.py | 141 + ..._v1_mutating_webhook_configuration_list.py | 244 + kubernetes/test/test_v1_namespace.py | 106 + .../test/test_v1_namespace_condition.py | 58 + kubernetes/test/test_v1_namespace_list.py | 168 + kubernetes/test/test_v1_namespace_spec.py | 54 + kubernetes/test/test_v1_namespace_status.py | 60 + kubernetes/test/test_v1_network_policy.py | 132 + .../test_v1_network_policy_egress_rule.py | 77 + .../test_v1_network_policy_ingress_rule.py | 77 + .../test/test_v1_network_policy_list.py | 226 + .../test/test_v1_network_policy_peer.py | 80 + .../test/test_v1_network_policy_port.py | 53 + .../test/test_v1_network_policy_spec.py | 136 + kubernetes/test/test_v1_nfs_volume_source.py | 56 + kubernetes/test/test_v1_node.py | 176 + kubernetes/test/test_v1_node_address.py | 55 + kubernetes/test/test_v1_node_affinity.py | 86 + kubernetes/test/test_v1_node_condition.py | 59 + kubernetes/test/test_v1_node_config_source.py | 57 + kubernetes/test/test_v1_node_config_status.py | 73 + .../test/test_v1_node_daemon_endpoints.py | 53 + kubernetes/test/test_v1_node_list.py | 302 + kubernetes/test/test_v1_node_selector.py | 83 + .../test/test_v1_node_selector_requirement.py | 58 + kubernetes/test/test_v1_node_selector_term.py | 67 + kubernetes/test/test_v1_node_spec.py | 72 + kubernetes/test/test_v1_node_status.py | 112 + kubernetes/test/test_v1_node_system_info.py | 71 + .../test/test_v1_non_resource_attributes.py | 53 + kubernetes/test/test_v1_non_resource_rule.py | 60 + .../test/test_v1_object_field_selector.py | 54 + kubernetes/test/test_v1_object_meta.py | 89 + kubernetes/test/test_v1_object_reference.py | 58 + kubernetes/test/test_v1_owner_reference.py | 61 + kubernetes/test/test_v1_persistent_volume.py | 287 + .../test/test_v1_persistent_volume_claim.py | 139 + ...st_v1_persistent_volume_claim_condition.py | 59 + .../test_v1_persistent_volume_claim_list.py | 234 + .../test_v1_persistent_volume_claim_spec.py | 80 + .../test_v1_persistent_volume_claim_status.py | 67 + ...1_persistent_volume_claim_volume_source.py | 54 + .../test/test_v1_persistent_volume_list.py | 536 ++ .../test/test_v1_persistent_volume_spec.py | 261 + .../test/test_v1_persistent_volume_status.py | 54 + ...v1_photon_persistent_disk_volume_source.py | 54 + kubernetes/test/test_v1_pod.py | 603 ++ kubernetes/test/test_v1_pod_affinity.py | 91 + kubernetes/test/test_v1_pod_affinity_term.py | 68 + kubernetes/test/test_v1_pod_anti_affinity.py | 91 + kubernetes/test/test_v1_pod_condition.py | 59 + kubernetes/test/test_v1_pod_dns_config.py | 62 + .../test/test_v1_pod_dns_config_option.py | 53 + kubernetes/test/test_v1_pod_ip.py | 52 + kubernetes/test/test_v1_pod_list.py | 1168 +++ kubernetes/test/test_v1_pod_readiness_gate.py | 53 + .../test/test_v1_pod_security_context.py | 72 + kubernetes/test/test_v1_pod_spec.py | 903 +++ kubernetes/test/test_v1_pod_status.py | 147 + kubernetes/test/test_v1_pod_template.py | 576 ++ kubernetes/test/test_v1_pod_template_list.py | 1036 +++ kubernetes/test/test_v1_pod_template_spec.py | 534 ++ kubernetes/test/test_v1_policy_rule.py | 69 + .../test/test_v1_portworx_volume_source.py | 55 + kubernetes/test/test_v1_preconditions.py | 53 + .../test/test_v1_preferred_scheduling_term.py | 81 + kubernetes/test/test_v1_priority_class.py | 97 + .../test/test_v1_priority_class_list.py | 154 + kubernetes/test/test_v1_probe.py | 73 + .../test/test_v1_projected_volume_source.py | 92 + .../test/test_v1_quobyte_volume_source.py | 59 + .../test_v1_rbd_persistent_volume_source.py | 67 + kubernetes/test/test_v1_rbd_volume_source.py | 66 + kubernetes/test/test_v1_replica_set.py | 161 + .../test/test_v1_replica_set_condition.py | 58 + kubernetes/test/test_v1_replica_set_list.py | 206 + kubernetes/test/test_v1_replica_set_spec.py | 561 ++ kubernetes/test/test_v1_replica_set_status.py | 65 + .../test/test_v1_replication_controller.py | 152 + ...est_v1_replication_controller_condition.py | 58 + .../test_v1_replication_controller_list.py | 188 + .../test_v1_replication_controller_spec.py | 540 ++ .../test_v1_replication_controller_status.py | 65 + .../test/test_v1_resource_attributes.py | 58 + .../test/test_v1_resource_field_selector.py | 55 + kubernetes/test/test_v1_resource_quota.py | 115 + .../test/test_v1_resource_quota_list.py | 186 + .../test/test_v1_resource_quota_spec.py | 66 + .../test/test_v1_resource_quota_status.py | 57 + .../test/test_v1_resource_requirements.py | 57 + kubernetes/test/test_v1_resource_rule.py | 66 + kubernetes/test/test_v1_role.py | 110 + kubernetes/test/test_v1_role_binding.py | 107 + kubernetes/test/test_v1_role_binding_list.py | 168 + kubernetes/test/test_v1_role_list.py | 182 + kubernetes/test/test_v1_role_ref.py | 57 + .../test/test_v1_rolling_update_daemon_set.py | 52 + .../test/test_v1_rolling_update_deployment.py | 53 + ...v1_rolling_update_stateful_set_strategy.py | 52 + .../test/test_v1_rule_with_operations.py | 64 + kubernetes/test/test_v1_scale.py | 97 + ...st_v1_scale_io_persistent_volume_source.py | 68 + .../test/test_v1_scale_io_volume_source.py | 66 + kubernetes/test/test_v1_scale_spec.py | 52 + kubernetes/test/test_v1_scale_status.py | 54 + kubernetes/test/test_v1_scope_selector.py | 59 + ...v1_scoped_resource_selector_requirement.py | 58 + kubernetes/test/test_v1_se_linux_options.py | 55 + kubernetes/test/test_v1_secret.py | 99 + kubernetes/test/test_v1_secret_env_source.py | 53 + .../test/test_v1_secret_key_selector.py | 55 + kubernetes/test/test_v1_secret_list.py | 160 + kubernetes/test/test_v1_secret_projection.py | 59 + kubernetes/test/test_v1_secret_reference.py | 53 + .../test/test_v1_secret_volume_source.py | 60 + kubernetes/test/test_v1_security_context.py | 74 + .../test_v1_self_subject_access_review.py | 121 + ...test_v1_self_subject_access_review_spec.py | 62 + .../test/test_v1_self_subject_rules_review.py | 123 + .../test_v1_self_subject_rules_review_spec.py | 52 + .../test_v1_server_address_by_client_cidr.py | 55 + kubernetes/test/test_v1_service.py | 132 + kubernetes/test/test_v1_service_account.py | 107 + .../test/test_v1_service_account_list.py | 176 + ...est_v1_service_account_token_projection.py | 55 + kubernetes/test/test_v1_service_list.py | 226 + kubernetes/test/test_v1_service_port.py | 57 + kubernetes/test/test_v1_service_spec.py | 83 + kubernetes/test/test_v1_service_status.py | 57 + .../test/test_v1_session_affinity_config.py | 53 + kubernetes/test/test_v1_stateful_set.py | 625 ++ .../test/test_v1_stateful_set_condition.py | 58 + kubernetes/test/test_v1_stateful_set_list.py | 252 + kubernetes/test/test_v1_stateful_set_spec.py | 1140 +++ .../test/test_v1_stateful_set_status.py | 68 + .../test_v1_stateful_set_update_strategy.py | 54 + kubernetes/test/test_v1_status.py | 74 + kubernetes/test/test_v1_status_cause.py | 54 + kubernetes/test/test_v1_status_details.py | 62 + kubernetes/test/test_v1_storage_class.py | 113 + kubernetes/test/test_v1_storage_class_list.py | 186 + ..._v1_storage_os_persistent_volume_source.py | 63 + .../test/test_v1_storage_os_volume_source.py | 57 + kubernetes/test/test_v1_subject.py | 57 + .../test/test_v1_subject_access_review.py | 141 + .../test_v1_subject_access_review_spec.py | 72 + .../test_v1_subject_access_review_status.py | 56 + .../test_v1_subject_rules_review_status.py | 102 + kubernetes/test/test_v1_sysctl.py | 55 + kubernetes/test/test_v1_taint.py | 57 + kubernetes/test/test_v1_tcp_socket_action.py | 54 + kubernetes/test/test_v1_token_request.py | 115 + kubernetes/test/test_v1_token_request_spec.py | 63 + .../test/test_v1_token_request_status.py | 55 + kubernetes/test/test_v1_token_review.py | 119 + kubernetes/test/test_v1_token_review_spec.py | 55 + .../test/test_v1_token_review_status.py | 67 + kubernetes/test/test_v1_toleration.py | 56 + ..._v1_topology_selector_label_requirement.py | 59 + .../test/test_v1_topology_selector_term.py | 58 + .../test_v1_topology_spread_constraint.py | 69 + .../test_v1_typed_local_object_reference.py | 56 + kubernetes/test/test_v1_user_info.py | 61 + kubernetes/test/test_v1_validating_webhook.py | 120 + ...est_v1_validating_webhook_configuration.py | 140 + ...1_validating_webhook_configuration_list.py | 242 + kubernetes/test/test_v1_volume.py | 263 + kubernetes/test/test_v1_volume_attachment.py | 495 ++ .../test/test_v1_volume_attachment_list.py | 560 ++ .../test/test_v1_volume_attachment_source.py | 243 + .../test/test_v1_volume_attachment_spec.py | 441 ++ .../test/test_v1_volume_attachment_status.py | 62 + kubernetes/test/test_v1_volume_device.py | 55 + kubernetes/test/test_v1_volume_error.py | 53 + kubernetes/test/test_v1_volume_mount.py | 59 + .../test/test_v1_volume_node_affinity.py | 68 + .../test/test_v1_volume_node_resources.py | 52 + kubernetes/test/test_v1_volume_projection.py | 86 + ...t_v1_vsphere_virtual_disk_volume_source.py | 56 + kubernetes/test/test_v1_watch_event.py | 55 + kubernetes/test/test_v1_webhook_conversion.py | 65 + .../test_v1_weighted_pod_affinity_term.py | 87 + ...est_v1_windows_security_context_options.py | 54 + .../test/test_v1alpha1_aggregation_rule.py | 65 + kubernetes/test/test_v1alpha1_audit_sink.py | 110 + .../test/test_v1alpha1_audit_sink_list.py | 182 + .../test/test_v1alpha1_audit_sink_spec.py | 85 + kubernetes/test/test_v1alpha1_cluster_role.py | 125 + .../test_v1alpha1_cluster_role_binding.py | 107 + ...test_v1alpha1_cluster_role_binding_list.py | 168 + .../test/test_v1alpha1_cluster_role_list.py | 212 + ...test_v1alpha1_flow_distinguisher_method.py | 53 + kubernetes/test/test_v1alpha1_flow_schema.py | 145 + .../test_v1alpha1_flow_schema_condition.py | 56 + .../test/test_v1alpha1_flow_schema_list.py | 252 + .../test/test_v1alpha1_flow_schema_spec.py | 97 + .../test/test_v1alpha1_flow_schema_status.py | 59 + .../test/test_v1alpha1_group_subject.py | 53 + .../test/test_v1alpha1_limit_response.py | 57 + ...a1_limited_priority_level_configuration.py | 58 + .../test_v1alpha1_non_resource_policy_rule.py | 63 + kubernetes/test/test_v1alpha1_overhead.py | 54 + kubernetes/test/test_v1alpha1_pod_preset.py | 319 + .../test/test_v1alpha1_pod_preset_list.py | 600 ++ .../test/test_v1alpha1_pod_preset_spec.py | 279 + kubernetes/test/test_v1alpha1_policy.py | 56 + kubernetes/test/test_v1alpha1_policy_rule.py | 69 + ...est_v1alpha1_policy_rules_with_subjects.py | 98 + .../test/test_v1alpha1_priority_class.py | 97 + .../test/test_v1alpha1_priority_class_list.py | 154 + ...t_v1alpha1_priority_level_configuration.py | 110 + ..._priority_level_configuration_condition.py | 56 + ...lpha1_priority_level_configuration_list.py | 182 + ..._priority_level_configuration_reference.py | 53 + ...lpha1_priority_level_configuration_spec.py | 61 + ...ha1_priority_level_configuration_status.py | 59 + .../test_v1alpha1_queuing_configuration.py | 54 + .../test_v1alpha1_resource_policy_rule.py | 73 + kubernetes/test/test_v1alpha1_role.py | 110 + kubernetes/test/test_v1alpha1_role_binding.py | 107 + .../test/test_v1alpha1_role_binding_list.py | 168 + kubernetes/test/test_v1alpha1_role_list.py | 182 + kubernetes/test/test_v1alpha1_role_ref.py | 57 + .../test/test_v1alpha1_runtime_class.py | 128 + .../test/test_v1alpha1_runtime_class_list.py | 182 + .../test/test_v1alpha1_runtime_class_spec.py | 69 + kubernetes/test/test_v1alpha1_scheduling.py | 62 + .../test_v1alpha1_service_account_subject.py | 55 + .../test/test_v1alpha1_service_reference.py | 57 + kubernetes/test/test_v1alpha1_user_subject.py | 53 + .../test/test_v1alpha1_volume_attachment.py | 495 ++ .../test_v1alpha1_volume_attachment_list.py | 560 ++ .../test_v1alpha1_volume_attachment_source.py | 243 + .../test_v1alpha1_volume_attachment_spec.py | 441 ++ .../test_v1alpha1_volume_attachment_status.py | 62 + kubernetes/test/test_v1alpha1_volume_error.py | 53 + kubernetes/test/test_v1alpha1_webhook.py | 70 + .../test_v1alpha1_webhook_client_config.py | 58 + .../test_v1alpha1_webhook_throttle_config.py | 53 + .../test/test_v1beta1_aggregation_rule.py | 65 + kubernetes/test/test_v1beta1_api_service.py | 112 + .../test_v1beta1_api_service_condition.py | 58 + .../test/test_v1beta1_api_service_list.py | 186 + .../test/test_v1beta1_api_service_spec.py | 67 + .../test/test_v1beta1_api_service_status.py | 59 + ...est_v1beta1_certificate_signing_request.py | 116 + ...1_certificate_signing_request_condition.py | 56 + ...1beta1_certificate_signing_request_list.py | 194 + ...1beta1_certificate_signing_request_spec.py | 66 + ...eta1_certificate_signing_request_status.py | 59 + kubernetes/test/test_v1beta1_cluster_role.py | 125 + .../test/test_v1beta1_cluster_role_binding.py | 107 + .../test_v1beta1_cluster_role_binding_list.py | 168 + .../test/test_v1beta1_cluster_role_list.py | 212 + .../test/test_v1beta1_controller_revision.py | 95 + .../test_v1beta1_controller_revision_list.py | 150 + kubernetes/test/test_v1beta1_cron_job.py | 171 + kubernetes/test/test_v1beta1_cron_job_list.py | 186 + kubernetes/test/test_v1beta1_cron_job_spec.py | 178 + .../test/test_v1beta1_cron_job_status.py | 62 + kubernetes/test/test_v1beta1_csi_driver.py | 104 + .../test/test_v1beta1_csi_driver_list.py | 158 + .../test/test_v1beta1_csi_driver_spec.py | 56 + kubernetes/test/test_v1beta1_csi_node.py | 114 + .../test/test_v1beta1_csi_node_driver.py | 60 + kubernetes/test/test_v1beta1_csi_node_list.py | 168 + kubernetes/test/test_v1beta1_csi_node_spec.py | 71 + ...beta1_custom_resource_column_definition.py | 60 + ...test_v1beta1_custom_resource_conversion.py | 64 + ...test_v1beta1_custom_resource_definition.py | 2339 ++++++ ...a1_custom_resource_definition_condition.py | 58 + ...v1beta1_custom_resource_definition_list.py | 2404 ++++++ ...1beta1_custom_resource_definition_names.py | 63 + ...v1beta1_custom_resource_definition_spec.py | 2250 ++++++ ...beta1_custom_resource_definition_status.py | 87 + ...eta1_custom_resource_definition_version.py | 1133 +++ ...beta1_custom_resource_subresource_scale.py | 56 + ...st_v1beta1_custom_resource_subresources.py | 56 + ...test_v1beta1_custom_resource_validation.py | 1111 +++ kubernetes/test/test_v1beta1_daemon_set.py | 603 ++ .../test/test_v1beta1_daemon_set_condition.py | 58 + .../test/test_v1beta1_daemon_set_list.py | 224 + .../test/test_v1beta1_daemon_set_spec.py | 1038 +++ .../test/test_v1beta1_daemon_set_status.py | 72 + ...test_v1beta1_daemon_set_update_strategy.py | 54 + kubernetes/test/test_v1beta1_endpoint.py | 71 + .../test/test_v1beta1_endpoint_conditions.py | 52 + kubernetes/test/test_v1beta1_endpoint_port.py | 55 + .../test/test_v1beta1_endpoint_slice.py | 141 + .../test/test_v1beta1_endpoint_slice_list.py | 202 + kubernetes/test/test_v1beta1_event.py | 126 + kubernetes/test/test_v1beta1_event_list.py | 212 + kubernetes/test/test_v1beta1_event_series.py | 57 + kubernetes/test/test_v1beta1_eviction.py | 104 + .../test_v1beta1_external_documentation.py | 53 + kubernetes/test/test_v1beta1_ip_block.py | 56 + .../test/test_v1beta1_job_template_spec.py | 149 + .../test/test_v1beta1_json_schema_props.py | 5808 +++++++++++++++ kubernetes/test/test_v1beta1_lease.py | 98 + kubernetes/test/test_v1beta1_lease_list.py | 158 + kubernetes/test/test_v1beta1_lease_spec.py | 56 + ...est_v1beta1_local_subject_access_review.py | 139 + .../test/test_v1beta1_mutating_webhook.py | 117 + ..._v1beta1_mutating_webhook_configuration.py | 141 + ...ta1_mutating_webhook_configuration_list.py | 244 + .../test/test_v1beta1_network_policy.py | 132 + ...test_v1beta1_network_policy_egress_rule.py | 77 + ...est_v1beta1_network_policy_ingress_rule.py | 77 + .../test/test_v1beta1_network_policy_list.py | 226 + .../test/test_v1beta1_network_policy_peer.py | 80 + .../test/test_v1beta1_network_policy_port.py | 53 + .../test/test_v1beta1_network_policy_spec.py | 136 + .../test_v1beta1_non_resource_attributes.py | 53 + .../test/test_v1beta1_non_resource_rule.py | 60 + kubernetes/test/test_v1beta1_overhead.py | 54 + .../test_v1beta1_pod_disruption_budget.py | 116 + ...test_v1beta1_pod_disruption_budget_list.py | 194 + ...test_v1beta1_pod_disruption_budget_spec.py | 65 + ...st_v1beta1_pod_disruption_budget_status.py | 63 + kubernetes/test/test_v1beta1_policy_rule.py | 69 + .../test/test_v1beta1_priority_class.py | 97 + .../test/test_v1beta1_priority_class_list.py | 154 + kubernetes/test/test_v1beta1_replica_set.py | 594 ++ .../test_v1beta1_replica_set_condition.py | 58 + .../test/test_v1beta1_replica_set_list.py | 206 + .../test/test_v1beta1_replica_set_spec.py | 549 ++ .../test/test_v1beta1_replica_set_status.py | 65 + .../test/test_v1beta1_resource_attributes.py | 58 + kubernetes/test/test_v1beta1_resource_rule.py | 66 + kubernetes/test/test_v1beta1_role.py | 110 + kubernetes/test/test_v1beta1_role_binding.py | 107 + .../test/test_v1beta1_role_binding_list.py | 168 + kubernetes/test/test_v1beta1_role_list.py | 182 + kubernetes/test/test_v1beta1_role_ref.py | 57 + .../test_v1beta1_rolling_update_daemon_set.py | 52 + ...a1_rolling_update_stateful_set_strategy.py | 52 + .../test/test_v1beta1_rule_with_operations.py | 64 + kubernetes/test/test_v1beta1_runtime_class.py | 110 + .../test/test_v1beta1_runtime_class_list.py | 180 + kubernetes/test/test_v1beta1_scheduling.py | 62 + ...test_v1beta1_self_subject_access_review.py | 121 + ...v1beta1_self_subject_access_review_spec.py | 62 + .../test_v1beta1_self_subject_rules_review.py | 123 + ..._v1beta1_self_subject_rules_review_spec.py | 52 + kubernetes/test/test_v1beta1_stateful_set.py | 625 ++ .../test_v1beta1_stateful_set_condition.py | 58 + .../test/test_v1beta1_stateful_set_list.py | 252 + .../test/test_v1beta1_stateful_set_spec.py | 1128 +++ .../test/test_v1beta1_stateful_set_status.py | 68 + ...st_v1beta1_stateful_set_update_strategy.py | 54 + kubernetes/test/test_v1beta1_storage_class.py | 113 + .../test/test_v1beta1_storage_class_list.py | 186 + kubernetes/test/test_v1beta1_subject.py | 57 + .../test_v1beta1_subject_access_review.py | 139 + ...test_v1beta1_subject_access_review_spec.py | 72 + ...st_v1beta1_subject_access_review_status.py | 56 + ...est_v1beta1_subject_rules_review_status.py | 102 + kubernetes/test/test_v1beta1_token_review.py | 119 + .../test/test_v1beta1_token_review_spec.py | 55 + .../test/test_v1beta1_token_review_status.py | 67 + kubernetes/test/test_v1beta1_user_info.py | 61 + .../test/test_v1beta1_validating_webhook.py | 116 + ...1beta1_validating_webhook_configuration.py | 140 + ...1_validating_webhook_configuration_list.py | 242 + .../test/test_v1beta1_volume_attachment.py | 495 ++ .../test_v1beta1_volume_attachment_list.py | 560 ++ .../test_v1beta1_volume_attachment_source.py | 243 + .../test_v1beta1_volume_attachment_spec.py | 441 ++ .../test_v1beta1_volume_attachment_status.py | 62 + kubernetes/test/test_v1beta1_volume_error.py | 53 + .../test_v1beta1_volume_node_resources.py | 52 + .../test/test_v1beta2_controller_revision.py | 95 + .../test_v1beta2_controller_revision_list.py | 150 + kubernetes/test/test_v1beta2_daemon_set.py | 602 ++ .../test/test_v1beta2_daemon_set_condition.py | 58 + .../test/test_v1beta2_daemon_set_list.py | 222 + .../test/test_v1beta2_daemon_set_spec.py | 1049 +++ .../test/test_v1beta2_daemon_set_status.py | 72 + ...test_v1beta2_daemon_set_update_strategy.py | 54 + kubernetes/test/test_v1beta2_deployment.py | 605 ++ .../test/test_v1beta2_deployment_condition.py | 59 + .../test/test_v1beta2_deployment_list.py | 228 + .../test/test_v1beta2_deployment_spec.py | 1053 +++ .../test/test_v1beta2_deployment_status.py | 67 + .../test/test_v1beta2_deployment_strategy.py | 55 + kubernetes/test/test_v1beta2_replica_set.py | 594 ++ .../test_v1beta2_replica_set_condition.py | 58 + .../test/test_v1beta2_replica_set_list.py | 206 + .../test/test_v1beta2_replica_set_spec.py | 561 ++ .../test/test_v1beta2_replica_set_status.py | 65 + .../test_v1beta2_rolling_update_daemon_set.py | 52 + .../test_v1beta2_rolling_update_deployment.py | 53 + ...a2_rolling_update_stateful_set_strategy.py | 52 + kubernetes/test/test_v1beta2_scale.py | 100 + kubernetes/test/test_v1beta2_scale_spec.py | 52 + kubernetes/test/test_v1beta2_scale_status.py | 57 + kubernetes/test/test_v1beta2_stateful_set.py | 625 ++ .../test_v1beta2_stateful_set_condition.py | 58 + .../test/test_v1beta2_stateful_set_list.py | 252 + .../test/test_v1beta2_stateful_set_spec.py | 1140 +++ .../test/test_v1beta2_stateful_set_status.py | 68 + ...st_v1beta2_stateful_set_update_strategy.py | 54 + kubernetes/test/test_v2alpha1_cron_job.py | 151 + .../test/test_v2alpha1_cron_job_list.py | 186 + .../test/test_v2alpha1_cron_job_spec.py | 178 + .../test/test_v2alpha1_cron_job_status.py | 62 + .../test/test_v2alpha1_job_template_spec.py | 582 ++ ..._v2beta1_cross_version_object_reference.py | 56 + .../test_v2beta1_external_metric_source.py | 67 + .../test_v2beta1_external_metric_status.py | 68 + .../test_v2beta1_horizontal_pod_autoscaler.py | 184 + ...ta1_horizontal_pod_autoscaler_condition.py | 58 + ..._v2beta1_horizontal_pod_autoscaler_list.py | 266 + ..._v2beta1_horizontal_pod_autoscaler_spec.py | 98 + ...2beta1_horizontal_pod_autoscaler_status.py | 109 + kubernetes/test/test_v2beta1_metric_spec.py | 108 + kubernetes/test/test_v2beta1_metric_status.py | 108 + .../test/test_v2beta1_object_metric_source.py | 76 + .../test/test_v2beta1_object_metric_status.py | 76 + .../test/test_v2beta1_pods_metric_source.py | 67 + .../test/test_v2beta1_pods_metric_status.py | 67 + .../test_v2beta1_resource_metric_source.py | 55 + .../test_v2beta1_resource_metric_status.py | 56 + ..._v2beta2_cross_version_object_reference.py | 56 + .../test_v2beta2_external_metric_source.py | 89 + .../test_v2beta2_external_metric_status.py | 87 + .../test_v2beta2_horizontal_pod_autoscaler.py | 210 + ...ta2_horizontal_pod_autoscaler_condition.py | 58 + ..._v2beta2_horizontal_pod_autoscaler_list.py | 296 + ..._v2beta2_horizontal_pod_autoscaler_spec.py | 113 + ...2beta2_horizontal_pod_autoscaler_status.py | 120 + .../test/test_v2beta2_metric_identifier.py | 65 + kubernetes/test/test_v2beta2_metric_spec.py | 124 + kubernetes/test/test_v2beta2_metric_status.py | 120 + kubernetes/test/test_v2beta2_metric_target.py | 56 + .../test/test_v2beta2_metric_value_status.py | 54 + .../test/test_v2beta2_object_metric_source.py | 97 + .../test/test_v2beta2_object_metric_status.py | 95 + .../test/test_v2beta2_pods_metric_source.py | 89 + .../test/test_v2beta2_pods_metric_status.py | 87 + .../test_v2beta2_resource_metric_source.py | 63 + .../test_v2beta2_resource_metric_status.py | 61 + kubernetes/test/test_version_api.py | 39 + kubernetes/test/test_version_info.py | 69 + scripts/swagger.json | 6621 +++++++++++++---- setup.py | 2 +- 1601 files changed, 150417 insertions(+), 4122 deletions(-) rename kubernetes/client/api/{discovery_v1alpha1_api.py => discovery_v1beta1_api.py} (97%) create mode 100644 kubernetes/client/api/flowcontrol_apiserver_api.py create mode 100644 kubernetes/client/api/flowcontrol_apiserver_v1alpha1_api.py delete mode 100644 kubernetes/client/apis/__init__.py create mode 100644 kubernetes/client/models/flowcontrol_v1alpha1_subject.py rename kubernetes/client/models/{v1alpha1_subject.py => rbac_v1alpha1_subject.py} (80%) create mode 100644 kubernetes/client/models/v1_csi_node.py create mode 100644 kubernetes/client/models/v1_csi_node_driver.py create mode 100644 kubernetes/client/models/v1_csi_node_list.py create mode 100644 kubernetes/client/models/v1_csi_node_spec.py create mode 100644 kubernetes/client/models/v1_volume_node_resources.py create mode 100644 kubernetes/client/models/v1alpha1_flow_distinguisher_method.py create mode 100644 kubernetes/client/models/v1alpha1_flow_schema.py create mode 100644 kubernetes/client/models/v1alpha1_flow_schema_condition.py create mode 100644 kubernetes/client/models/v1alpha1_flow_schema_list.py create mode 100644 kubernetes/client/models/v1alpha1_flow_schema_spec.py create mode 100644 kubernetes/client/models/v1alpha1_flow_schema_status.py create mode 100644 kubernetes/client/models/v1alpha1_group_subject.py create mode 100644 kubernetes/client/models/v1alpha1_limit_response.py create mode 100644 kubernetes/client/models/v1alpha1_limited_priority_level_configuration.py create mode 100644 kubernetes/client/models/v1alpha1_non_resource_policy_rule.py create mode 100644 kubernetes/client/models/v1alpha1_policy_rules_with_subjects.py create mode 100644 kubernetes/client/models/v1alpha1_priority_level_configuration.py create mode 100644 kubernetes/client/models/v1alpha1_priority_level_configuration_condition.py create mode 100644 kubernetes/client/models/v1alpha1_priority_level_configuration_list.py create mode 100644 kubernetes/client/models/v1alpha1_priority_level_configuration_reference.py create mode 100644 kubernetes/client/models/v1alpha1_priority_level_configuration_spec.py create mode 100644 kubernetes/client/models/v1alpha1_priority_level_configuration_status.py create mode 100644 kubernetes/client/models/v1alpha1_queuing_configuration.py create mode 100644 kubernetes/client/models/v1alpha1_resource_policy_rule.py create mode 100644 kubernetes/client/models/v1alpha1_service_account_subject.py create mode 100644 kubernetes/client/models/v1alpha1_user_subject.py rename kubernetes/client/models/{v1alpha1_endpoint.py => v1beta1_endpoint.py} (76%) rename kubernetes/client/models/{v1alpha1_endpoint_conditions.py => v1beta1_endpoint_conditions.py} (84%) rename kubernetes/client/models/{v1alpha1_endpoint_port.py => v1beta1_endpoint_port.py} (58%) rename kubernetes/client/models/{v1alpha1_endpoint_slice.py => v1beta1_endpoint_slice.py} (71%) rename kubernetes/client/models/{v1alpha1_endpoint_slice_list.py => v1beta1_endpoint_slice_list.py} (77%) rename kubernetes/docs/{DiscoveryV1alpha1Api.md => DiscoveryV1beta1Api.md} (91%) create mode 100644 kubernetes/docs/FlowcontrolApiserverApi.md create mode 100644 kubernetes/docs/FlowcontrolApiserverV1alpha1Api.md create mode 100644 kubernetes/docs/FlowcontrolV1alpha1Subject.md rename kubernetes/docs/{V1alpha1Subject.md => RbacV1alpha1Subject.md} (98%) create mode 100644 kubernetes/docs/V1CSINode.md create mode 100644 kubernetes/docs/V1CSINodeDriver.md create mode 100644 kubernetes/docs/V1CSINodeList.md create mode 100644 kubernetes/docs/V1CSINodeSpec.md create mode 100644 kubernetes/docs/V1VolumeNodeResources.md create mode 100644 kubernetes/docs/V1alpha1FlowDistinguisherMethod.md create mode 100644 kubernetes/docs/V1alpha1FlowSchema.md create mode 100644 kubernetes/docs/V1alpha1FlowSchemaCondition.md create mode 100644 kubernetes/docs/V1alpha1FlowSchemaList.md create mode 100644 kubernetes/docs/V1alpha1FlowSchemaSpec.md create mode 100644 kubernetes/docs/V1alpha1FlowSchemaStatus.md create mode 100644 kubernetes/docs/V1alpha1GroupSubject.md create mode 100644 kubernetes/docs/V1alpha1LimitResponse.md create mode 100644 kubernetes/docs/V1alpha1LimitedPriorityLevelConfiguration.md create mode 100644 kubernetes/docs/V1alpha1NonResourcePolicyRule.md create mode 100644 kubernetes/docs/V1alpha1PolicyRulesWithSubjects.md create mode 100644 kubernetes/docs/V1alpha1PriorityLevelConfiguration.md create mode 100644 kubernetes/docs/V1alpha1PriorityLevelConfigurationCondition.md create mode 100644 kubernetes/docs/V1alpha1PriorityLevelConfigurationList.md create mode 100644 kubernetes/docs/V1alpha1PriorityLevelConfigurationReference.md create mode 100644 kubernetes/docs/V1alpha1PriorityLevelConfigurationSpec.md create mode 100644 kubernetes/docs/V1alpha1PriorityLevelConfigurationStatus.md create mode 100644 kubernetes/docs/V1alpha1QueuingConfiguration.md create mode 100644 kubernetes/docs/V1alpha1ResourcePolicyRule.md create mode 100644 kubernetes/docs/V1alpha1ServiceAccountSubject.md create mode 100644 kubernetes/docs/V1alpha1UserSubject.md rename kubernetes/docs/{V1alpha1Endpoint.md => V1beta1Endpoint.md} (81%) rename kubernetes/docs/{V1alpha1EndpointConditions.md => V1beta1EndpointConditions.md} (95%) rename kubernetes/docs/{V1alpha1EndpointPort.md => V1beta1EndpointPort.md} (55%) rename kubernetes/docs/{V1alpha1EndpointSlice.md => V1beta1EndpointSlice.md} (61%) rename kubernetes/docs/{V1alpha1EndpointSliceList.md => V1beta1EndpointSliceList.md} (89%) create mode 100644 kubernetes/test/__init__.py create mode 100644 kubernetes/test/test_admissionregistration_api.py create mode 100644 kubernetes/test/test_admissionregistration_v1_api.py create mode 100644 kubernetes/test/test_admissionregistration_v1_service_reference.py create mode 100644 kubernetes/test/test_admissionregistration_v1_webhook_client_config.py create mode 100644 kubernetes/test/test_admissionregistration_v1beta1_api.py create mode 100644 kubernetes/test/test_admissionregistration_v1beta1_service_reference.py create mode 100644 kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py delete mode 100644 kubernetes/test/test_api_client.py create mode 100644 kubernetes/test/test_apiextensions_api.py create mode 100644 kubernetes/test/test_apiextensions_v1_api.py create mode 100644 kubernetes/test/test_apiextensions_v1_service_reference.py create mode 100644 kubernetes/test/test_apiextensions_v1_webhook_client_config.py create mode 100644 kubernetes/test/test_apiextensions_v1beta1_api.py create mode 100644 kubernetes/test/test_apiextensions_v1beta1_service_reference.py create mode 100644 kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py create mode 100644 kubernetes/test/test_apiregistration_api.py create mode 100644 kubernetes/test/test_apiregistration_v1_api.py create mode 100644 kubernetes/test/test_apiregistration_v1_service_reference.py create mode 100644 kubernetes/test/test_apiregistration_v1beta1_api.py create mode 100644 kubernetes/test/test_apiregistration_v1beta1_service_reference.py create mode 100644 kubernetes/test/test_apis_api.py create mode 100644 kubernetes/test/test_apps_api.py create mode 100644 kubernetes/test/test_apps_v1_api.py create mode 100644 kubernetes/test/test_apps_v1beta1_api.py create mode 100644 kubernetes/test/test_apps_v1beta1_deployment.py create mode 100644 kubernetes/test/test_apps_v1beta1_deployment_condition.py create mode 100644 kubernetes/test/test_apps_v1beta1_deployment_list.py create mode 100644 kubernetes/test/test_apps_v1beta1_deployment_rollback.py create mode 100644 kubernetes/test/test_apps_v1beta1_deployment_spec.py create mode 100644 kubernetes/test/test_apps_v1beta1_deployment_status.py create mode 100644 kubernetes/test/test_apps_v1beta1_deployment_strategy.py create mode 100644 kubernetes/test/test_apps_v1beta1_rollback_config.py create mode 100644 kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py create mode 100644 kubernetes/test/test_apps_v1beta1_scale.py create mode 100644 kubernetes/test/test_apps_v1beta1_scale_spec.py create mode 100644 kubernetes/test/test_apps_v1beta1_scale_status.py create mode 100644 kubernetes/test/test_apps_v1beta2_api.py create mode 100644 kubernetes/test/test_auditregistration_api.py create mode 100644 kubernetes/test/test_auditregistration_v1alpha1_api.py create mode 100644 kubernetes/test/test_authentication_api.py create mode 100644 kubernetes/test/test_authentication_v1_api.py create mode 100644 kubernetes/test/test_authentication_v1beta1_api.py create mode 100644 kubernetes/test/test_authorization_api.py create mode 100644 kubernetes/test/test_authorization_v1_api.py create mode 100644 kubernetes/test/test_authorization_v1beta1_api.py create mode 100644 kubernetes/test/test_autoscaling_api.py create mode 100644 kubernetes/test/test_autoscaling_v1_api.py create mode 100644 kubernetes/test/test_autoscaling_v2beta1_api.py create mode 100644 kubernetes/test/test_autoscaling_v2beta2_api.py create mode 100644 kubernetes/test/test_batch_api.py create mode 100644 kubernetes/test/test_batch_v1_api.py create mode 100644 kubernetes/test/test_batch_v1beta1_api.py create mode 100644 kubernetes/test/test_batch_v2alpha1_api.py create mode 100644 kubernetes/test/test_certificates_api.py create mode 100644 kubernetes/test/test_certificates_v1beta1_api.py create mode 100644 kubernetes/test/test_coordination_api.py create mode 100644 kubernetes/test/test_coordination_v1_api.py create mode 100644 kubernetes/test/test_coordination_v1beta1_api.py create mode 100644 kubernetes/test/test_core_api.py create mode 100644 kubernetes/test/test_core_v1_api.py create mode 100644 kubernetes/test/test_custom_objects_api.py create mode 100644 kubernetes/test/test_discovery_api.py create mode 100644 kubernetes/test/test_discovery_v1beta1_api.py create mode 100644 kubernetes/test/test_events_api.py create mode 100644 kubernetes/test/test_events_v1beta1_api.py create mode 100644 kubernetes/test/test_extensions_api.py create mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py create mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py create mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_host_path.py create mode 100644 kubernetes/test/test_extensions_v1beta1_api.py create mode 100644 kubernetes/test/test_extensions_v1beta1_deployment.py create mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_condition.py create mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_list.py create mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_rollback.py create mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_spec.py create mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_status.py create mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_strategy.py create mode 100644 kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py create mode 100644 kubernetes/test/test_extensions_v1beta1_host_port_range.py create mode 100644 kubernetes/test/test_extensions_v1beta1_http_ingress_path.py create mode 100644 kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py create mode 100644 kubernetes/test/test_extensions_v1beta1_id_range.py create mode 100644 kubernetes/test/test_extensions_v1beta1_ingress.py create mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_backend.py create mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_list.py create mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_rule.py create mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_spec.py create mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_status.py create mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_tls.py create mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy.py create mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py create mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py create mode 100644 kubernetes/test/test_extensions_v1beta1_rollback_config.py create mode 100644 kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py create mode 100644 kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py create mode 100644 kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py create mode 100644 kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py create mode 100644 kubernetes/test/test_extensions_v1beta1_scale.py create mode 100644 kubernetes/test/test_extensions_v1beta1_scale_spec.py create mode 100644 kubernetes/test/test_extensions_v1beta1_scale_status.py create mode 100644 kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py create mode 100644 kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py create mode 100644 kubernetes/test/test_flowcontrol_apiserver_api.py create mode 100644 kubernetes/test/test_flowcontrol_apiserver_v1alpha1_api.py create mode 100644 kubernetes/test/test_flowcontrol_v1alpha1_subject.py create mode 100644 kubernetes/test/test_logs_api.py create mode 100644 kubernetes/test/test_networking_api.py create mode 100644 kubernetes/test/test_networking_v1_api.py create mode 100644 kubernetes/test/test_networking_v1beta1_api.py create mode 100644 kubernetes/test/test_networking_v1beta1_http_ingress_path.py create mode 100644 kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py create mode 100644 kubernetes/test/test_networking_v1beta1_ingress.py create mode 100644 kubernetes/test/test_networking_v1beta1_ingress_backend.py create mode 100644 kubernetes/test/test_networking_v1beta1_ingress_list.py create mode 100644 kubernetes/test/test_networking_v1beta1_ingress_rule.py create mode 100644 kubernetes/test/test_networking_v1beta1_ingress_spec.py create mode 100644 kubernetes/test/test_networking_v1beta1_ingress_status.py create mode 100644 kubernetes/test/test_networking_v1beta1_ingress_tls.py create mode 100644 kubernetes/test/test_node_api.py create mode 100644 kubernetes/test/test_node_v1alpha1_api.py create mode 100644 kubernetes/test/test_node_v1beta1_api.py create mode 100644 kubernetes/test/test_policy_api.py create mode 100644 kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py create mode 100644 kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py create mode 100644 kubernetes/test/test_policy_v1beta1_allowed_host_path.py create mode 100644 kubernetes/test/test_policy_v1beta1_api.py create mode 100644 kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py create mode 100644 kubernetes/test/test_policy_v1beta1_host_port_range.py create mode 100644 kubernetes/test/test_policy_v1beta1_id_range.py create mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy.py create mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py create mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py create mode 100644 kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py create mode 100644 kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py create mode 100644 kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py create mode 100644 kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py create mode 100644 kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py create mode 100644 kubernetes/test/test_rbac_authorization_api.py create mode 100644 kubernetes/test/test_rbac_authorization_v1_api.py create mode 100644 kubernetes/test/test_rbac_authorization_v1alpha1_api.py create mode 100644 kubernetes/test/test_rbac_authorization_v1beta1_api.py create mode 100644 kubernetes/test/test_rbac_v1alpha1_subject.py create mode 100644 kubernetes/test/test_scheduling_api.py create mode 100644 kubernetes/test/test_scheduling_v1_api.py create mode 100644 kubernetes/test/test_scheduling_v1alpha1_api.py create mode 100644 kubernetes/test/test_scheduling_v1beta1_api.py create mode 100644 kubernetes/test/test_settings_api.py create mode 100644 kubernetes/test/test_settings_v1alpha1_api.py create mode 100644 kubernetes/test/test_storage_api.py create mode 100644 kubernetes/test/test_storage_v1_api.py create mode 100644 kubernetes/test/test_storage_v1alpha1_api.py create mode 100644 kubernetes/test/test_storage_v1beta1_api.py create mode 100644 kubernetes/test/test_v1_affinity.py create mode 100644 kubernetes/test/test_v1_aggregation_rule.py create mode 100644 kubernetes/test/test_v1_api_group.py create mode 100644 kubernetes/test/test_v1_api_group_list.py create mode 100644 kubernetes/test/test_v1_api_resource.py create mode 100644 kubernetes/test/test_v1_api_resource_list.py create mode 100644 kubernetes/test/test_v1_api_service.py create mode 100644 kubernetes/test/test_v1_api_service_condition.py create mode 100644 kubernetes/test/test_v1_api_service_list.py create mode 100644 kubernetes/test/test_v1_api_service_spec.py create mode 100644 kubernetes/test/test_v1_api_service_status.py create mode 100644 kubernetes/test/test_v1_api_versions.py create mode 100644 kubernetes/test/test_v1_attached_volume.py create mode 100644 kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py create mode 100644 kubernetes/test/test_v1_azure_disk_volume_source.py create mode 100644 kubernetes/test/test_v1_azure_file_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_azure_file_volume_source.py create mode 100644 kubernetes/test/test_v1_binding.py create mode 100644 kubernetes/test/test_v1_bound_object_reference.py create mode 100644 kubernetes/test/test_v1_capabilities.py create mode 100644 kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_ceph_fs_volume_source.py create mode 100644 kubernetes/test/test_v1_cinder_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_cinder_volume_source.py create mode 100644 kubernetes/test/test_v1_client_ip_config.py create mode 100644 kubernetes/test/test_v1_cluster_role.py create mode 100644 kubernetes/test/test_v1_cluster_role_binding.py create mode 100644 kubernetes/test/test_v1_cluster_role_binding_list.py create mode 100644 kubernetes/test/test_v1_cluster_role_list.py create mode 100644 kubernetes/test/test_v1_component_condition.py create mode 100644 kubernetes/test/test_v1_component_status.py create mode 100644 kubernetes/test/test_v1_component_status_list.py create mode 100644 kubernetes/test/test_v1_config_map.py create mode 100644 kubernetes/test/test_v1_config_map_env_source.py create mode 100644 kubernetes/test/test_v1_config_map_key_selector.py create mode 100644 kubernetes/test/test_v1_config_map_list.py create mode 100644 kubernetes/test/test_v1_config_map_node_config_source.py create mode 100644 kubernetes/test/test_v1_config_map_projection.py create mode 100644 kubernetes/test/test_v1_config_map_volume_source.py create mode 100644 kubernetes/test/test_v1_container.py create mode 100644 kubernetes/test/test_v1_container_image.py create mode 100644 kubernetes/test/test_v1_container_port.py create mode 100644 kubernetes/test/test_v1_container_state.py create mode 100644 kubernetes/test/test_v1_container_state_running.py create mode 100644 kubernetes/test/test_v1_container_state_terminated.py create mode 100644 kubernetes/test/test_v1_container_state_waiting.py create mode 100644 kubernetes/test/test_v1_container_status.py create mode 100644 kubernetes/test/test_v1_controller_revision.py create mode 100644 kubernetes/test/test_v1_controller_revision_list.py create mode 100644 kubernetes/test/test_v1_cross_version_object_reference.py create mode 100644 kubernetes/test/test_v1_csi_node.py create mode 100644 kubernetes/test/test_v1_csi_node_driver.py create mode 100644 kubernetes/test/test_v1_csi_node_list.py create mode 100644 kubernetes/test/test_v1_csi_node_spec.py create mode 100644 kubernetes/test/test_v1_csi_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_csi_volume_source.py create mode 100644 kubernetes/test/test_v1_custom_resource_column_definition.py create mode 100644 kubernetes/test/test_v1_custom_resource_conversion.py create mode 100644 kubernetes/test/test_v1_custom_resource_definition.py create mode 100644 kubernetes/test/test_v1_custom_resource_definition_condition.py create mode 100644 kubernetes/test/test_v1_custom_resource_definition_list.py create mode 100644 kubernetes/test/test_v1_custom_resource_definition_names.py create mode 100644 kubernetes/test/test_v1_custom_resource_definition_spec.py create mode 100644 kubernetes/test/test_v1_custom_resource_definition_status.py create mode 100644 kubernetes/test/test_v1_custom_resource_definition_version.py create mode 100644 kubernetes/test/test_v1_custom_resource_subresource_scale.py create mode 100644 kubernetes/test/test_v1_custom_resource_subresources.py create mode 100644 kubernetes/test/test_v1_custom_resource_validation.py create mode 100644 kubernetes/test/test_v1_daemon_endpoint.py create mode 100644 kubernetes/test/test_v1_daemon_set.py create mode 100644 kubernetes/test/test_v1_daemon_set_condition.py create mode 100644 kubernetes/test/test_v1_daemon_set_list.py create mode 100644 kubernetes/test/test_v1_daemon_set_spec.py create mode 100644 kubernetes/test/test_v1_daemon_set_status.py create mode 100644 kubernetes/test/test_v1_daemon_set_update_strategy.py create mode 100644 kubernetes/test/test_v1_delete_options.py create mode 100644 kubernetes/test/test_v1_deployment.py create mode 100644 kubernetes/test/test_v1_deployment_condition.py create mode 100644 kubernetes/test/test_v1_deployment_list.py create mode 100644 kubernetes/test/test_v1_deployment_spec.py create mode 100644 kubernetes/test/test_v1_deployment_status.py create mode 100644 kubernetes/test/test_v1_deployment_strategy.py create mode 100644 kubernetes/test/test_v1_downward_api_projection.py create mode 100644 kubernetes/test/test_v1_downward_api_volume_file.py create mode 100644 kubernetes/test/test_v1_downward_api_volume_source.py create mode 100644 kubernetes/test/test_v1_empty_dir_volume_source.py create mode 100644 kubernetes/test/test_v1_endpoint_address.py create mode 100644 kubernetes/test/test_v1_endpoint_port.py create mode 100644 kubernetes/test/test_v1_endpoint_subset.py create mode 100644 kubernetes/test/test_v1_endpoints.py create mode 100644 kubernetes/test/test_v1_endpoints_list.py create mode 100644 kubernetes/test/test_v1_env_from_source.py create mode 100644 kubernetes/test/test_v1_env_var.py create mode 100644 kubernetes/test/test_v1_env_var_source.py create mode 100644 kubernetes/test/test_v1_ephemeral_container.py create mode 100644 kubernetes/test/test_v1_event.py create mode 100644 kubernetes/test/test_v1_event_list.py create mode 100644 kubernetes/test/test_v1_event_series.py create mode 100644 kubernetes/test/test_v1_event_source.py create mode 100644 kubernetes/test/test_v1_exec_action.py create mode 100644 kubernetes/test/test_v1_external_documentation.py create mode 100644 kubernetes/test/test_v1_fc_volume_source.py create mode 100644 kubernetes/test/test_v1_flex_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_flex_volume_source.py create mode 100644 kubernetes/test/test_v1_flocker_volume_source.py create mode 100644 kubernetes/test/test_v1_gce_persistent_disk_volume_source.py create mode 100644 kubernetes/test/test_v1_git_repo_volume_source.py create mode 100644 kubernetes/test/test_v1_glusterfs_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_glusterfs_volume_source.py create mode 100644 kubernetes/test/test_v1_group_version_for_discovery.py create mode 100644 kubernetes/test/test_v1_handler.py create mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler.py create mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py create mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py create mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py create mode 100644 kubernetes/test/test_v1_host_alias.py create mode 100644 kubernetes/test/test_v1_host_path_volume_source.py create mode 100644 kubernetes/test/test_v1_http_get_action.py create mode 100644 kubernetes/test/test_v1_http_header.py create mode 100644 kubernetes/test/test_v1_ip_block.py create mode 100644 kubernetes/test/test_v1_iscsi_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_iscsi_volume_source.py create mode 100644 kubernetes/test/test_v1_job.py create mode 100644 kubernetes/test/test_v1_job_condition.py create mode 100644 kubernetes/test/test_v1_job_list.py create mode 100644 kubernetes/test/test_v1_job_spec.py create mode 100644 kubernetes/test/test_v1_job_status.py create mode 100644 kubernetes/test/test_v1_json_schema_props.py create mode 100644 kubernetes/test/test_v1_key_to_path.py create mode 100644 kubernetes/test/test_v1_label_selector.py create mode 100644 kubernetes/test/test_v1_label_selector_requirement.py create mode 100644 kubernetes/test/test_v1_lease.py create mode 100644 kubernetes/test/test_v1_lease_list.py create mode 100644 kubernetes/test/test_v1_lease_spec.py create mode 100644 kubernetes/test/test_v1_lifecycle.py create mode 100644 kubernetes/test/test_v1_limit_range.py create mode 100644 kubernetes/test/test_v1_limit_range_item.py create mode 100644 kubernetes/test/test_v1_limit_range_list.py create mode 100644 kubernetes/test/test_v1_limit_range_spec.py create mode 100644 kubernetes/test/test_v1_list_meta.py create mode 100644 kubernetes/test/test_v1_load_balancer_ingress.py create mode 100644 kubernetes/test/test_v1_load_balancer_status.py create mode 100644 kubernetes/test/test_v1_local_object_reference.py create mode 100644 kubernetes/test/test_v1_local_subject_access_review.py create mode 100644 kubernetes/test/test_v1_local_volume_source.py create mode 100644 kubernetes/test/test_v1_managed_fields_entry.py create mode 100644 kubernetes/test/test_v1_mutating_webhook.py create mode 100644 kubernetes/test/test_v1_mutating_webhook_configuration.py create mode 100644 kubernetes/test/test_v1_mutating_webhook_configuration_list.py create mode 100644 kubernetes/test/test_v1_namespace.py create mode 100644 kubernetes/test/test_v1_namespace_condition.py create mode 100644 kubernetes/test/test_v1_namespace_list.py create mode 100644 kubernetes/test/test_v1_namespace_spec.py create mode 100644 kubernetes/test/test_v1_namespace_status.py create mode 100644 kubernetes/test/test_v1_network_policy.py create mode 100644 kubernetes/test/test_v1_network_policy_egress_rule.py create mode 100644 kubernetes/test/test_v1_network_policy_ingress_rule.py create mode 100644 kubernetes/test/test_v1_network_policy_list.py create mode 100644 kubernetes/test/test_v1_network_policy_peer.py create mode 100644 kubernetes/test/test_v1_network_policy_port.py create mode 100644 kubernetes/test/test_v1_network_policy_spec.py create mode 100644 kubernetes/test/test_v1_nfs_volume_source.py create mode 100644 kubernetes/test/test_v1_node.py create mode 100644 kubernetes/test/test_v1_node_address.py create mode 100644 kubernetes/test/test_v1_node_affinity.py create mode 100644 kubernetes/test/test_v1_node_condition.py create mode 100644 kubernetes/test/test_v1_node_config_source.py create mode 100644 kubernetes/test/test_v1_node_config_status.py create mode 100644 kubernetes/test/test_v1_node_daemon_endpoints.py create mode 100644 kubernetes/test/test_v1_node_list.py create mode 100644 kubernetes/test/test_v1_node_selector.py create mode 100644 kubernetes/test/test_v1_node_selector_requirement.py create mode 100644 kubernetes/test/test_v1_node_selector_term.py create mode 100644 kubernetes/test/test_v1_node_spec.py create mode 100644 kubernetes/test/test_v1_node_status.py create mode 100644 kubernetes/test/test_v1_node_system_info.py create mode 100644 kubernetes/test/test_v1_non_resource_attributes.py create mode 100644 kubernetes/test/test_v1_non_resource_rule.py create mode 100644 kubernetes/test/test_v1_object_field_selector.py create mode 100644 kubernetes/test/test_v1_object_meta.py create mode 100644 kubernetes/test/test_v1_object_reference.py create mode 100644 kubernetes/test/test_v1_owner_reference.py create mode 100644 kubernetes/test/test_v1_persistent_volume.py create mode 100644 kubernetes/test/test_v1_persistent_volume_claim.py create mode 100644 kubernetes/test/test_v1_persistent_volume_claim_condition.py create mode 100644 kubernetes/test/test_v1_persistent_volume_claim_list.py create mode 100644 kubernetes/test/test_v1_persistent_volume_claim_spec.py create mode 100644 kubernetes/test/test_v1_persistent_volume_claim_status.py create mode 100644 kubernetes/test/test_v1_persistent_volume_claim_volume_source.py create mode 100644 kubernetes/test/test_v1_persistent_volume_list.py create mode 100644 kubernetes/test/test_v1_persistent_volume_spec.py create mode 100644 kubernetes/test/test_v1_persistent_volume_status.py create mode 100644 kubernetes/test/test_v1_photon_persistent_disk_volume_source.py create mode 100644 kubernetes/test/test_v1_pod.py create mode 100644 kubernetes/test/test_v1_pod_affinity.py create mode 100644 kubernetes/test/test_v1_pod_affinity_term.py create mode 100644 kubernetes/test/test_v1_pod_anti_affinity.py create mode 100644 kubernetes/test/test_v1_pod_condition.py create mode 100644 kubernetes/test/test_v1_pod_dns_config.py create mode 100644 kubernetes/test/test_v1_pod_dns_config_option.py create mode 100644 kubernetes/test/test_v1_pod_ip.py create mode 100644 kubernetes/test/test_v1_pod_list.py create mode 100644 kubernetes/test/test_v1_pod_readiness_gate.py create mode 100644 kubernetes/test/test_v1_pod_security_context.py create mode 100644 kubernetes/test/test_v1_pod_spec.py create mode 100644 kubernetes/test/test_v1_pod_status.py create mode 100644 kubernetes/test/test_v1_pod_template.py create mode 100644 kubernetes/test/test_v1_pod_template_list.py create mode 100644 kubernetes/test/test_v1_pod_template_spec.py create mode 100644 kubernetes/test/test_v1_policy_rule.py create mode 100644 kubernetes/test/test_v1_portworx_volume_source.py create mode 100644 kubernetes/test/test_v1_preconditions.py create mode 100644 kubernetes/test/test_v1_preferred_scheduling_term.py create mode 100644 kubernetes/test/test_v1_priority_class.py create mode 100644 kubernetes/test/test_v1_priority_class_list.py create mode 100644 kubernetes/test/test_v1_probe.py create mode 100644 kubernetes/test/test_v1_projected_volume_source.py create mode 100644 kubernetes/test/test_v1_quobyte_volume_source.py create mode 100644 kubernetes/test/test_v1_rbd_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_rbd_volume_source.py create mode 100644 kubernetes/test/test_v1_replica_set.py create mode 100644 kubernetes/test/test_v1_replica_set_condition.py create mode 100644 kubernetes/test/test_v1_replica_set_list.py create mode 100644 kubernetes/test/test_v1_replica_set_spec.py create mode 100644 kubernetes/test/test_v1_replica_set_status.py create mode 100644 kubernetes/test/test_v1_replication_controller.py create mode 100644 kubernetes/test/test_v1_replication_controller_condition.py create mode 100644 kubernetes/test/test_v1_replication_controller_list.py create mode 100644 kubernetes/test/test_v1_replication_controller_spec.py create mode 100644 kubernetes/test/test_v1_replication_controller_status.py create mode 100644 kubernetes/test/test_v1_resource_attributes.py create mode 100644 kubernetes/test/test_v1_resource_field_selector.py create mode 100644 kubernetes/test/test_v1_resource_quota.py create mode 100644 kubernetes/test/test_v1_resource_quota_list.py create mode 100644 kubernetes/test/test_v1_resource_quota_spec.py create mode 100644 kubernetes/test/test_v1_resource_quota_status.py create mode 100644 kubernetes/test/test_v1_resource_requirements.py create mode 100644 kubernetes/test/test_v1_resource_rule.py create mode 100644 kubernetes/test/test_v1_role.py create mode 100644 kubernetes/test/test_v1_role_binding.py create mode 100644 kubernetes/test/test_v1_role_binding_list.py create mode 100644 kubernetes/test/test_v1_role_list.py create mode 100644 kubernetes/test/test_v1_role_ref.py create mode 100644 kubernetes/test/test_v1_rolling_update_daemon_set.py create mode 100644 kubernetes/test/test_v1_rolling_update_deployment.py create mode 100644 kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py create mode 100644 kubernetes/test/test_v1_rule_with_operations.py create mode 100644 kubernetes/test/test_v1_scale.py create mode 100644 kubernetes/test/test_v1_scale_io_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_scale_io_volume_source.py create mode 100644 kubernetes/test/test_v1_scale_spec.py create mode 100644 kubernetes/test/test_v1_scale_status.py create mode 100644 kubernetes/test/test_v1_scope_selector.py create mode 100644 kubernetes/test/test_v1_scoped_resource_selector_requirement.py create mode 100644 kubernetes/test/test_v1_se_linux_options.py create mode 100644 kubernetes/test/test_v1_secret.py create mode 100644 kubernetes/test/test_v1_secret_env_source.py create mode 100644 kubernetes/test/test_v1_secret_key_selector.py create mode 100644 kubernetes/test/test_v1_secret_list.py create mode 100644 kubernetes/test/test_v1_secret_projection.py create mode 100644 kubernetes/test/test_v1_secret_reference.py create mode 100644 kubernetes/test/test_v1_secret_volume_source.py create mode 100644 kubernetes/test/test_v1_security_context.py create mode 100644 kubernetes/test/test_v1_self_subject_access_review.py create mode 100644 kubernetes/test/test_v1_self_subject_access_review_spec.py create mode 100644 kubernetes/test/test_v1_self_subject_rules_review.py create mode 100644 kubernetes/test/test_v1_self_subject_rules_review_spec.py create mode 100644 kubernetes/test/test_v1_server_address_by_client_cidr.py create mode 100644 kubernetes/test/test_v1_service.py create mode 100644 kubernetes/test/test_v1_service_account.py create mode 100644 kubernetes/test/test_v1_service_account_list.py create mode 100644 kubernetes/test/test_v1_service_account_token_projection.py create mode 100644 kubernetes/test/test_v1_service_list.py create mode 100644 kubernetes/test/test_v1_service_port.py create mode 100644 kubernetes/test/test_v1_service_spec.py create mode 100644 kubernetes/test/test_v1_service_status.py create mode 100644 kubernetes/test/test_v1_session_affinity_config.py create mode 100644 kubernetes/test/test_v1_stateful_set.py create mode 100644 kubernetes/test/test_v1_stateful_set_condition.py create mode 100644 kubernetes/test/test_v1_stateful_set_list.py create mode 100644 kubernetes/test/test_v1_stateful_set_spec.py create mode 100644 kubernetes/test/test_v1_stateful_set_status.py create mode 100644 kubernetes/test/test_v1_stateful_set_update_strategy.py create mode 100644 kubernetes/test/test_v1_status.py create mode 100644 kubernetes/test/test_v1_status_cause.py create mode 100644 kubernetes/test/test_v1_status_details.py create mode 100644 kubernetes/test/test_v1_storage_class.py create mode 100644 kubernetes/test/test_v1_storage_class_list.py create mode 100644 kubernetes/test/test_v1_storage_os_persistent_volume_source.py create mode 100644 kubernetes/test/test_v1_storage_os_volume_source.py create mode 100644 kubernetes/test/test_v1_subject.py create mode 100644 kubernetes/test/test_v1_subject_access_review.py create mode 100644 kubernetes/test/test_v1_subject_access_review_spec.py create mode 100644 kubernetes/test/test_v1_subject_access_review_status.py create mode 100644 kubernetes/test/test_v1_subject_rules_review_status.py create mode 100644 kubernetes/test/test_v1_sysctl.py create mode 100644 kubernetes/test/test_v1_taint.py create mode 100644 kubernetes/test/test_v1_tcp_socket_action.py create mode 100644 kubernetes/test/test_v1_token_request.py create mode 100644 kubernetes/test/test_v1_token_request_spec.py create mode 100644 kubernetes/test/test_v1_token_request_status.py create mode 100644 kubernetes/test/test_v1_token_review.py create mode 100644 kubernetes/test/test_v1_token_review_spec.py create mode 100644 kubernetes/test/test_v1_token_review_status.py create mode 100644 kubernetes/test/test_v1_toleration.py create mode 100644 kubernetes/test/test_v1_topology_selector_label_requirement.py create mode 100644 kubernetes/test/test_v1_topology_selector_term.py create mode 100644 kubernetes/test/test_v1_topology_spread_constraint.py create mode 100644 kubernetes/test/test_v1_typed_local_object_reference.py create mode 100644 kubernetes/test/test_v1_user_info.py create mode 100644 kubernetes/test/test_v1_validating_webhook.py create mode 100644 kubernetes/test/test_v1_validating_webhook_configuration.py create mode 100644 kubernetes/test/test_v1_validating_webhook_configuration_list.py create mode 100644 kubernetes/test/test_v1_volume.py create mode 100644 kubernetes/test/test_v1_volume_attachment.py create mode 100644 kubernetes/test/test_v1_volume_attachment_list.py create mode 100644 kubernetes/test/test_v1_volume_attachment_source.py create mode 100644 kubernetes/test/test_v1_volume_attachment_spec.py create mode 100644 kubernetes/test/test_v1_volume_attachment_status.py create mode 100644 kubernetes/test/test_v1_volume_device.py create mode 100644 kubernetes/test/test_v1_volume_error.py create mode 100644 kubernetes/test/test_v1_volume_mount.py create mode 100644 kubernetes/test/test_v1_volume_node_affinity.py create mode 100644 kubernetes/test/test_v1_volume_node_resources.py create mode 100644 kubernetes/test/test_v1_volume_projection.py create mode 100644 kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py create mode 100644 kubernetes/test/test_v1_watch_event.py create mode 100644 kubernetes/test/test_v1_webhook_conversion.py create mode 100644 kubernetes/test/test_v1_weighted_pod_affinity_term.py create mode 100644 kubernetes/test/test_v1_windows_security_context_options.py create mode 100644 kubernetes/test/test_v1alpha1_aggregation_rule.py create mode 100644 kubernetes/test/test_v1alpha1_audit_sink.py create mode 100644 kubernetes/test/test_v1alpha1_audit_sink_list.py create mode 100644 kubernetes/test/test_v1alpha1_audit_sink_spec.py create mode 100644 kubernetes/test/test_v1alpha1_cluster_role.py create mode 100644 kubernetes/test/test_v1alpha1_cluster_role_binding.py create mode 100644 kubernetes/test/test_v1alpha1_cluster_role_binding_list.py create mode 100644 kubernetes/test/test_v1alpha1_cluster_role_list.py create mode 100644 kubernetes/test/test_v1alpha1_flow_distinguisher_method.py create mode 100644 kubernetes/test/test_v1alpha1_flow_schema.py create mode 100644 kubernetes/test/test_v1alpha1_flow_schema_condition.py create mode 100644 kubernetes/test/test_v1alpha1_flow_schema_list.py create mode 100644 kubernetes/test/test_v1alpha1_flow_schema_spec.py create mode 100644 kubernetes/test/test_v1alpha1_flow_schema_status.py create mode 100644 kubernetes/test/test_v1alpha1_group_subject.py create mode 100644 kubernetes/test/test_v1alpha1_limit_response.py create mode 100644 kubernetes/test/test_v1alpha1_limited_priority_level_configuration.py create mode 100644 kubernetes/test/test_v1alpha1_non_resource_policy_rule.py create mode 100644 kubernetes/test/test_v1alpha1_overhead.py create mode 100644 kubernetes/test/test_v1alpha1_pod_preset.py create mode 100644 kubernetes/test/test_v1alpha1_pod_preset_list.py create mode 100644 kubernetes/test/test_v1alpha1_pod_preset_spec.py create mode 100644 kubernetes/test/test_v1alpha1_policy.py create mode 100644 kubernetes/test/test_v1alpha1_policy_rule.py create mode 100644 kubernetes/test/test_v1alpha1_policy_rules_with_subjects.py create mode 100644 kubernetes/test/test_v1alpha1_priority_class.py create mode 100644 kubernetes/test/test_v1alpha1_priority_class_list.py create mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration.py create mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_condition.py create mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_list.py create mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_reference.py create mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_spec.py create mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_status.py create mode 100644 kubernetes/test/test_v1alpha1_queuing_configuration.py create mode 100644 kubernetes/test/test_v1alpha1_resource_policy_rule.py create mode 100644 kubernetes/test/test_v1alpha1_role.py create mode 100644 kubernetes/test/test_v1alpha1_role_binding.py create mode 100644 kubernetes/test/test_v1alpha1_role_binding_list.py create mode 100644 kubernetes/test/test_v1alpha1_role_list.py create mode 100644 kubernetes/test/test_v1alpha1_role_ref.py create mode 100644 kubernetes/test/test_v1alpha1_runtime_class.py create mode 100644 kubernetes/test/test_v1alpha1_runtime_class_list.py create mode 100644 kubernetes/test/test_v1alpha1_runtime_class_spec.py create mode 100644 kubernetes/test/test_v1alpha1_scheduling.py create mode 100644 kubernetes/test/test_v1alpha1_service_account_subject.py create mode 100644 kubernetes/test/test_v1alpha1_service_reference.py create mode 100644 kubernetes/test/test_v1alpha1_user_subject.py create mode 100644 kubernetes/test/test_v1alpha1_volume_attachment.py create mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_list.py create mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_source.py create mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_spec.py create mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_status.py create mode 100644 kubernetes/test/test_v1alpha1_volume_error.py create mode 100644 kubernetes/test/test_v1alpha1_webhook.py create mode 100644 kubernetes/test/test_v1alpha1_webhook_client_config.py create mode 100644 kubernetes/test/test_v1alpha1_webhook_throttle_config.py create mode 100644 kubernetes/test/test_v1beta1_aggregation_rule.py create mode 100644 kubernetes/test/test_v1beta1_api_service.py create mode 100644 kubernetes/test/test_v1beta1_api_service_condition.py create mode 100644 kubernetes/test/test_v1beta1_api_service_list.py create mode 100644 kubernetes/test/test_v1beta1_api_service_spec.py create mode 100644 kubernetes/test/test_v1beta1_api_service_status.py create mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request.py create mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_condition.py create mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_list.py create mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_spec.py create mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_status.py create mode 100644 kubernetes/test/test_v1beta1_cluster_role.py create mode 100644 kubernetes/test/test_v1beta1_cluster_role_binding.py create mode 100644 kubernetes/test/test_v1beta1_cluster_role_binding_list.py create mode 100644 kubernetes/test/test_v1beta1_cluster_role_list.py create mode 100644 kubernetes/test/test_v1beta1_controller_revision.py create mode 100644 kubernetes/test/test_v1beta1_controller_revision_list.py create mode 100644 kubernetes/test/test_v1beta1_cron_job.py create mode 100644 kubernetes/test/test_v1beta1_cron_job_list.py create mode 100644 kubernetes/test/test_v1beta1_cron_job_spec.py create mode 100644 kubernetes/test/test_v1beta1_cron_job_status.py create mode 100644 kubernetes/test/test_v1beta1_csi_driver.py create mode 100644 kubernetes/test/test_v1beta1_csi_driver_list.py create mode 100644 kubernetes/test/test_v1beta1_csi_driver_spec.py create mode 100644 kubernetes/test/test_v1beta1_csi_node.py create mode 100644 kubernetes/test/test_v1beta1_csi_node_driver.py create mode 100644 kubernetes/test/test_v1beta1_csi_node_list.py create mode 100644 kubernetes/test/test_v1beta1_csi_node_spec.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_column_definition.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_conversion.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_condition.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_list.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_names.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_spec.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_status.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_version.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_subresources.py create mode 100644 kubernetes/test/test_v1beta1_custom_resource_validation.py create mode 100644 kubernetes/test/test_v1beta1_daemon_set.py create mode 100644 kubernetes/test/test_v1beta1_daemon_set_condition.py create mode 100644 kubernetes/test/test_v1beta1_daemon_set_list.py create mode 100644 kubernetes/test/test_v1beta1_daemon_set_spec.py create mode 100644 kubernetes/test/test_v1beta1_daemon_set_status.py create mode 100644 kubernetes/test/test_v1beta1_daemon_set_update_strategy.py create mode 100644 kubernetes/test/test_v1beta1_endpoint.py create mode 100644 kubernetes/test/test_v1beta1_endpoint_conditions.py create mode 100644 kubernetes/test/test_v1beta1_endpoint_port.py create mode 100644 kubernetes/test/test_v1beta1_endpoint_slice.py create mode 100644 kubernetes/test/test_v1beta1_endpoint_slice_list.py create mode 100644 kubernetes/test/test_v1beta1_event.py create mode 100644 kubernetes/test/test_v1beta1_event_list.py create mode 100644 kubernetes/test/test_v1beta1_event_series.py create mode 100644 kubernetes/test/test_v1beta1_eviction.py create mode 100644 kubernetes/test/test_v1beta1_external_documentation.py create mode 100644 kubernetes/test/test_v1beta1_ip_block.py create mode 100644 kubernetes/test/test_v1beta1_job_template_spec.py create mode 100644 kubernetes/test/test_v1beta1_json_schema_props.py create mode 100644 kubernetes/test/test_v1beta1_lease.py create mode 100644 kubernetes/test/test_v1beta1_lease_list.py create mode 100644 kubernetes/test/test_v1beta1_lease_spec.py create mode 100644 kubernetes/test/test_v1beta1_local_subject_access_review.py create mode 100644 kubernetes/test/test_v1beta1_mutating_webhook.py create mode 100644 kubernetes/test/test_v1beta1_mutating_webhook_configuration.py create mode 100644 kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py create mode 100644 kubernetes/test/test_v1beta1_network_policy.py create mode 100644 kubernetes/test/test_v1beta1_network_policy_egress_rule.py create mode 100644 kubernetes/test/test_v1beta1_network_policy_ingress_rule.py create mode 100644 kubernetes/test/test_v1beta1_network_policy_list.py create mode 100644 kubernetes/test/test_v1beta1_network_policy_peer.py create mode 100644 kubernetes/test/test_v1beta1_network_policy_port.py create mode 100644 kubernetes/test/test_v1beta1_network_policy_spec.py create mode 100644 kubernetes/test/test_v1beta1_non_resource_attributes.py create mode 100644 kubernetes/test/test_v1beta1_non_resource_rule.py create mode 100644 kubernetes/test/test_v1beta1_overhead.py create mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget.py create mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_list.py create mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py create mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_status.py create mode 100644 kubernetes/test/test_v1beta1_policy_rule.py create mode 100644 kubernetes/test/test_v1beta1_priority_class.py create mode 100644 kubernetes/test/test_v1beta1_priority_class_list.py create mode 100644 kubernetes/test/test_v1beta1_replica_set.py create mode 100644 kubernetes/test/test_v1beta1_replica_set_condition.py create mode 100644 kubernetes/test/test_v1beta1_replica_set_list.py create mode 100644 kubernetes/test/test_v1beta1_replica_set_spec.py create mode 100644 kubernetes/test/test_v1beta1_replica_set_status.py create mode 100644 kubernetes/test/test_v1beta1_resource_attributes.py create mode 100644 kubernetes/test/test_v1beta1_resource_rule.py create mode 100644 kubernetes/test/test_v1beta1_role.py create mode 100644 kubernetes/test/test_v1beta1_role_binding.py create mode 100644 kubernetes/test/test_v1beta1_role_binding_list.py create mode 100644 kubernetes/test/test_v1beta1_role_list.py create mode 100644 kubernetes/test/test_v1beta1_role_ref.py create mode 100644 kubernetes/test/test_v1beta1_rolling_update_daemon_set.py create mode 100644 kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py create mode 100644 kubernetes/test/test_v1beta1_rule_with_operations.py create mode 100644 kubernetes/test/test_v1beta1_runtime_class.py create mode 100644 kubernetes/test/test_v1beta1_runtime_class_list.py create mode 100644 kubernetes/test/test_v1beta1_scheduling.py create mode 100644 kubernetes/test/test_v1beta1_self_subject_access_review.py create mode 100644 kubernetes/test/test_v1beta1_self_subject_access_review_spec.py create mode 100644 kubernetes/test/test_v1beta1_self_subject_rules_review.py create mode 100644 kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py create mode 100644 kubernetes/test/test_v1beta1_stateful_set.py create mode 100644 kubernetes/test/test_v1beta1_stateful_set_condition.py create mode 100644 kubernetes/test/test_v1beta1_stateful_set_list.py create mode 100644 kubernetes/test/test_v1beta1_stateful_set_spec.py create mode 100644 kubernetes/test/test_v1beta1_stateful_set_status.py create mode 100644 kubernetes/test/test_v1beta1_stateful_set_update_strategy.py create mode 100644 kubernetes/test/test_v1beta1_storage_class.py create mode 100644 kubernetes/test/test_v1beta1_storage_class_list.py create mode 100644 kubernetes/test/test_v1beta1_subject.py create mode 100644 kubernetes/test/test_v1beta1_subject_access_review.py create mode 100644 kubernetes/test/test_v1beta1_subject_access_review_spec.py create mode 100644 kubernetes/test/test_v1beta1_subject_access_review_status.py create mode 100644 kubernetes/test/test_v1beta1_subject_rules_review_status.py create mode 100644 kubernetes/test/test_v1beta1_token_review.py create mode 100644 kubernetes/test/test_v1beta1_token_review_spec.py create mode 100644 kubernetes/test/test_v1beta1_token_review_status.py create mode 100644 kubernetes/test/test_v1beta1_user_info.py create mode 100644 kubernetes/test/test_v1beta1_validating_webhook.py create mode 100644 kubernetes/test/test_v1beta1_validating_webhook_configuration.py create mode 100644 kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py create mode 100644 kubernetes/test/test_v1beta1_volume_attachment.py create mode 100644 kubernetes/test/test_v1beta1_volume_attachment_list.py create mode 100644 kubernetes/test/test_v1beta1_volume_attachment_source.py create mode 100644 kubernetes/test/test_v1beta1_volume_attachment_spec.py create mode 100644 kubernetes/test/test_v1beta1_volume_attachment_status.py create mode 100644 kubernetes/test/test_v1beta1_volume_error.py create mode 100644 kubernetes/test/test_v1beta1_volume_node_resources.py create mode 100644 kubernetes/test/test_v1beta2_controller_revision.py create mode 100644 kubernetes/test/test_v1beta2_controller_revision_list.py create mode 100644 kubernetes/test/test_v1beta2_daemon_set.py create mode 100644 kubernetes/test/test_v1beta2_daemon_set_condition.py create mode 100644 kubernetes/test/test_v1beta2_daemon_set_list.py create mode 100644 kubernetes/test/test_v1beta2_daemon_set_spec.py create mode 100644 kubernetes/test/test_v1beta2_daemon_set_status.py create mode 100644 kubernetes/test/test_v1beta2_daemon_set_update_strategy.py create mode 100644 kubernetes/test/test_v1beta2_deployment.py create mode 100644 kubernetes/test/test_v1beta2_deployment_condition.py create mode 100644 kubernetes/test/test_v1beta2_deployment_list.py create mode 100644 kubernetes/test/test_v1beta2_deployment_spec.py create mode 100644 kubernetes/test/test_v1beta2_deployment_status.py create mode 100644 kubernetes/test/test_v1beta2_deployment_strategy.py create mode 100644 kubernetes/test/test_v1beta2_replica_set.py create mode 100644 kubernetes/test/test_v1beta2_replica_set_condition.py create mode 100644 kubernetes/test/test_v1beta2_replica_set_list.py create mode 100644 kubernetes/test/test_v1beta2_replica_set_spec.py create mode 100644 kubernetes/test/test_v1beta2_replica_set_status.py create mode 100644 kubernetes/test/test_v1beta2_rolling_update_daemon_set.py create mode 100644 kubernetes/test/test_v1beta2_rolling_update_deployment.py create mode 100644 kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py create mode 100644 kubernetes/test/test_v1beta2_scale.py create mode 100644 kubernetes/test/test_v1beta2_scale_spec.py create mode 100644 kubernetes/test/test_v1beta2_scale_status.py create mode 100644 kubernetes/test/test_v1beta2_stateful_set.py create mode 100644 kubernetes/test/test_v1beta2_stateful_set_condition.py create mode 100644 kubernetes/test/test_v1beta2_stateful_set_list.py create mode 100644 kubernetes/test/test_v1beta2_stateful_set_spec.py create mode 100644 kubernetes/test/test_v1beta2_stateful_set_status.py create mode 100644 kubernetes/test/test_v1beta2_stateful_set_update_strategy.py create mode 100644 kubernetes/test/test_v2alpha1_cron_job.py create mode 100644 kubernetes/test/test_v2alpha1_cron_job_list.py create mode 100644 kubernetes/test/test_v2alpha1_cron_job_spec.py create mode 100644 kubernetes/test/test_v2alpha1_cron_job_status.py create mode 100644 kubernetes/test/test_v2alpha1_job_template_spec.py create mode 100644 kubernetes/test/test_v2beta1_cross_version_object_reference.py create mode 100644 kubernetes/test/test_v2beta1_external_metric_source.py create mode 100644 kubernetes/test/test_v2beta1_external_metric_status.py create mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py create mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py create mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py create mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py create mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py create mode 100644 kubernetes/test/test_v2beta1_metric_spec.py create mode 100644 kubernetes/test/test_v2beta1_metric_status.py create mode 100644 kubernetes/test/test_v2beta1_object_metric_source.py create mode 100644 kubernetes/test/test_v2beta1_object_metric_status.py create mode 100644 kubernetes/test/test_v2beta1_pods_metric_source.py create mode 100644 kubernetes/test/test_v2beta1_pods_metric_status.py create mode 100644 kubernetes/test/test_v2beta1_resource_metric_source.py create mode 100644 kubernetes/test/test_v2beta1_resource_metric_status.py create mode 100644 kubernetes/test/test_v2beta2_cross_version_object_reference.py create mode 100644 kubernetes/test/test_v2beta2_external_metric_source.py create mode 100644 kubernetes/test/test_v2beta2_external_metric_status.py create mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py create mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py create mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py create mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py create mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py create mode 100644 kubernetes/test/test_v2beta2_metric_identifier.py create mode 100644 kubernetes/test/test_v2beta2_metric_spec.py create mode 100644 kubernetes/test/test_v2beta2_metric_status.py create mode 100644 kubernetes/test/test_v2beta2_metric_target.py create mode 100644 kubernetes/test/test_v2beta2_metric_value_status.py create mode 100644 kubernetes/test/test_v2beta2_object_metric_source.py create mode 100644 kubernetes/test/test_v2beta2_object_metric_status.py create mode 100644 kubernetes/test/test_v2beta2_pods_metric_source.py create mode 100644 kubernetes/test/test_v2beta2_pods_metric_status.py create mode 100644 kubernetes/test/test_v2beta2_resource_metric_source.py create mode 100644 kubernetes/test/test_v2beta2_resource_metric_status.py create mode 100644 kubernetes/test/test_version_api.py create mode 100644 kubernetes/test/test_version_info.py diff --git a/kubernetes/.openapi-generator/swagger.json.sha256 b/kubernetes/.openapi-generator/swagger.json.sha256 index 94a8c91a92..c0afd659c4 100644 --- a/kubernetes/.openapi-generator/swagger.json.sha256 +++ b/kubernetes/.openapi-generator/swagger.json.sha256 @@ -1 +1 @@ -92a199ec5d6f1d4a6df0bbfe509b5bbd504bba8a817a2e6a4c60e8ba2a0049e8 \ No newline at end of file +04859ba873ac89c62207ee4a60256edc321314c7d8521c5fd7fba41a1290d637 \ No newline at end of file diff --git a/kubernetes/README.md b/kubernetes/README.md index 5414033c3b..8272295856 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,8 +3,8 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: release-1.16 -- Package version: 12.0.0-snapshot +- API version: release-1.17 +- Package version: 17.0.0-snapshot - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. @@ -60,6 +60,8 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # Defining host is optional and default to http://localhost configuration.host = "http://localhost" +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -678,15 +680,15 @@ Class | Method | HTTP request | Description *CustomObjectsApi* | [**replace_namespaced_custom_object_scale**](docs/CustomObjectsApi.md#replace_namespaced_custom_object_scale) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/scale | *CustomObjectsApi* | [**replace_namespaced_custom_object_status**](docs/CustomObjectsApi.md#replace_namespaced_custom_object_status) | **PUT** /apis/{group}/{version}/namespaces/{namespace}/{plural}/{name}/status | *DiscoveryApi* | [**get_api_group**](docs/DiscoveryApi.md#get_api_group) | **GET** /apis/discovery.k8s.io/ | -*DiscoveryV1alpha1Api* | [**create_namespaced_endpoint_slice**](docs/DiscoveryV1alpha1Api.md#create_namespaced_endpoint_slice) | **POST** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices | -*DiscoveryV1alpha1Api* | [**delete_collection_namespaced_endpoint_slice**](docs/DiscoveryV1alpha1Api.md#delete_collection_namespaced_endpoint_slice) | **DELETE** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices | -*DiscoveryV1alpha1Api* | [**delete_namespaced_endpoint_slice**](docs/DiscoveryV1alpha1Api.md#delete_namespaced_endpoint_slice) | **DELETE** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name} | -*DiscoveryV1alpha1Api* | [**get_api_resources**](docs/DiscoveryV1alpha1Api.md#get_api_resources) | **GET** /apis/discovery.k8s.io/v1alpha1/ | -*DiscoveryV1alpha1Api* | [**list_endpoint_slice_for_all_namespaces**](docs/DiscoveryV1alpha1Api.md#list_endpoint_slice_for_all_namespaces) | **GET** /apis/discovery.k8s.io/v1alpha1/endpointslices | -*DiscoveryV1alpha1Api* | [**list_namespaced_endpoint_slice**](docs/DiscoveryV1alpha1Api.md#list_namespaced_endpoint_slice) | **GET** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices | -*DiscoveryV1alpha1Api* | [**patch_namespaced_endpoint_slice**](docs/DiscoveryV1alpha1Api.md#patch_namespaced_endpoint_slice) | **PATCH** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name} | -*DiscoveryV1alpha1Api* | [**read_namespaced_endpoint_slice**](docs/DiscoveryV1alpha1Api.md#read_namespaced_endpoint_slice) | **GET** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name} | -*DiscoveryV1alpha1Api* | [**replace_namespaced_endpoint_slice**](docs/DiscoveryV1alpha1Api.md#replace_namespaced_endpoint_slice) | **PUT** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name} | +*DiscoveryV1beta1Api* | [**create_namespaced_endpoint_slice**](docs/DiscoveryV1beta1Api.md#create_namespaced_endpoint_slice) | **POST** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices | +*DiscoveryV1beta1Api* | [**delete_collection_namespaced_endpoint_slice**](docs/DiscoveryV1beta1Api.md#delete_collection_namespaced_endpoint_slice) | **DELETE** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices | +*DiscoveryV1beta1Api* | [**delete_namespaced_endpoint_slice**](docs/DiscoveryV1beta1Api.md#delete_namespaced_endpoint_slice) | **DELETE** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} | +*DiscoveryV1beta1Api* | [**get_api_resources**](docs/DiscoveryV1beta1Api.md#get_api_resources) | **GET** /apis/discovery.k8s.io/v1beta1/ | +*DiscoveryV1beta1Api* | [**list_endpoint_slice_for_all_namespaces**](docs/DiscoveryV1beta1Api.md#list_endpoint_slice_for_all_namespaces) | **GET** /apis/discovery.k8s.io/v1beta1/endpointslices | +*DiscoveryV1beta1Api* | [**list_namespaced_endpoint_slice**](docs/DiscoveryV1beta1Api.md#list_namespaced_endpoint_slice) | **GET** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices | +*DiscoveryV1beta1Api* | [**patch_namespaced_endpoint_slice**](docs/DiscoveryV1beta1Api.md#patch_namespaced_endpoint_slice) | **PATCH** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} | +*DiscoveryV1beta1Api* | [**read_namespaced_endpoint_slice**](docs/DiscoveryV1beta1Api.md#read_namespaced_endpoint_slice) | **GET** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} | +*DiscoveryV1beta1Api* | [**replace_namespaced_endpoint_slice**](docs/DiscoveryV1beta1Api.md#replace_namespaced_endpoint_slice) | **PUT** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} | *EventsApi* | [**get_api_group**](docs/EventsApi.md#get_api_group) | **GET** /apis/events.k8s.io/ | *EventsV1beta1Api* | [**create_namespaced_event**](docs/EventsV1beta1Api.md#create_namespaced_event) | **POST** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events | *EventsV1beta1Api* | [**delete_collection_namespaced_event**](docs/EventsV1beta1Api.md#delete_collection_namespaced_event) | **DELETE** /apis/events.k8s.io/v1beta1/namespaces/{namespace}/events | @@ -768,6 +770,28 @@ Class | Method | HTTP request | Description *ExtensionsV1beta1Api* | [**replace_namespaced_replica_set_status**](docs/ExtensionsV1beta1Api.md#replace_namespaced_replica_set_status) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicasets/{name}/status | *ExtensionsV1beta1Api* | [**replace_namespaced_replication_controller_dummy_scale**](docs/ExtensionsV1beta1Api.md#replace_namespaced_replication_controller_dummy_scale) | **PUT** /apis/extensions/v1beta1/namespaces/{namespace}/replicationcontrollers/{name}/scale | *ExtensionsV1beta1Api* | [**replace_pod_security_policy**](docs/ExtensionsV1beta1Api.md#replace_pod_security_policy) | **PUT** /apis/extensions/v1beta1/podsecuritypolicies/{name} | +*FlowcontrolApiserverApi* | [**get_api_group**](docs/FlowcontrolApiserverApi.md#get_api_group) | **GET** /apis/flowcontrol.apiserver.k8s.io/ | +*FlowcontrolApiserverV1alpha1Api* | [**create_flow_schema**](docs/FlowcontrolApiserverV1alpha1Api.md#create_flow_schema) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas | +*FlowcontrolApiserverV1alpha1Api* | [**create_priority_level_configuration**](docs/FlowcontrolApiserverV1alpha1Api.md#create_priority_level_configuration) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations | +*FlowcontrolApiserverV1alpha1Api* | [**delete_collection_flow_schema**](docs/FlowcontrolApiserverV1alpha1Api.md#delete_collection_flow_schema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas | +*FlowcontrolApiserverV1alpha1Api* | [**delete_collection_priority_level_configuration**](docs/FlowcontrolApiserverV1alpha1Api.md#delete_collection_priority_level_configuration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations | +*FlowcontrolApiserverV1alpha1Api* | [**delete_flow_schema**](docs/FlowcontrolApiserverV1alpha1Api.md#delete_flow_schema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name} | +*FlowcontrolApiserverV1alpha1Api* | [**delete_priority_level_configuration**](docs/FlowcontrolApiserverV1alpha1Api.md#delete_priority_level_configuration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1alpha1Api* | [**get_api_resources**](docs/FlowcontrolApiserverV1alpha1Api.md#get_api_resources) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/ | +*FlowcontrolApiserverV1alpha1Api* | [**list_flow_schema**](docs/FlowcontrolApiserverV1alpha1Api.md#list_flow_schema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas | +*FlowcontrolApiserverV1alpha1Api* | [**list_priority_level_configuration**](docs/FlowcontrolApiserverV1alpha1Api.md#list_priority_level_configuration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations | +*FlowcontrolApiserverV1alpha1Api* | [**patch_flow_schema**](docs/FlowcontrolApiserverV1alpha1Api.md#patch_flow_schema) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name} | +*FlowcontrolApiserverV1alpha1Api* | [**patch_flow_schema_status**](docs/FlowcontrolApiserverV1alpha1Api.md#patch_flow_schema_status) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status | +*FlowcontrolApiserverV1alpha1Api* | [**patch_priority_level_configuration**](docs/FlowcontrolApiserverV1alpha1Api.md#patch_priority_level_configuration) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1alpha1Api* | [**patch_priority_level_configuration_status**](docs/FlowcontrolApiserverV1alpha1Api.md#patch_priority_level_configuration_status) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status | +*FlowcontrolApiserverV1alpha1Api* | [**read_flow_schema**](docs/FlowcontrolApiserverV1alpha1Api.md#read_flow_schema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name} | +*FlowcontrolApiserverV1alpha1Api* | [**read_flow_schema_status**](docs/FlowcontrolApiserverV1alpha1Api.md#read_flow_schema_status) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status | +*FlowcontrolApiserverV1alpha1Api* | [**read_priority_level_configuration**](docs/FlowcontrolApiserverV1alpha1Api.md#read_priority_level_configuration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1alpha1Api* | [**read_priority_level_configuration_status**](docs/FlowcontrolApiserverV1alpha1Api.md#read_priority_level_configuration_status) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status | +*FlowcontrolApiserverV1alpha1Api* | [**replace_flow_schema**](docs/FlowcontrolApiserverV1alpha1Api.md#replace_flow_schema) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name} | +*FlowcontrolApiserverV1alpha1Api* | [**replace_flow_schema_status**](docs/FlowcontrolApiserverV1alpha1Api.md#replace_flow_schema_status) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status | +*FlowcontrolApiserverV1alpha1Api* | [**replace_priority_level_configuration**](docs/FlowcontrolApiserverV1alpha1Api.md#replace_priority_level_configuration) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1alpha1Api* | [**replace_priority_level_configuration_status**](docs/FlowcontrolApiserverV1alpha1Api.md#replace_priority_level_configuration_status) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status | *LogsApi* | [**log_file_handler**](docs/LogsApi.md#log_file_handler) | **GET** /logs/{logpath} | *LogsApi* | [**log_file_list_handler**](docs/LogsApi.md#log_file_list_handler) | **GET** /logs/ | *NetworkingApi* | [**get_api_group**](docs/NetworkingApi.md#get_api_group) | **GET** /apis/networking.k8s.io/ | @@ -959,21 +983,28 @@ Class | Method | HTTP request | Description *SettingsV1alpha1Api* | [**read_namespaced_pod_preset**](docs/SettingsV1alpha1Api.md#read_namespaced_pod_preset) | **GET** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} | *SettingsV1alpha1Api* | [**replace_namespaced_pod_preset**](docs/SettingsV1alpha1Api.md#replace_namespaced_pod_preset) | **PUT** /apis/settings.k8s.io/v1alpha1/namespaces/{namespace}/podpresets/{name} | *StorageApi* | [**get_api_group**](docs/StorageApi.md#get_api_group) | **GET** /apis/storage.k8s.io/ | +*StorageV1Api* | [**create_csi_node**](docs/StorageV1Api.md#create_csi_node) | **POST** /apis/storage.k8s.io/v1/csinodes | *StorageV1Api* | [**create_storage_class**](docs/StorageV1Api.md#create_storage_class) | **POST** /apis/storage.k8s.io/v1/storageclasses | *StorageV1Api* | [**create_volume_attachment**](docs/StorageV1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1/volumeattachments | +*StorageV1Api* | [**delete_collection_csi_node**](docs/StorageV1Api.md#delete_collection_csi_node) | **DELETE** /apis/storage.k8s.io/v1/csinodes | *StorageV1Api* | [**delete_collection_storage_class**](docs/StorageV1Api.md#delete_collection_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses | *StorageV1Api* | [**delete_collection_volume_attachment**](docs/StorageV1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments | +*StorageV1Api* | [**delete_csi_node**](docs/StorageV1Api.md#delete_csi_node) | **DELETE** /apis/storage.k8s.io/v1/csinodes/{name} | *StorageV1Api* | [**delete_storage_class**](docs/StorageV1Api.md#delete_storage_class) | **DELETE** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1Api* | [**delete_volume_attachment**](docs/StorageV1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**get_api_resources**](docs/StorageV1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1/ | +*StorageV1Api* | [**list_csi_node**](docs/StorageV1Api.md#list_csi_node) | **GET** /apis/storage.k8s.io/v1/csinodes | *StorageV1Api* | [**list_storage_class**](docs/StorageV1Api.md#list_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses | *StorageV1Api* | [**list_volume_attachment**](docs/StorageV1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments | +*StorageV1Api* | [**patch_csi_node**](docs/StorageV1Api.md#patch_csi_node) | **PATCH** /apis/storage.k8s.io/v1/csinodes/{name} | *StorageV1Api* | [**patch_storage_class**](docs/StorageV1Api.md#patch_storage_class) | **PATCH** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1Api* | [**patch_volume_attachment**](docs/StorageV1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**patch_volume_attachment_status**](docs/StorageV1Api.md#patch_volume_attachment_status) | **PATCH** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | +*StorageV1Api* | [**read_csi_node**](docs/StorageV1Api.md#read_csi_node) | **GET** /apis/storage.k8s.io/v1/csinodes/{name} | *StorageV1Api* | [**read_storage_class**](docs/StorageV1Api.md#read_storage_class) | **GET** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1Api* | [**read_volume_attachment**](docs/StorageV1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**read_volume_attachment_status**](docs/StorageV1Api.md#read_volume_attachment_status) | **GET** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | +*StorageV1Api* | [**replace_csi_node**](docs/StorageV1Api.md#replace_csi_node) | **PUT** /apis/storage.k8s.io/v1/csinodes/{name} | *StorageV1Api* | [**replace_storage_class**](docs/StorageV1Api.md#replace_storage_class) | **PUT** /apis/storage.k8s.io/v1/storageclasses/{name} | *StorageV1Api* | [**replace_volume_attachment**](docs/StorageV1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**replace_volume_attachment_status**](docs/StorageV1Api.md#replace_volume_attachment_status) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | @@ -1076,6 +1107,7 @@ Class | Method | HTTP request | Description - [ExtensionsV1beta1ScaleSpec](docs/ExtensionsV1beta1ScaleSpec.md) - [ExtensionsV1beta1ScaleStatus](docs/ExtensionsV1beta1ScaleStatus.md) - [ExtensionsV1beta1SupplementalGroupsStrategyOptions](docs/ExtensionsV1beta1SupplementalGroupsStrategyOptions.md) + - [FlowcontrolV1alpha1Subject](docs/FlowcontrolV1alpha1Subject.md) - [NetworkingV1beta1HTTPIngressPath](docs/NetworkingV1beta1HTTPIngressPath.md) - [NetworkingV1beta1HTTPIngressRuleValue](docs/NetworkingV1beta1HTTPIngressRuleValue.md) - [NetworkingV1beta1Ingress](docs/NetworkingV1beta1Ingress.md) @@ -1099,6 +1131,7 @@ Class | Method | HTTP request | Description - [PolicyV1beta1RuntimeClassStrategyOptions](docs/PolicyV1beta1RuntimeClassStrategyOptions.md) - [PolicyV1beta1SELinuxStrategyOptions](docs/PolicyV1beta1SELinuxStrategyOptions.md) - [PolicyV1beta1SupplementalGroupsStrategyOptions](docs/PolicyV1beta1SupplementalGroupsStrategyOptions.md) + - [RbacV1alpha1Subject](docs/RbacV1alpha1Subject.md) - [V1APIGroup](docs/V1APIGroup.md) - [V1APIGroupList](docs/V1APIGroupList.md) - [V1APIResource](docs/V1APIResource.md) @@ -1118,6 +1151,10 @@ Class | Method | HTTP request | Description - [V1AzureFileVolumeSource](docs/V1AzureFileVolumeSource.md) - [V1Binding](docs/V1Binding.md) - [V1BoundObjectReference](docs/V1BoundObjectReference.md) + - [V1CSINode](docs/V1CSINode.md) + - [V1CSINodeDriver](docs/V1CSINodeDriver.md) + - [V1CSINodeList](docs/V1CSINodeList.md) + - [V1CSINodeSpec](docs/V1CSINodeSpec.md) - [V1CSIPersistentVolumeSource](docs/V1CSIPersistentVolumeSource.md) - [V1CSIVolumeSource](docs/V1CSIVolumeSource.md) - [V1Capabilities](docs/V1Capabilities.md) @@ -1418,6 +1455,7 @@ Class | Method | HTTP request | Description - [V1VolumeError](docs/V1VolumeError.md) - [V1VolumeMount](docs/V1VolumeMount.md) - [V1VolumeNodeAffinity](docs/V1VolumeNodeAffinity.md) + - [V1VolumeNodeResources](docs/V1VolumeNodeResources.md) - [V1VolumeProjection](docs/V1VolumeProjection.md) - [V1VsphereVirtualDiskVolumeSource](docs/V1VsphereVirtualDiskVolumeSource.md) - [V1WatchEvent](docs/V1WatchEvent.md) @@ -1432,19 +1470,33 @@ Class | Method | HTTP request | Description - [V1alpha1ClusterRoleBinding](docs/V1alpha1ClusterRoleBinding.md) - [V1alpha1ClusterRoleBindingList](docs/V1alpha1ClusterRoleBindingList.md) - [V1alpha1ClusterRoleList](docs/V1alpha1ClusterRoleList.md) - - [V1alpha1Endpoint](docs/V1alpha1Endpoint.md) - - [V1alpha1EndpointConditions](docs/V1alpha1EndpointConditions.md) - - [V1alpha1EndpointPort](docs/V1alpha1EndpointPort.md) - - [V1alpha1EndpointSlice](docs/V1alpha1EndpointSlice.md) - - [V1alpha1EndpointSliceList](docs/V1alpha1EndpointSliceList.md) + - [V1alpha1FlowDistinguisherMethod](docs/V1alpha1FlowDistinguisherMethod.md) + - [V1alpha1FlowSchema](docs/V1alpha1FlowSchema.md) + - [V1alpha1FlowSchemaCondition](docs/V1alpha1FlowSchemaCondition.md) + - [V1alpha1FlowSchemaList](docs/V1alpha1FlowSchemaList.md) + - [V1alpha1FlowSchemaSpec](docs/V1alpha1FlowSchemaSpec.md) + - [V1alpha1FlowSchemaStatus](docs/V1alpha1FlowSchemaStatus.md) + - [V1alpha1GroupSubject](docs/V1alpha1GroupSubject.md) + - [V1alpha1LimitResponse](docs/V1alpha1LimitResponse.md) + - [V1alpha1LimitedPriorityLevelConfiguration](docs/V1alpha1LimitedPriorityLevelConfiguration.md) + - [V1alpha1NonResourcePolicyRule](docs/V1alpha1NonResourcePolicyRule.md) - [V1alpha1Overhead](docs/V1alpha1Overhead.md) - [V1alpha1PodPreset](docs/V1alpha1PodPreset.md) - [V1alpha1PodPresetList](docs/V1alpha1PodPresetList.md) - [V1alpha1PodPresetSpec](docs/V1alpha1PodPresetSpec.md) - [V1alpha1Policy](docs/V1alpha1Policy.md) - [V1alpha1PolicyRule](docs/V1alpha1PolicyRule.md) + - [V1alpha1PolicyRulesWithSubjects](docs/V1alpha1PolicyRulesWithSubjects.md) - [V1alpha1PriorityClass](docs/V1alpha1PriorityClass.md) - [V1alpha1PriorityClassList](docs/V1alpha1PriorityClassList.md) + - [V1alpha1PriorityLevelConfiguration](docs/V1alpha1PriorityLevelConfiguration.md) + - [V1alpha1PriorityLevelConfigurationCondition](docs/V1alpha1PriorityLevelConfigurationCondition.md) + - [V1alpha1PriorityLevelConfigurationList](docs/V1alpha1PriorityLevelConfigurationList.md) + - [V1alpha1PriorityLevelConfigurationReference](docs/V1alpha1PriorityLevelConfigurationReference.md) + - [V1alpha1PriorityLevelConfigurationSpec](docs/V1alpha1PriorityLevelConfigurationSpec.md) + - [V1alpha1PriorityLevelConfigurationStatus](docs/V1alpha1PriorityLevelConfigurationStatus.md) + - [V1alpha1QueuingConfiguration](docs/V1alpha1QueuingConfiguration.md) + - [V1alpha1ResourcePolicyRule](docs/V1alpha1ResourcePolicyRule.md) - [V1alpha1Role](docs/V1alpha1Role.md) - [V1alpha1RoleBinding](docs/V1alpha1RoleBinding.md) - [V1alpha1RoleBindingList](docs/V1alpha1RoleBindingList.md) @@ -1454,8 +1506,9 @@ Class | Method | HTTP request | Description - [V1alpha1RuntimeClassList](docs/V1alpha1RuntimeClassList.md) - [V1alpha1RuntimeClassSpec](docs/V1alpha1RuntimeClassSpec.md) - [V1alpha1Scheduling](docs/V1alpha1Scheduling.md) + - [V1alpha1ServiceAccountSubject](docs/V1alpha1ServiceAccountSubject.md) - [V1alpha1ServiceReference](docs/V1alpha1ServiceReference.md) - - [V1alpha1Subject](docs/V1alpha1Subject.md) + - [V1alpha1UserSubject](docs/V1alpha1UserSubject.md) - [V1alpha1VolumeAttachment](docs/V1alpha1VolumeAttachment.md) - [V1alpha1VolumeAttachmentList](docs/V1alpha1VolumeAttachmentList.md) - [V1alpha1VolumeAttachmentSource](docs/V1alpha1VolumeAttachmentSource.md) @@ -1511,6 +1564,11 @@ Class | Method | HTTP request | Description - [V1beta1DaemonSetSpec](docs/V1beta1DaemonSetSpec.md) - [V1beta1DaemonSetStatus](docs/V1beta1DaemonSetStatus.md) - [V1beta1DaemonSetUpdateStrategy](docs/V1beta1DaemonSetUpdateStrategy.md) + - [V1beta1Endpoint](docs/V1beta1Endpoint.md) + - [V1beta1EndpointConditions](docs/V1beta1EndpointConditions.md) + - [V1beta1EndpointPort](docs/V1beta1EndpointPort.md) + - [V1beta1EndpointSlice](docs/V1beta1EndpointSlice.md) + - [V1beta1EndpointSliceList](docs/V1beta1EndpointSliceList.md) - [V1beta1Event](docs/V1beta1Event.md) - [V1beta1EventList](docs/V1beta1EventList.md) - [V1beta1EventSeries](docs/V1beta1EventSeries.md) diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index 3cd12e801b..e8a0e2d633 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "12.0.0-snapshot" +__version__ = "17.0.0-snapshot" import kubernetes.client import kubernetes.config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 3159d9534d..0c10454110 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -7,14 +7,14 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import -__version__ = "12.0.0-snapshot" +__version__ = "17.0.0-snapshot" # import apis into sdk package from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi @@ -56,11 +56,13 @@ from kubernetes.client.api.core_v1_api import CoreV1Api from kubernetes.client.api.custom_objects_api import CustomObjectsApi from kubernetes.client.api.discovery_api import DiscoveryApi -from kubernetes.client.api.discovery_v1alpha1_api import DiscoveryV1alpha1Api +from kubernetes.client.api.discovery_v1beta1_api import DiscoveryV1beta1Api from kubernetes.client.api.events_api import EventsApi from kubernetes.client.api.events_v1beta1_api import EventsV1beta1Api from kubernetes.client.api.extensions_api import ExtensionsApi from kubernetes.client.api.extensions_v1beta1_api import ExtensionsV1beta1Api +from kubernetes.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi +from kubernetes.client.api.flowcontrol_apiserver_v1alpha1_api import FlowcontrolApiserverV1alpha1Api from kubernetes.client.api.logs_api import LogsApi from kubernetes.client.api.networking_api import NetworkingApi from kubernetes.client.api.networking_v1_api import NetworkingV1Api @@ -152,6 +154,7 @@ from kubernetes.client.models.extensions_v1beta1_scale_spec import ExtensionsV1beta1ScaleSpec from kubernetes.client.models.extensions_v1beta1_scale_status import ExtensionsV1beta1ScaleStatus from kubernetes.client.models.extensions_v1beta1_supplemental_groups_strategy_options import ExtensionsV1beta1SupplementalGroupsStrategyOptions +from kubernetes.client.models.flowcontrol_v1alpha1_subject import FlowcontrolV1alpha1Subject from kubernetes.client.models.networking_v1beta1_http_ingress_path import NetworkingV1beta1HTTPIngressPath from kubernetes.client.models.networking_v1beta1_http_ingress_rule_value import NetworkingV1beta1HTTPIngressRuleValue from kubernetes.client.models.networking_v1beta1_ingress import NetworkingV1beta1Ingress @@ -175,6 +178,7 @@ from kubernetes.client.models.policy_v1beta1_runtime_class_strategy_options import PolicyV1beta1RuntimeClassStrategyOptions from kubernetes.client.models.policy_v1beta1_se_linux_strategy_options import PolicyV1beta1SELinuxStrategyOptions from kubernetes.client.models.policy_v1beta1_supplemental_groups_strategy_options import PolicyV1beta1SupplementalGroupsStrategyOptions +from kubernetes.client.models.rbac_v1alpha1_subject import RbacV1alpha1Subject from kubernetes.client.models.v1_api_group import V1APIGroup from kubernetes.client.models.v1_api_group_list import V1APIGroupList from kubernetes.client.models.v1_api_resource import V1APIResource @@ -194,6 +198,10 @@ from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource from kubernetes.client.models.v1_binding import V1Binding from kubernetes.client.models.v1_bound_object_reference import V1BoundObjectReference +from kubernetes.client.models.v1_csi_node import V1CSINode +from kubernetes.client.models.v1_csi_node_driver import V1CSINodeDriver +from kubernetes.client.models.v1_csi_node_list import V1CSINodeList +from kubernetes.client.models.v1_csi_node_spec import V1CSINodeSpec from kubernetes.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource from kubernetes.client.models.v1_csi_volume_source import V1CSIVolumeSource from kubernetes.client.models.v1_capabilities import V1Capabilities @@ -494,6 +502,7 @@ from kubernetes.client.models.v1_volume_error import V1VolumeError from kubernetes.client.models.v1_volume_mount import V1VolumeMount from kubernetes.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity +from kubernetes.client.models.v1_volume_node_resources import V1VolumeNodeResources from kubernetes.client.models.v1_volume_projection import V1VolumeProjection from kubernetes.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource from kubernetes.client.models.v1_watch_event import V1WatchEvent @@ -508,19 +517,33 @@ from kubernetes.client.models.v1alpha1_cluster_role_binding import V1alpha1ClusterRoleBinding from kubernetes.client.models.v1alpha1_cluster_role_binding_list import V1alpha1ClusterRoleBindingList from kubernetes.client.models.v1alpha1_cluster_role_list import V1alpha1ClusterRoleList -from kubernetes.client.models.v1alpha1_endpoint import V1alpha1Endpoint -from kubernetes.client.models.v1alpha1_endpoint_conditions import V1alpha1EndpointConditions -from kubernetes.client.models.v1alpha1_endpoint_port import V1alpha1EndpointPort -from kubernetes.client.models.v1alpha1_endpoint_slice import V1alpha1EndpointSlice -from kubernetes.client.models.v1alpha1_endpoint_slice_list import V1alpha1EndpointSliceList +from kubernetes.client.models.v1alpha1_flow_distinguisher_method import V1alpha1FlowDistinguisherMethod +from kubernetes.client.models.v1alpha1_flow_schema import V1alpha1FlowSchema +from kubernetes.client.models.v1alpha1_flow_schema_condition import V1alpha1FlowSchemaCondition +from kubernetes.client.models.v1alpha1_flow_schema_list import V1alpha1FlowSchemaList +from kubernetes.client.models.v1alpha1_flow_schema_spec import V1alpha1FlowSchemaSpec +from kubernetes.client.models.v1alpha1_flow_schema_status import V1alpha1FlowSchemaStatus +from kubernetes.client.models.v1alpha1_group_subject import V1alpha1GroupSubject +from kubernetes.client.models.v1alpha1_limit_response import V1alpha1LimitResponse +from kubernetes.client.models.v1alpha1_limited_priority_level_configuration import V1alpha1LimitedPriorityLevelConfiguration +from kubernetes.client.models.v1alpha1_non_resource_policy_rule import V1alpha1NonResourcePolicyRule from kubernetes.client.models.v1alpha1_overhead import V1alpha1Overhead from kubernetes.client.models.v1alpha1_pod_preset import V1alpha1PodPreset from kubernetes.client.models.v1alpha1_pod_preset_list import V1alpha1PodPresetList from kubernetes.client.models.v1alpha1_pod_preset_spec import V1alpha1PodPresetSpec from kubernetes.client.models.v1alpha1_policy import V1alpha1Policy from kubernetes.client.models.v1alpha1_policy_rule import V1alpha1PolicyRule +from kubernetes.client.models.v1alpha1_policy_rules_with_subjects import V1alpha1PolicyRulesWithSubjects from kubernetes.client.models.v1alpha1_priority_class import V1alpha1PriorityClass from kubernetes.client.models.v1alpha1_priority_class_list import V1alpha1PriorityClassList +from kubernetes.client.models.v1alpha1_priority_level_configuration import V1alpha1PriorityLevelConfiguration +from kubernetes.client.models.v1alpha1_priority_level_configuration_condition import V1alpha1PriorityLevelConfigurationCondition +from kubernetes.client.models.v1alpha1_priority_level_configuration_list import V1alpha1PriorityLevelConfigurationList +from kubernetes.client.models.v1alpha1_priority_level_configuration_reference import V1alpha1PriorityLevelConfigurationReference +from kubernetes.client.models.v1alpha1_priority_level_configuration_spec import V1alpha1PriorityLevelConfigurationSpec +from kubernetes.client.models.v1alpha1_priority_level_configuration_status import V1alpha1PriorityLevelConfigurationStatus +from kubernetes.client.models.v1alpha1_queuing_configuration import V1alpha1QueuingConfiguration +from kubernetes.client.models.v1alpha1_resource_policy_rule import V1alpha1ResourcePolicyRule from kubernetes.client.models.v1alpha1_role import V1alpha1Role from kubernetes.client.models.v1alpha1_role_binding import V1alpha1RoleBinding from kubernetes.client.models.v1alpha1_role_binding_list import V1alpha1RoleBindingList @@ -530,8 +553,9 @@ from kubernetes.client.models.v1alpha1_runtime_class_list import V1alpha1RuntimeClassList from kubernetes.client.models.v1alpha1_runtime_class_spec import V1alpha1RuntimeClassSpec from kubernetes.client.models.v1alpha1_scheduling import V1alpha1Scheduling +from kubernetes.client.models.v1alpha1_service_account_subject import V1alpha1ServiceAccountSubject from kubernetes.client.models.v1alpha1_service_reference import V1alpha1ServiceReference -from kubernetes.client.models.v1alpha1_subject import V1alpha1Subject +from kubernetes.client.models.v1alpha1_user_subject import V1alpha1UserSubject from kubernetes.client.models.v1alpha1_volume_attachment import V1alpha1VolumeAttachment from kubernetes.client.models.v1alpha1_volume_attachment_list import V1alpha1VolumeAttachmentList from kubernetes.client.models.v1alpha1_volume_attachment_source import V1alpha1VolumeAttachmentSource @@ -587,6 +611,11 @@ from kubernetes.client.models.v1beta1_daemon_set_spec import V1beta1DaemonSetSpec from kubernetes.client.models.v1beta1_daemon_set_status import V1beta1DaemonSetStatus from kubernetes.client.models.v1beta1_daemon_set_update_strategy import V1beta1DaemonSetUpdateStrategy +from kubernetes.client.models.v1beta1_endpoint import V1beta1Endpoint +from kubernetes.client.models.v1beta1_endpoint_conditions import V1beta1EndpointConditions +from kubernetes.client.models.v1beta1_endpoint_port import V1beta1EndpointPort +from kubernetes.client.models.v1beta1_endpoint_slice import V1beta1EndpointSlice +from kubernetes.client.models.v1beta1_endpoint_slice_list import V1beta1EndpointSliceList from kubernetes.client.models.v1beta1_event import V1beta1Event from kubernetes.client.models.v1beta1_event_list import V1beta1EventList from kubernetes.client.models.v1beta1_event_series import V1beta1EventSeries diff --git a/kubernetes/client/api/__init__.py b/kubernetes/client/api/__init__.py index 4d917572bd..c5e7b329fe 100644 --- a/kubernetes/client/api/__init__.py +++ b/kubernetes/client/api/__init__.py @@ -42,11 +42,13 @@ from kubernetes.client.api.core_v1_api import CoreV1Api from kubernetes.client.api.custom_objects_api import CustomObjectsApi from kubernetes.client.api.discovery_api import DiscoveryApi -from kubernetes.client.api.discovery_v1alpha1_api import DiscoveryV1alpha1Api +from kubernetes.client.api.discovery_v1beta1_api import DiscoveryV1beta1Api from kubernetes.client.api.events_api import EventsApi from kubernetes.client.api.events_v1beta1_api import EventsV1beta1Api from kubernetes.client.api.extensions_api import ExtensionsApi from kubernetes.client.api.extensions_v1beta1_api import ExtensionsV1beta1Api +from kubernetes.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi +from kubernetes.client.api.flowcontrol_apiserver_v1alpha1_api import FlowcontrolApiserverV1alpha1Api from kubernetes.client.api.logs_api import LogsApi from kubernetes.client.api.networking_api import NetworkingApi from kubernetes.client.api.networking_v1_api import NetworkingV1Api diff --git a/kubernetes/client/api/admissionregistration_api.py b/kubernetes/client/api/admissionregistration_api.py index 83fa6abf0c..36b5b0ea13 100644 --- a/kubernetes/client/api/admissionregistration_api.py +++ b/kubernetes/client/api/admissionregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/admissionregistration_v1_api.py b/kubernetes/client/api/admissionregistration_v1_api.py index 2bb8900c99..c39f3c8a20 100644 --- a/kubernetes/client/api/admissionregistration_v1_api.py +++ b/kubernetes/client/api/admissionregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -1028,7 +1028,7 @@ def list_mutating_webhook_configuration(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1061,7 +1061,7 @@ def list_mutating_webhook_configuration_with_http_info(self, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1178,7 +1178,7 @@ def list_validating_webhook_configuration(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1211,7 +1211,7 @@ def list_validating_webhook_configuration_with_http_info(self, **kwargs): # noq :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/admissionregistration_v1beta1_api.py b/kubernetes/client/api/admissionregistration_v1beta1_api.py index 7e38d03154..a773f50c43 100644 --- a/kubernetes/client/api/admissionregistration_v1beta1_api.py +++ b/kubernetes/client/api/admissionregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -1028,7 +1028,7 @@ def list_mutating_webhook_configuration(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1061,7 +1061,7 @@ def list_mutating_webhook_configuration_with_http_info(self, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1178,7 +1178,7 @@ def list_validating_webhook_configuration(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1211,7 +1211,7 @@ def list_validating_webhook_configuration_with_http_info(self, **kwargs): # noq :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/apiextensions_api.py b/kubernetes/client/api/apiextensions_api.py index 293c45934b..66b346c494 100644 --- a/kubernetes/client/api/apiextensions_api.py +++ b/kubernetes/client/api/apiextensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiextensions_v1_api.py b/kubernetes/client/api/apiextensions_v1_api.py index 89f98d1a3c..24025954ac 100644 --- a/kubernetes/client/api/apiextensions_v1_api.py +++ b/kubernetes/client/api/apiextensions_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_custom_resource_definition(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_custom_resource_definition_with_http_info(self, **kwargs): # noqa: E50 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/apiextensions_v1beta1_api.py b/kubernetes/client/api/apiextensions_v1beta1_api.py index 9b86d763e6..486cf46542 100644 --- a/kubernetes/client/api/apiextensions_v1beta1_api.py +++ b/kubernetes/client/api/apiextensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_custom_resource_definition(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_custom_resource_definition_with_http_info(self, **kwargs): # noqa: E50 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/apiregistration_api.py b/kubernetes/client/api/apiregistration_api.py index bb8ed70e8f..1457ca6eb4 100644 --- a/kubernetes/client/api/apiregistration_api.py +++ b/kubernetes/client/api/apiregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apiregistration_v1_api.py b/kubernetes/client/api/apiregistration_v1_api.py index 1fd3d3fcf1..4a193aabaf 100644 --- a/kubernetes/client/api/apiregistration_v1_api.py +++ b/kubernetes/client/api/apiregistration_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_api_service(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_api_service_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/apiregistration_v1beta1_api.py b/kubernetes/client/api/apiregistration_v1beta1_api.py index 2eb06243e1..ab0a5eaeda 100644 --- a/kubernetes/client/api/apiregistration_v1beta1_api.py +++ b/kubernetes/client/api/apiregistration_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_api_service(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_api_service_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/apis_api.py b/kubernetes/client/api/apis_api.py index 22bd88c337..80fd293819 100644 --- a/kubernetes/client/api/apis_api.py +++ b/kubernetes/client/api/apis_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apps_api.py b/kubernetes/client/api/apps_api.py index 80825d0c52..83dc97a90b 100644 --- a/kubernetes/client/api/apps_api.py +++ b/kubernetes/client/api/apps_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/apps_v1_api.py b/kubernetes/client/api/apps_v1_api.py index b49e57b34d..42085488bb 100644 --- a/kubernetes/client/api/apps_v1_api.py +++ b/kubernetes/client/api/apps_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -2476,7 +2476,7 @@ def list_controller_revision_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2509,7 +2509,7 @@ def list_controller_revision_for_all_namespaces_with_http_info(self, **kwargs): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2626,7 +2626,7 @@ def list_daemon_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2659,7 +2659,7 @@ def list_daemon_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2776,7 +2776,7 @@ def list_deployment_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2809,7 +2809,7 @@ def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2928,7 +2928,7 @@ def list_namespaced_controller_revision(self, namespace, **kwargs): # noqa: E50 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2962,7 +2962,7 @@ def list_namespaced_controller_revision_with_http_info(self, namespace, **kwargs :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3087,7 +3087,7 @@ def list_namespaced_daemon_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3121,7 +3121,7 @@ def list_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3246,7 +3246,7 @@ def list_namespaced_deployment(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3280,7 +3280,7 @@ def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3405,7 +3405,7 @@ def list_namespaced_replica_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3439,7 +3439,7 @@ def list_namespaced_replica_set_with_http_info(self, namespace, **kwargs): # no :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3564,7 +3564,7 @@ def list_namespaced_stateful_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3598,7 +3598,7 @@ def list_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): # n :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3721,7 +3721,7 @@ def list_replica_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3754,7 +3754,7 @@ def list_replica_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3871,7 +3871,7 @@ def list_stateful_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3904,7 +3904,7 @@ def list_stateful_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/apps_v1beta1_api.py b/kubernetes/client/api/apps_v1beta1_api.py index 5296f69201..25b3c70dcb 100644 --- a/kubernetes/client/api/apps_v1beta1_api.py +++ b/kubernetes/client/api/apps_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -1693,7 +1693,7 @@ def list_controller_revision_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1726,7 +1726,7 @@ def list_controller_revision_for_all_namespaces_with_http_info(self, **kwargs): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1843,7 +1843,7 @@ def list_deployment_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1876,7 +1876,7 @@ def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1995,7 +1995,7 @@ def list_namespaced_controller_revision(self, namespace, **kwargs): # noqa: E50 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2029,7 +2029,7 @@ def list_namespaced_controller_revision_with_http_info(self, namespace, **kwargs :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2154,7 +2154,7 @@ def list_namespaced_deployment(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2188,7 +2188,7 @@ def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2313,7 +2313,7 @@ def list_namespaced_stateful_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2347,7 +2347,7 @@ def list_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): # n :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2470,7 +2470,7 @@ def list_stateful_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2503,7 +2503,7 @@ def list_stateful_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/apps_v1beta2_api.py b/kubernetes/client/api/apps_v1beta2_api.py index f284ee6936..19e1021536 100644 --- a/kubernetes/client/api/apps_v1beta2_api.py +++ b/kubernetes/client/api/apps_v1beta2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -2476,7 +2476,7 @@ def list_controller_revision_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2509,7 +2509,7 @@ def list_controller_revision_for_all_namespaces_with_http_info(self, **kwargs): >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2626,7 +2626,7 @@ def list_daemon_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2659,7 +2659,7 @@ def list_daemon_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2776,7 +2776,7 @@ def list_deployment_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2809,7 +2809,7 @@ def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2928,7 +2928,7 @@ def list_namespaced_controller_revision(self, namespace, **kwargs): # noqa: E50 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2962,7 +2962,7 @@ def list_namespaced_controller_revision_with_http_info(self, namespace, **kwargs :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3087,7 +3087,7 @@ def list_namespaced_daemon_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3121,7 +3121,7 @@ def list_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3246,7 +3246,7 @@ def list_namespaced_deployment(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3280,7 +3280,7 @@ def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3405,7 +3405,7 @@ def list_namespaced_replica_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3439,7 +3439,7 @@ def list_namespaced_replica_set_with_http_info(self, namespace, **kwargs): # no :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3564,7 +3564,7 @@ def list_namespaced_stateful_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3598,7 +3598,7 @@ def list_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): # n :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3721,7 +3721,7 @@ def list_replica_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3754,7 +3754,7 @@ def list_replica_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3871,7 +3871,7 @@ def list_stateful_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3904,7 +3904,7 @@ def list_stateful_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/auditregistration_api.py b/kubernetes/client/api/auditregistration_api.py index 742a76278f..4684147231 100644 --- a/kubernetes/client/api/auditregistration_api.py +++ b/kubernetes/client/api/auditregistration_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/auditregistration_v1alpha1_api.py b/kubernetes/client/api/auditregistration_v1alpha1_api.py index 12cec77c3f..74182e322f 100644 --- a/kubernetes/client/api/auditregistration_v1alpha1_api.py +++ b/kubernetes/client/api/auditregistration_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_audit_sink(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_audit_sink_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/authentication_api.py b/kubernetes/client/api/authentication_api.py index ea7b91f1e3..bd4e2b956d 100644 --- a/kubernetes/client/api/authentication_api.py +++ b/kubernetes/client/api/authentication_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_v1_api.py b/kubernetes/client/api/authentication_v1_api.py index e73e2e6627..cb39ec2044 100644 --- a/kubernetes/client/api/authentication_v1_api.py +++ b/kubernetes/client/api/authentication_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authentication_v1beta1_api.py b/kubernetes/client/api/authentication_v1beta1_api.py index 456989dd71..6fc9626eb3 100644 --- a/kubernetes/client/api/authentication_v1beta1_api.py +++ b/kubernetes/client/api/authentication_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authorization_api.py b/kubernetes/client/api/authorization_api.py index 395f077060..e9af51a844 100644 --- a/kubernetes/client/api/authorization_api.py +++ b/kubernetes/client/api/authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authorization_v1_api.py b/kubernetes/client/api/authorization_v1_api.py index 8324e5156b..ecf33cf6ac 100644 --- a/kubernetes/client/api/authorization_v1_api.py +++ b/kubernetes/client/api/authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/authorization_v1beta1_api.py b/kubernetes/client/api/authorization_v1beta1_api.py index 4e47e235c5..089aaea5a6 100644 --- a/kubernetes/client/api/authorization_v1beta1_api.py +++ b/kubernetes/client/api/authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/autoscaling_api.py b/kubernetes/client/api/autoscaling_api.py index 9829f455eb..d9f8df3cd0 100644 --- a/kubernetes/client/api/autoscaling_api.py +++ b/kubernetes/client/api/autoscaling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/autoscaling_v1_api.py b/kubernetes/client/api/autoscaling_v1_api.py index ac5ac1d048..562e771528 100644 --- a/kubernetes/client/api/autoscaling_v1_api.py +++ b/kubernetes/client/api/autoscaling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/autoscaling_v2beta1_api.py b/kubernetes/client/api/autoscaling_v2beta1_api.py index 271bc3ed9f..9360becfe8 100644 --- a/kubernetes/client/api/autoscaling_v2beta1_api.py +++ b/kubernetes/client/api/autoscaling_v2beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/autoscaling_v2beta2_api.py b/kubernetes/client/api/autoscaling_v2beta2_api.py index c48123c623..a757fa4d9a 100644 --- a/kubernetes/client/api/autoscaling_v2beta2_api.py +++ b/kubernetes/client/api/autoscaling_v2beta2_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/batch_api.py b/kubernetes/client/api/batch_api.py index 6e4fe0401e..922cc6553b 100644 --- a/kubernetes/client/api/batch_api.py +++ b/kubernetes/client/api/batch_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/batch_v1_api.py b/kubernetes/client/api/batch_v1_api.py index 1f8e4f4e61..48da00df99 100644 --- a/kubernetes/client/api/batch_v1_api.py +++ b/kubernetes/client/api/batch_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_job_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_job(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/batch_v1beta1_api.py b/kubernetes/client/api/batch_v1beta1_api.py index 4e95a23af2..f77709ae06 100644 --- a/kubernetes/client/api/batch_v1beta1_api.py +++ b/kubernetes/client/api/batch_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_cron_job_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_cron_job_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E5 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_cron_job(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_cron_job_with_http_info(self, namespace, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/batch_v2alpha1_api.py b/kubernetes/client/api/batch_v2alpha1_api.py index afdcdb2990..fd9b2ca724 100644 --- a/kubernetes/client/api/batch_v2alpha1_api.py +++ b/kubernetes/client/api/batch_v2alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_cron_job_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_cron_job_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E5 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_cron_job(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_cron_job_with_http_info(self, namespace, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/certificates_api.py b/kubernetes/client/api/certificates_api.py index a161526ca6..302f298e43 100644 --- a/kubernetes/client/api/certificates_api.py +++ b/kubernetes/client/api/certificates_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/certificates_v1beta1_api.py b/kubernetes/client/api/certificates_v1beta1_api.py index be40aaf08d..046b92e727 100644 --- a/kubernetes/client/api/certificates_v1beta1_api.py +++ b/kubernetes/client/api/certificates_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_certificate_signing_request(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_certificate_signing_request_with_http_info(self, **kwargs): # noqa: E5 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/coordination_api.py b/kubernetes/client/api/coordination_api.py index 4856969b2c..1782f882b7 100644 --- a/kubernetes/client/api/coordination_api.py +++ b/kubernetes/client/api/coordination_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/coordination_v1_api.py b/kubernetes/client/api/coordination_v1_api.py index 7ba82f8fb8..23e781ed44 100644 --- a/kubernetes/client/api/coordination_v1_api.py +++ b/kubernetes/client/api/coordination_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_lease_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_lease_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_lease(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_lease_with_http_info(self, namespace, **kwargs): # noqa: E5 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/coordination_v1beta1_api.py b/kubernetes/client/api/coordination_v1beta1_api.py index 2db812a877..d1a3e5cccb 100644 --- a/kubernetes/client/api/coordination_v1beta1_api.py +++ b/kubernetes/client/api/coordination_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_lease_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_lease_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_lease(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_lease_with_http_info(self, namespace, **kwargs): # noqa: E5 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/core_api.py b/kubernetes/client/api/core_api.py index a2cb31e7e1..081fa67e97 100644 --- a/kubernetes/client/api/core_api.py +++ b/kubernetes/client/api/core_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/core_v1_api.py b/kubernetes/client/api/core_v1_api.py index f6020c2d0f..f868f02adf 100644 --- a/kubernetes/client/api/core_v1_api.py +++ b/kubernetes/client/api/core_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -13582,7 +13582,7 @@ def list_component_status(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -13615,7 +13615,7 @@ def list_component_status_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -13732,7 +13732,7 @@ def list_config_map_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -13765,7 +13765,7 @@ def list_config_map_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -13882,7 +13882,7 @@ def list_endpoints_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -13915,7 +13915,7 @@ def list_endpoints_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14032,7 +14032,7 @@ def list_event_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14065,7 +14065,7 @@ def list_event_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14182,7 +14182,7 @@ def list_limit_range_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14215,7 +14215,7 @@ def list_limit_range_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14333,7 +14333,7 @@ def list_namespace(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14366,7 +14366,7 @@ def list_namespace_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14484,7 +14484,7 @@ def list_namespaced_config_map(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14518,7 +14518,7 @@ def list_namespaced_config_map_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14643,7 +14643,7 @@ def list_namespaced_endpoints(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14677,7 +14677,7 @@ def list_namespaced_endpoints_with_http_info(self, namespace, **kwargs): # noqa :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14802,7 +14802,7 @@ def list_namespaced_event(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14836,7 +14836,7 @@ def list_namespaced_event_with_http_info(self, namespace, **kwargs): # noqa: E5 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14961,7 +14961,7 @@ def list_namespaced_limit_range(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -14995,7 +14995,7 @@ def list_namespaced_limit_range_with_http_info(self, namespace, **kwargs): # no :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15120,7 +15120,7 @@ def list_namespaced_persistent_volume_claim(self, namespace, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15154,7 +15154,7 @@ def list_namespaced_persistent_volume_claim_with_http_info(self, namespace, **kw :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15279,7 +15279,7 @@ def list_namespaced_pod(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15313,7 +15313,7 @@ def list_namespaced_pod_with_http_info(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15438,7 +15438,7 @@ def list_namespaced_pod_template(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15472,7 +15472,7 @@ def list_namespaced_pod_template_with_http_info(self, namespace, **kwargs): # n :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15597,7 +15597,7 @@ def list_namespaced_replication_controller(self, namespace, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15631,7 +15631,7 @@ def list_namespaced_replication_controller_with_http_info(self, namespace, **kwa :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15756,7 +15756,7 @@ def list_namespaced_resource_quota(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15790,7 +15790,7 @@ def list_namespaced_resource_quota_with_http_info(self, namespace, **kwargs): # :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15915,7 +15915,7 @@ def list_namespaced_secret(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -15949,7 +15949,7 @@ def list_namespaced_secret_with_http_info(self, namespace, **kwargs): # noqa: E :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16074,7 +16074,7 @@ def list_namespaced_service(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16108,7 +16108,7 @@ def list_namespaced_service_with_http_info(self, namespace, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16233,7 +16233,7 @@ def list_namespaced_service_account(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16267,7 +16267,7 @@ def list_namespaced_service_account_with_http_info(self, namespace, **kwargs): :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16391,7 +16391,7 @@ def list_node(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16424,7 +16424,7 @@ def list_node_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16541,7 +16541,7 @@ def list_persistent_volume(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16574,7 +16574,7 @@ def list_persistent_volume_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16690,7 +16690,7 @@ def list_persistent_volume_claim_for_all_namespaces(self, **kwargs): # noqa: E5 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16723,7 +16723,7 @@ def list_persistent_volume_claim_for_all_namespaces_with_http_info(self, **kwarg >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16840,7 +16840,7 @@ def list_pod_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16873,7 +16873,7 @@ def list_pod_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -16990,7 +16990,7 @@ def list_pod_template_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17023,7 +17023,7 @@ def list_pod_template_for_all_namespaces_with_http_info(self, **kwargs): # noqa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17140,7 +17140,7 @@ def list_replication_controller_for_all_namespaces(self, **kwargs): # noqa: E50 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17173,7 +17173,7 @@ def list_replication_controller_for_all_namespaces_with_http_info(self, **kwargs >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17290,7 +17290,7 @@ def list_resource_quota_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17323,7 +17323,7 @@ def list_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): # no >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17440,7 +17440,7 @@ def list_secret_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17473,7 +17473,7 @@ def list_secret_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17590,7 +17590,7 @@ def list_service_account_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17623,7 +17623,7 @@ def list_service_account_for_all_namespaces_with_http_info(self, **kwargs): # n >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17740,7 +17740,7 @@ def list_service_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -17773,7 +17773,7 @@ def list_service_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -22907,6 +22907,7 @@ def read_namespaced_pod_log(self, name, namespace, **kwargs): # noqa: E501 :param str namespace: object name and auth scope, such as for teams and projects (required) :param str container: The container for which to stream logs. Defaults to only container if there is one container in the pod. :param bool follow: Follow the log stream of the pod. Defaults to false. + :param bool insecure_skip_tls_verify_backend: insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). :param int 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. :param str pretty: If 'true', then the output is pretty printed. :param bool previous: Return previous terminated container logs. Defaults to false. @@ -22941,6 +22942,7 @@ def read_namespaced_pod_log_with_http_info(self, name, namespace, **kwargs): # :param str namespace: object name and auth scope, such as for teams and projects (required) :param str container: The container for which to stream logs. Defaults to only container if there is one container in the pod. :param bool follow: Follow the log stream of the pod. Defaults to false. + :param bool insecure_skip_tls_verify_backend: insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). :param int 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. :param str pretty: If 'true', then the output is pretty printed. :param bool previous: Return previous terminated container logs. Defaults to false. @@ -22968,6 +22970,7 @@ def read_namespaced_pod_log_with_http_info(self, name, namespace, **kwargs): # 'namespace', 'container', 'follow', + 'insecure_skip_tls_verify_backend', 'limit_bytes', 'pretty', 'previous', @@ -23014,6 +23017,8 @@ def read_namespaced_pod_log_with_http_info(self, name, namespace, **kwargs): # query_params.append(('container', local_var_params['container'])) # noqa: E501 if 'follow' in local_var_params and local_var_params['follow'] is not None: # noqa: E501 query_params.append(('follow', local_var_params['follow'])) # noqa: E501 + if 'insecure_skip_tls_verify_backend' in local_var_params and local_var_params['insecure_skip_tls_verify_backend'] is not None: # noqa: E501 + query_params.append(('insecureSkipTLSVerifyBackend', local_var_params['insecure_skip_tls_verify_backend'])) # noqa: E501 if 'limit_bytes' in local_var_params and local_var_params['limit_bytes'] is not None: # noqa: E501 query_params.append(('limitBytes', local_var_params['limit_bytes'])) # noqa: E501 if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 diff --git a/kubernetes/client/api/custom_objects_api.py b/kubernetes/client/api/custom_objects_api.py index 1186b0a0f5..69c54c9d4c 100644 --- a/kubernetes/client/api/custom_objects_api.py +++ b/kubernetes/client/api/custom_objects_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -2405,7 +2405,7 @@ def patch_cluster_custom_object_with_http_info(self, group, version, plural, nam # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/merge-patch+json']) # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -2574,7 +2574,7 @@ def patch_cluster_custom_object_scale_with_http_info(self, group, version, plura # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/merge-patch+json']) # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -2743,7 +2743,7 @@ def patch_cluster_custom_object_status_with_http_info(self, group, version, plur # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/merge-patch+json']) # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -2921,7 +2921,7 @@ def patch_namespaced_custom_object_with_http_info(self, group, version, namespac # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/merge-patch+json']) # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -3099,7 +3099,7 @@ def patch_namespaced_custom_object_scale_with_http_info(self, group, version, na # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/merge-patch+json']) # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -3277,7 +3277,7 @@ def patch_namespaced_custom_object_status_with_http_info(self, group, version, n # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/merge-patch+json']) # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 diff --git a/kubernetes/client/api/discovery_api.py b/kubernetes/client/api/discovery_api.py index 5c28b851ff..99029d6bd2 100644 --- a/kubernetes/client/api/discovery_api.py +++ b/kubernetes/client/api/discovery_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/discovery_v1alpha1_api.py b/kubernetes/client/api/discovery_v1beta1_api.py similarity index 97% rename from kubernetes/client/api/discovery_v1alpha1_api.py rename to kubernetes/client/api/discovery_v1beta1_api.py index 13713296f4..8d3700f33f 100644 --- a/kubernetes/client/api/discovery_v1alpha1_api.py +++ b/kubernetes/client/api/discovery_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -24,7 +24,7 @@ ) -class DiscoveryV1alpha1Api(object): +class DiscoveryV1beta1Api(object): """NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech @@ -47,7 +47,7 @@ def create_namespaced_endpoint_slice(self, namespace, body, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1EndpointSlice body: (required) + :param V1beta1EndpointSlice body: (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -58,7 +58,7 @@ def create_namespaced_endpoint_slice(self, namespace, body, **kwargs): # noqa: number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1EndpointSlice + :return: V1beta1EndpointSlice If the method is called asynchronously, returns the request thread. """ @@ -76,7 +76,7 @@ def create_namespaced_endpoint_slice_with_http_info(self, namespace, body, **kwa :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1EndpointSlice body: (required) + :param V1beta1EndpointSlice body: (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -89,7 +89,7 @@ def create_namespaced_endpoint_slice_with_http_info(self, namespace, body, **kwa number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1EndpointSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1EndpointSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -159,14 +159,14 @@ def create_namespaced_endpoint_slice_with_http_info(self, namespace, body, **kwa auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices', 'POST', + '/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices', 'POST', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1EndpointSlice', # noqa: E501 + response_type='V1beta1EndpointSlice', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -333,7 +333,7 @@ def delete_collection_namespaced_endpoint_slice_with_http_info(self, namespace, auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices', 'DELETE', + '/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices', 'DELETE', path_params, query_params, header_params, @@ -486,7 +486,7 @@ def delete_namespaced_endpoint_slice_with_http_info(self, name, namespace, **kwa auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}', 'DELETE', + '/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}', 'DELETE', path_params, query_params, header_params, @@ -591,7 +591,7 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/', 'GET', + '/apis/discovery.k8s.io/v1beta1/', 'GET', path_params, query_params, header_params, @@ -616,7 +616,7 @@ def list_endpoint_slice_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -632,7 +632,7 @@ def list_endpoint_slice_for_all_namespaces(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1EndpointSliceList + :return: V1beta1EndpointSliceList If the method is called asynchronously, returns the request thread. """ @@ -649,7 +649,7 @@ def list_endpoint_slice_for_all_namespaces_with_http_info(self, **kwargs): # no >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -667,7 +667,7 @@ def list_endpoint_slice_for_all_namespaces_with_http_info(self, **kwargs): # no number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1EndpointSliceList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1EndpointSliceList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -741,14 +741,14 @@ def list_endpoint_slice_for_all_namespaces_with_http_info(self, **kwargs): # no auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/endpointslices', 'GET', + '/apis/discovery.k8s.io/v1beta1/endpointslices', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1EndpointSliceList', # noqa: E501 + response_type='V1beta1EndpointSliceList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -768,7 +768,7 @@ def list_namespaced_endpoint_slice(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -783,7 +783,7 @@ def list_namespaced_endpoint_slice(self, namespace, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1EndpointSliceList + :return: V1beta1EndpointSliceList If the method is called asynchronously, returns the request thread. """ @@ -802,7 +802,7 @@ def list_namespaced_endpoint_slice_with_http_info(self, namespace, **kwargs): # :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -819,7 +819,7 @@ def list_namespaced_endpoint_slice_with_http_info(self, namespace, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1EndpointSliceList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1EndpointSliceList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -900,14 +900,14 @@ def list_namespaced_endpoint_slice_with_http_info(self, namespace, **kwargs): # auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices', 'GET', + '/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1EndpointSliceList', # noqa: E501 + response_type='V1beta1EndpointSliceList', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -939,7 +939,7 @@ def patch_namespaced_endpoint_slice(self, name, namespace, body, **kwargs): # n number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1EndpointSlice + :return: V1beta1EndpointSlice If the method is called asynchronously, returns the request thread. """ @@ -972,7 +972,7 @@ def patch_namespaced_endpoint_slice_with_http_info(self, name, namespace, body, number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1EndpointSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1EndpointSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1056,14 +1056,14 @@ def patch_namespaced_endpoint_slice_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}', 'PATCH', + '/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1EndpointSlice', # noqa: E501 + response_type='V1beta1EndpointSlice', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1093,7 +1093,7 @@ def read_namespaced_endpoint_slice(self, name, namespace, **kwargs): # noqa: E5 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1EndpointSlice + :return: V1beta1EndpointSlice If the method is called asynchronously, returns the request thread. """ @@ -1124,7 +1124,7 @@ def read_namespaced_endpoint_slice_with_http_info(self, name, namespace, **kwarg number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1EndpointSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1EndpointSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1194,14 +1194,14 @@ def read_namespaced_endpoint_slice_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}', 'GET', + '/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}', 'GET', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1EndpointSlice', # noqa: E501 + response_type='V1beta1EndpointSlice', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1221,7 +1221,7 @@ def replace_namespaced_endpoint_slice(self, name, namespace, body, **kwargs): # :param async_req bool: execute request asynchronously :param str name: name of the EndpointSlice (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1EndpointSlice body: (required) + :param V1beta1EndpointSlice body: (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -1232,7 +1232,7 @@ def replace_namespaced_endpoint_slice(self, name, namespace, body, **kwargs): # number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1alpha1EndpointSlice + :return: V1beta1EndpointSlice If the method is called asynchronously, returns the request thread. """ @@ -1251,7 +1251,7 @@ def replace_namespaced_endpoint_slice_with_http_info(self, name, namespace, body :param async_req bool: execute request asynchronously :param str name: name of the EndpointSlice (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1EndpointSlice body: (required) + :param V1beta1EndpointSlice body: (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. @@ -1264,7 +1264,7 @@ def replace_namespaced_endpoint_slice_with_http_info(self, name, namespace, body number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1alpha1EndpointSlice, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1beta1EndpointSlice, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1341,14 +1341,14 @@ def replace_namespaced_endpoint_slice_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}', 'PUT', + '/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}', 'PUT', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1alpha1EndpointSlice', # noqa: E501 + response_type='V1beta1EndpointSlice', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 diff --git a/kubernetes/client/api/events_api.py b/kubernetes/client/api/events_api.py index a5797e9a52..b5648b23f0 100644 --- a/kubernetes/client/api/events_api.py +++ b/kubernetes/client/api/events_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/events_v1beta1_api.py b/kubernetes/client/api/events_v1beta1_api.py index e799e6178d..2b5aacb553 100644 --- a/kubernetes/client/api/events_v1beta1_api.py +++ b/kubernetes/client/api/events_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_event_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_event_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_event(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_event_with_http_info(self, namespace, **kwargs): # noqa: E5 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/extensions_api.py b/kubernetes/client/api/extensions_api.py index ecd2b52934..b692f25f2e 100644 --- a/kubernetes/client/api/extensions_api.py +++ b/kubernetes/client/api/extensions_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/extensions_v1beta1_api.py b/kubernetes/client/api/extensions_v1beta1_api.py index b08b4a4bce..ba8fbf6089 100644 --- a/kubernetes/client/api/extensions_v1beta1_api.py +++ b/kubernetes/client/api/extensions_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -3061,7 +3061,7 @@ def list_daemon_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3094,7 +3094,7 @@ def list_daemon_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3211,7 +3211,7 @@ def list_deployment_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3244,7 +3244,7 @@ def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3361,7 +3361,7 @@ def list_ingress_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3394,7 +3394,7 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3513,7 +3513,7 @@ def list_namespaced_daemon_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3547,7 +3547,7 @@ def list_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3672,7 +3672,7 @@ def list_namespaced_deployment(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3706,7 +3706,7 @@ def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3831,7 +3831,7 @@ def list_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3865,7 +3865,7 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -3990,7 +3990,7 @@ def list_namespaced_network_policy(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4024,7 +4024,7 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4149,7 +4149,7 @@ def list_namespaced_replica_set(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4183,7 +4183,7 @@ def list_namespaced_replica_set_with_http_info(self, namespace, **kwargs): # no :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4306,7 +4306,7 @@ def list_network_policy_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4339,7 +4339,7 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4457,7 +4457,7 @@ def list_pod_security_policy(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4490,7 +4490,7 @@ def list_pod_security_policy_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4606,7 +4606,7 @@ def list_replica_set_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -4639,7 +4639,7 @@ def list_replica_set_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/flowcontrol_apiserver_api.py b/kubernetes/client/api/flowcontrol_apiserver_api.py new file mode 100644 index 0000000000..f9d951ec1f --- /dev/null +++ b/kubernetes/client/api/flowcontrol_apiserver_api.py @@ -0,0 +1,142 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes.client.api_client import ApiClient +from kubernetes.client.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class FlowcontrolApiserverApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_api_group(self, **kwargs): # noqa: E501 + """get_api_group # noqa: E501 + + get information of a group # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_group(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1APIGroup + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_api_group_with_http_info(**kwargs) # noqa: E501 + + def get_api_group_with_http_info(self, **kwargs): # noqa: E501 + """get_api_group # noqa: E501 + + get information of a group # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_group_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1APIGroup, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_group" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIGroup', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/api/flowcontrol_apiserver_v1alpha1_api.py b/kubernetes/client/api/flowcontrol_apiserver_v1alpha1_api.py new file mode 100644 index 0000000000..fcd5768b71 --- /dev/null +++ b/kubernetes/client/api/flowcontrol_apiserver_v1alpha1_api.py @@ -0,0 +1,2954 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from kubernetes.client.api_client import ApiClient +from kubernetes.client.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class FlowcontrolApiserverV1alpha1Api(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def create_flow_schema(self, body, **kwargs): # noqa: E501 + """create_flow_schema # noqa: E501 + + create a FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_flow_schema(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1alpha1FlowSchema body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1FlowSchema + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_flow_schema_with_http_info(body, **kwargs) # noqa: E501 + + def create_flow_schema_with_http_info(self, body, **kwargs): # noqa: E501 + """create_flow_schema # noqa: E501 + + create a FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_flow_schema_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1alpha1FlowSchema body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1FlowSchema, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_flow_schema" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_flow_schema`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1FlowSchema', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def create_priority_level_configuration(self, body, **kwargs): # noqa: E501 + """create_priority_level_configuration # noqa: E501 + + create a PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_priority_level_configuration(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1alpha1PriorityLevelConfiguration body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1PriorityLevelConfiguration + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_priority_level_configuration_with_http_info(body, **kwargs) # noqa: E501 + + def create_priority_level_configuration_with_http_info(self, body, **kwargs): # noqa: E501 + """create_priority_level_configuration # noqa: E501 + + create a PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_priority_level_configuration_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1alpha1PriorityLevelConfiguration body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1PriorityLevelConfiguration, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_priority_level_configuration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_priority_level_configuration`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1PriorityLevelConfiguration', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_flow_schema(self, **kwargs): # noqa: E501 + """delete_collection_flow_schema # noqa: E501 + + delete collection of FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_flow_schema(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_flow_schema_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_flow_schema_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_flow_schema # noqa: E501 + + delete collection of FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_flow_schema_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_flow_schema" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_collection_priority_level_configuration(self, **kwargs): # noqa: E501 + """delete_collection_priority_level_configuration # noqa: E501 + + delete collection of PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_priority_level_configuration(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_collection_priority_level_configuration_with_http_info(**kwargs) # noqa: E501 + + def delete_collection_priority_level_configuration_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_priority_level_configuration # noqa: E501 + + delete collection of PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_collection_priority_level_configuration_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + '_continue', + 'dry_run', + 'field_selector', + 'grace_period_seconds', + 'label_selector', + 'limit', + 'orphan_dependents', + 'propagation_policy', + 'resource_version', + 'timeout_seconds', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_collection_priority_level_configuration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_flow_schema(self, name, **kwargs): # noqa: E501 + """delete_flow_schema # noqa: E501 + + delete a FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_flow_schema(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_flow_schema_with_http_info(name, **kwargs) # noqa: E501 + + def delete_flow_schema_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_flow_schema # noqa: E501 + + delete a FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_flow_schema_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_flow_schema" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_flow_schema`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_priority_level_configuration(self, name, **kwargs): # noqa: E501 + """delete_priority_level_configuration # noqa: E501 + + delete a PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_priority_level_configuration(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_priority_level_configuration_with_http_info(name, **kwargs) # noqa: E501 + + def delete_priority_level_configuration_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_priority_level_configuration # noqa: E501 + + delete a PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_priority_level_configuration_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_priority_level_configuration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_priority_level_configuration`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method get_api_resources" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1APIResourceList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_flow_schema(self, **kwargs): # noqa: E501 + """list_flow_schema # noqa: E501 + + list or watch objects of kind FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_flow_schema(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1FlowSchemaList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_flow_schema_with_http_info(**kwargs) # noqa: E501 + + def list_flow_schema_with_http_info(self, **kwargs): # noqa: E501 + """list_flow_schema # noqa: E501 + + list or watch objects of kind FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_flow_schema_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1FlowSchemaList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_flow_schema" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1FlowSchemaList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def list_priority_level_configuration(self, **kwargs): # noqa: E501 + """list_priority_level_configuration # noqa: E501 + + list or watch objects of kind PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_priority_level_configuration(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1PriorityLevelConfigurationList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_priority_level_configuration_with_http_info(**kwargs) # noqa: E501 + + def list_priority_level_configuration_with_http_info(self, **kwargs): # noqa: E501 + """list_priority_level_configuration # noqa: E501 + + list or watch objects of kind PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_priority_level_configuration_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1PriorityLevelConfigurationList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_priority_level_configuration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1PriorityLevelConfigurationList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_flow_schema(self, name, body, **kwargs): # noqa: E501 + """patch_flow_schema # noqa: E501 + + partially update the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_flow_schema(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1FlowSchema + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_flow_schema_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_flow_schema_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_flow_schema # noqa: E501 + + partially update the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_flow_schema_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1FlowSchema, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_flow_schema" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_flow_schema`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_flow_schema`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1FlowSchema', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_flow_schema_status(self, name, body, **kwargs): # noqa: E501 + """patch_flow_schema_status # noqa: E501 + + partially update status of the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_flow_schema_status(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1FlowSchema + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_flow_schema_status_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_flow_schema_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_flow_schema_status # noqa: E501 + + partially update status of the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_flow_schema_status_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1FlowSchema, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_flow_schema_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_flow_schema_status`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_flow_schema_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1FlowSchema', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_priority_level_configuration(self, name, body, **kwargs): # noqa: E501 + """patch_priority_level_configuration # noqa: E501 + + partially update the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_priority_level_configuration(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1PriorityLevelConfiguration + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_priority_level_configuration_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_priority_level_configuration_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_priority_level_configuration # noqa: E501 + + partially update the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_priority_level_configuration_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1PriorityLevelConfiguration, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_priority_level_configuration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_priority_level_configuration`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_priority_level_configuration`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1PriorityLevelConfiguration', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_priority_level_configuration_status(self, name, body, **kwargs): # noqa: E501 + """patch_priority_level_configuration_status # noqa: E501 + + partially update status of the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_priority_level_configuration_status(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1PriorityLevelConfiguration + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_priority_level_configuration_status_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_priority_level_configuration_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_priority_level_configuration_status # noqa: E501 + + partially update status of the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_priority_level_configuration_status_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1PriorityLevelConfiguration, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_priority_level_configuration_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_priority_level_configuration_status`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_priority_level_configuration_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status', 'PATCH', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1PriorityLevelConfiguration', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_flow_schema(self, name, **kwargs): # noqa: E501 + """read_flow_schema # noqa: E501 + + read the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_flow_schema(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1FlowSchema + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_flow_schema_with_http_info(name, **kwargs) # noqa: E501 + + def read_flow_schema_with_http_info(self, name, **kwargs): # noqa: E501 + """read_flow_schema # noqa: E501 + + read the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_flow_schema_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1FlowSchema, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'exact', + 'export' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_flow_schema" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_flow_schema`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'exact' in local_var_params and local_var_params['exact'] is not None: # noqa: E501 + query_params.append(('exact', local_var_params['exact'])) # noqa: E501 + if 'export' in local_var_params and local_var_params['export'] is not None: # noqa: E501 + query_params.append(('export', local_var_params['export'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1FlowSchema', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_flow_schema_status(self, name, **kwargs): # noqa: E501 + """read_flow_schema_status # noqa: E501 + + read status of the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_flow_schema_status(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param str pretty: If 'true', then the output is pretty printed. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1FlowSchema + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_flow_schema_status_with_http_info(name, **kwargs) # noqa: E501 + + def read_flow_schema_status_with_http_info(self, name, **kwargs): # noqa: E501 + """read_flow_schema_status # noqa: E501 + + read status of the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_flow_schema_status_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param str pretty: If 'true', then the output is pretty printed. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1FlowSchema, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_flow_schema_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_flow_schema_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1FlowSchema', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_priority_level_configuration(self, name, **kwargs): # noqa: E501 + """read_priority_level_configuration # noqa: E501 + + read the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_priority_level_configuration(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1PriorityLevelConfiguration + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_priority_level_configuration_with_http_info(name, **kwargs) # noqa: E501 + + def read_priority_level_configuration_with_http_info(self, name, **kwargs): # noqa: E501 + """read_priority_level_configuration # noqa: E501 + + read the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_priority_level_configuration_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1PriorityLevelConfiguration, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'exact', + 'export' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_priority_level_configuration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_priority_level_configuration`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'exact' in local_var_params and local_var_params['exact'] is not None: # noqa: E501 + query_params.append(('exact', local_var_params['exact'])) # noqa: E501 + if 'export' in local_var_params and local_var_params['export'] is not None: # noqa: E501 + query_params.append(('export', local_var_params['export'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1PriorityLevelConfiguration', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def read_priority_level_configuration_status(self, name, **kwargs): # noqa: E501 + """read_priority_level_configuration_status # noqa: E501 + + read status of the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_priority_level_configuration_status(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param str pretty: If 'true', then the output is pretty printed. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1PriorityLevelConfiguration + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_priority_level_configuration_status_with_http_info(name, **kwargs) # noqa: E501 + + def read_priority_level_configuration_status_with_http_info(self, name, **kwargs): # noqa: E501 + """read_priority_level_configuration_status # noqa: E501 + + read status of the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_priority_level_configuration_status_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param str pretty: If 'true', then the output is pretty printed. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1PriorityLevelConfiguration, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_priority_level_configuration_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_priority_level_configuration_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1PriorityLevelConfiguration', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_flow_schema(self, name, body, **kwargs): # noqa: E501 + """replace_flow_schema # noqa: E501 + + replace the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_flow_schema(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param V1alpha1FlowSchema body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1FlowSchema + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_flow_schema_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_flow_schema_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_flow_schema # noqa: E501 + + replace the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_flow_schema_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param V1alpha1FlowSchema body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1FlowSchema, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_flow_schema" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_flow_schema`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_flow_schema`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1FlowSchema', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_flow_schema_status(self, name, body, **kwargs): # noqa: E501 + """replace_flow_schema_status # noqa: E501 + + replace status of the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_flow_schema_status(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param V1alpha1FlowSchema body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1FlowSchema + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_flow_schema_status_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_flow_schema_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_flow_schema_status # noqa: E501 + + replace status of the specified FlowSchema # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_flow_schema_status_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the FlowSchema (required) + :param V1alpha1FlowSchema body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1FlowSchema, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_flow_schema_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_flow_schema_status`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_flow_schema_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1FlowSchema', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_priority_level_configuration(self, name, body, **kwargs): # noqa: E501 + """replace_priority_level_configuration # noqa: E501 + + replace the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_priority_level_configuration(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param V1alpha1PriorityLevelConfiguration body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1PriorityLevelConfiguration + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_priority_level_configuration_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_priority_level_configuration_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_priority_level_configuration # noqa: E501 + + replace the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_priority_level_configuration_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param V1alpha1PriorityLevelConfiguration body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1PriorityLevelConfiguration, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_priority_level_configuration" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_priority_level_configuration`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_priority_level_configuration`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1PriorityLevelConfiguration', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def replace_priority_level_configuration_status(self, name, body, **kwargs): # noqa: E501 + """replace_priority_level_configuration_status # noqa: E501 + + replace status of the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_priority_level_configuration_status(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param V1alpha1PriorityLevelConfiguration body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1alpha1PriorityLevelConfiguration + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_priority_level_configuration_status_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_priority_level_configuration_status_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_priority_level_configuration_status # noqa: E501 + + replace status of the specified PriorityLevelConfiguration # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_priority_level_configuration_status_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the PriorityLevelConfiguration (required) + :param V1alpha1PriorityLevelConfiguration body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1alpha1PriorityLevelConfiguration, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_priority_level_configuration_status" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_priority_level_configuration_status`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_priority_level_configuration_status`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1PriorityLevelConfiguration', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/api/logs_api.py b/kubernetes/client/api/logs_api.py index 24fe78a975..29e3bfde9b 100644 --- a/kubernetes/client/api/logs_api.py +++ b/kubernetes/client/api/logs_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/networking_api.py b/kubernetes/client/api/networking_api.py index 0a2af7fc54..28d74e0037 100644 --- a/kubernetes/client/api/networking_api.py +++ b/kubernetes/client/api/networking_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/networking_v1_api.py b/kubernetes/client/api/networking_v1_api.py index f4e8858072..df1aea3ba3 100644 --- a/kubernetes/client/api/networking_v1_api.py +++ b/kubernetes/client/api/networking_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -618,7 +618,7 @@ def list_namespaced_network_policy(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -652,7 +652,7 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): # :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -775,7 +775,7 @@ def list_network_policy_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -808,7 +808,7 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): # no >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/networking_v1beta1_api.py b/kubernetes/client/api/networking_v1beta1_api.py index aa5bbb269d..38524f15e6 100644 --- a/kubernetes/client/api/networking_v1beta1_api.py +++ b/kubernetes/client/api/networking_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -616,7 +616,7 @@ def list_ingress_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -649,7 +649,7 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E50 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -768,7 +768,7 @@ def list_namespaced_ingress(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -802,7 +802,7 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): # noqa: :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/node_api.py b/kubernetes/client/api/node_api.py index 996ffb93f4..121e403df0 100644 --- a/kubernetes/client/api/node_api.py +++ b/kubernetes/client/api/node_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/node_v1alpha1_api.py b/kubernetes/client/api/node_v1alpha1_api.py index 28525205ae..7be670bfca 100644 --- a/kubernetes/client/api/node_v1alpha1_api.py +++ b/kubernetes/client/api/node_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_runtime_class(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_runtime_class_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/node_v1beta1_api.py b/kubernetes/client/api/node_v1beta1_api.py index f00667ca85..d445bf6c4e 100644 --- a/kubernetes/client/api/node_v1beta1_api.py +++ b/kubernetes/client/api/node_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_runtime_class(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_runtime_class_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/policy_api.py b/kubernetes/client/api/policy_api.py index 8d22a1f223..c6104498d8 100644 --- a/kubernetes/client/api/policy_api.py +++ b/kubernetes/client/api/policy_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/policy_v1beta1_api.py b/kubernetes/client/api/policy_v1beta1_api.py index 6a947fdd41..5c6bbdbf8c 100644 --- a/kubernetes/client/api/policy_v1beta1_api.py +++ b/kubernetes/client/api/policy_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -1056,7 +1056,7 @@ def list_namespaced_pod_disruption_budget(self, namespace, **kwargs): # noqa: E :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1090,7 +1090,7 @@ def list_namespaced_pod_disruption_budget_with_http_info(self, namespace, **kwar :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1213,7 +1213,7 @@ def list_pod_disruption_budget_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1246,7 +1246,7 @@ def list_pod_disruption_budget_for_all_namespaces_with_http_info(self, **kwargs) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1364,7 +1364,7 @@ def list_pod_security_policy(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1397,7 +1397,7 @@ def list_pod_security_policy_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/rbac_authorization_api.py b/kubernetes/client/api/rbac_authorization_api.py index 3018bee99a..b5f47a4a7b 100644 --- a/kubernetes/client/api/rbac_authorization_api.py +++ b/kubernetes/client/api/rbac_authorization_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/rbac_authorization_v1_api.py b/kubernetes/client/api/rbac_authorization_v1_api.py index 005e3bb2a9..96b57d1f9c 100644 --- a/kubernetes/client/api/rbac_authorization_v1_api.py +++ b/kubernetes/client/api/rbac_authorization_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -1958,7 +1958,7 @@ def list_cluster_role(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1991,7 +1991,7 @@ def list_cluster_role_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2108,7 +2108,7 @@ def list_cluster_role_binding(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2141,7 +2141,7 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2259,7 +2259,7 @@ def list_namespaced_role(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2293,7 +2293,7 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): # noqa: E50 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2418,7 +2418,7 @@ def list_namespaced_role_binding(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2452,7 +2452,7 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): # n :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2575,7 +2575,7 @@ def list_role_binding_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2608,7 +2608,7 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): # noqa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2725,7 +2725,7 @@ def list_role_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2758,7 +2758,7 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/rbac_authorization_v1alpha1_api.py b/kubernetes/client/api/rbac_authorization_v1alpha1_api.py index 477b9a9ba9..17646c7378 100644 --- a/kubernetes/client/api/rbac_authorization_v1alpha1_api.py +++ b/kubernetes/client/api/rbac_authorization_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -1958,7 +1958,7 @@ def list_cluster_role(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1991,7 +1991,7 @@ def list_cluster_role_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2108,7 +2108,7 @@ def list_cluster_role_binding(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2141,7 +2141,7 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2259,7 +2259,7 @@ def list_namespaced_role(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2293,7 +2293,7 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): # noqa: E50 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2418,7 +2418,7 @@ def list_namespaced_role_binding(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2452,7 +2452,7 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): # n :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2575,7 +2575,7 @@ def list_role_binding_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2608,7 +2608,7 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): # noqa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2725,7 +2725,7 @@ def list_role_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2758,7 +2758,7 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/rbac_authorization_v1beta1_api.py b/kubernetes/client/api/rbac_authorization_v1beta1_api.py index 11126c6ea6..231f520f99 100644 --- a/kubernetes/client/api/rbac_authorization_v1beta1_api.py +++ b/kubernetes/client/api/rbac_authorization_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -1958,7 +1958,7 @@ def list_cluster_role(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1991,7 +1991,7 @@ def list_cluster_role_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2108,7 +2108,7 @@ def list_cluster_role_binding(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2141,7 +2141,7 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2259,7 +2259,7 @@ def list_namespaced_role(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2293,7 +2293,7 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): # noqa: E50 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2418,7 +2418,7 @@ def list_namespaced_role_binding(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2452,7 +2452,7 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): # n :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2575,7 +2575,7 @@ def list_role_binding_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2608,7 +2608,7 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): # noqa >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2725,7 +2725,7 @@ def list_role_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2758,7 +2758,7 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/scheduling_api.py b/kubernetes/client/api/scheduling_api.py index 58667e9048..d81bba5f5f 100644 --- a/kubernetes/client/api/scheduling_api.py +++ b/kubernetes/client/api/scheduling_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/scheduling_v1_api.py b/kubernetes/client/api/scheduling_v1_api.py index 2ef9998663..617208dbdd 100644 --- a/kubernetes/client/api/scheduling_v1_api.py +++ b/kubernetes/client/api/scheduling_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_priority_class(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_priority_class_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/scheduling_v1alpha1_api.py b/kubernetes/client/api/scheduling_v1alpha1_api.py index a59890d982..9b0a02d439 100644 --- a/kubernetes/client/api/scheduling_v1alpha1_api.py +++ b/kubernetes/client/api/scheduling_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_priority_class(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_priority_class_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/scheduling_v1beta1_api.py b/kubernetes/client/api/scheduling_v1beta1_api.py index de29c1bc3d..8a00c2592b 100644 --- a/kubernetes/client/api/scheduling_v1beta1_api.py +++ b/kubernetes/client/api/scheduling_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_priority_class(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_priority_class_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/settings_api.py b/kubernetes/client/api/settings_api.py index aaca2b5f72..d2b769ba83 100644 --- a/kubernetes/client/api/settings_api.py +++ b/kubernetes/client/api/settings_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/settings_v1alpha1_api.py b/kubernetes/client/api/settings_v1alpha1_api.py index ef1fa8800a..0ef4397403 100644 --- a/kubernetes/client/api/settings_v1alpha1_api.py +++ b/kubernetes/client/api/settings_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -618,7 +618,7 @@ def list_namespaced_pod_preset(self, namespace, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -652,7 +652,7 @@ def list_namespaced_pod_preset_with_http_info(self, namespace, **kwargs): # noq :param async_req bool: execute request asynchronously :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -775,7 +775,7 @@ def list_pod_preset_for_all_namespaces(self, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -808,7 +808,7 @@ def list_pod_preset_for_all_namespaces_with_http_info(self, **kwargs): # noqa: >>> result = thread.get() :param async_req bool: execute request asynchronously - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/storage_api.py b/kubernetes/client/api/storage_api.py index fe1366d5ea..5ec07a5065 100644 --- a/kubernetes/client/api/storage_api.py +++ b/kubernetes/client/api/storage_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api/storage_v1_api.py b/kubernetes/client/api/storage_v1_api.py index 84a2419608..c5d769f969 100644 --- a/kubernetes/client/api/storage_v1_api.py +++ b/kubernetes/client/api/storage_v1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -36,6 +36,135 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client + def create_csi_node(self, body, **kwargs): # noqa: E501 + """create_csi_node # noqa: E501 + + create a CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_csi_node(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1CSINode body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1CSINode + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.create_csi_node_with_http_info(body, **kwargs) # noqa: E501 + + def create_csi_node_with_http_info(self, body, **kwargs): # noqa: E501 + """create_csi_node # noqa: E501 + + create a CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.create_csi_node_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param V1CSINode body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1CSINode, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'body', + 'pretty', + 'dry_run', + 'field_manager' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method create_csi_node" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `create_csi_node`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/csinodes', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1CSINode', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def create_storage_class(self, body, **kwargs): # noqa: E501 """create_storage_class # noqa: E501 @@ -294,13 +423,13 @@ def create_volume_attachment_with_http_info(self, body, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_storage_class(self, **kwargs): # noqa: E501 - """delete_collection_storage_class # noqa: E501 + def delete_collection_csi_node(self, **kwargs): # noqa: E501 + """delete_collection_csi_node # noqa: E501 - delete collection of StorageClass # noqa: E501 + delete collection of CSINode # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_collection_storage_class(async_req=True) + >>> thread = api.delete_collection_csi_node(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -328,15 +457,15 @@ def delete_collection_storage_class(self, **kwargs): # noqa: E501 returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_collection_storage_class_with_http_info(**kwargs) # noqa: E501 + return self.delete_collection_csi_node_with_http_info(**kwargs) # noqa: E501 - def delete_collection_storage_class_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_storage_class # noqa: E501 + def delete_collection_csi_node_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_csi_node # noqa: E501 - delete collection of StorageClass # noqa: E501 + delete collection of CSINode # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_collection_storage_class_with_http_info(async_req=True) + >>> thread = api.delete_collection_csi_node_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -395,7 +524,7 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): # noqa: E50 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_storage_class" % key + " to method delete_collection_csi_node" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -444,7 +573,7 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): # noqa: E50 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/storageclasses', 'DELETE', + '/apis/storage.k8s.io/v1/csinodes', 'DELETE', path_params, query_params, header_params, @@ -459,13 +588,13 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): # noqa: E50 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_collection_volume_attachment(self, **kwargs): # noqa: E501 - """delete_collection_volume_attachment # noqa: E501 + def delete_collection_storage_class(self, **kwargs): # noqa: E501 + """delete_collection_storage_class # noqa: E501 - delete collection of VolumeAttachment # noqa: E501 + delete collection of StorageClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_collection_volume_attachment(async_req=True) + >>> thread = api.delete_collection_storage_class(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -493,15 +622,15 @@ def delete_collection_volume_attachment(self, **kwargs): # noqa: E501 returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_collection_volume_attachment_with_http_info(**kwargs) # noqa: E501 + return self.delete_collection_storage_class_with_http_info(**kwargs) # noqa: E501 - def delete_collection_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 - """delete_collection_volume_attachment # noqa: E501 + def delete_collection_storage_class_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_storage_class # noqa: E501 - delete collection of VolumeAttachment # noqa: E501 + delete collection of StorageClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_collection_volume_attachment_with_http_info(async_req=True) + >>> thread = api.delete_collection_storage_class_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously @@ -560,7 +689,7 @@ def delete_collection_volume_attachment_with_http_info(self, **kwargs): # noqa: if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_collection_volume_attachment" % key + " to method delete_collection_storage_class" % key ) local_var_params[key] = val del local_var_params['kwargs'] @@ -609,7 +738,7 @@ def delete_collection_volume_attachment_with_http_info(self, **kwargs): # noqa: auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/volumeattachments', 'DELETE', + '/apis/storage.k8s.io/v1/storageclasses', 'DELETE', path_params, query_params, header_params, @@ -624,22 +753,27 @@ def delete_collection_volume_attachment_with_http_info(self, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_storage_class(self, name, **kwargs): # noqa: E501 - """delete_storage_class # noqa: E501 + def delete_collection_volume_attachment(self, **kwargs): # noqa: E501 + """delete_collection_volume_attachment # noqa: E501 - delete a StorageClass # noqa: E501 + delete collection of VolumeAttachment # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_storage_class(name, async_req=True) + >>> thread = api.delete_collection_volume_attachment(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the StorageClass (required) :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response @@ -653,24 +787,29 @@ def delete_storage_class(self, name, **kwargs): # noqa: E501 returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_storage_class_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_collection_volume_attachment_with_http_info(**kwargs) # noqa: E501 - def delete_storage_class_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_storage_class # noqa: E501 + def delete_collection_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 + """delete_collection_volume_attachment # noqa: E501 - delete a StorageClass # noqa: E501 + delete collection of VolumeAttachment # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_storage_class_with_http_info(name, async_req=True) + >>> thread = api.delete_collection_volume_attachment_with_http_info(async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the StorageClass (required) :param str pretty: If 'true', then the output is pretty printed. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. :param V1DeleteOptions body: :param _return_http_data_only: response data without head status code and headers @@ -689,12 +828,17 @@ def delete_storage_class_with_http_info(self, name, **kwargs): # noqa: E501 local_var_params = locals() all_params = [ - 'name', 'pretty', + '_continue', 'dry_run', + 'field_selector', 'grace_period_seconds', + 'label_selector', + 'limit', 'orphan_dependents', 'propagation_policy', + 'resource_version', + 'timeout_seconds', 'body' ] all_params.extend( @@ -710,32 +854,38 @@ def delete_storage_class_with_http_info(self, name, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_storage_class" % key + " to method delete_collection_volume_attachment" % key ) local_var_params[key] = val del local_var_params['kwargs'] - # verify the required parameter 'name' is set - if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 - local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `delete_storage_class`") # noqa: E501 collection_formats = {} path_params = {} - if 'name' in local_var_params: - path_params['name'] = local_var_params['name'] # noqa: E501 query_params = [] if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 header_params = {} @@ -753,7 +903,7 @@ def delete_storage_class_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/storageclasses/{name}', 'DELETE', + '/apis/storage.k8s.io/v1/volumeattachments', 'DELETE', path_params, query_params, header_params, @@ -768,17 +918,17 @@ def delete_storage_class_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def delete_volume_attachment(self, name, **kwargs): # noqa: E501 - """delete_volume_attachment # noqa: E501 + def delete_csi_node(self, name, **kwargs): # noqa: E501 + """delete_csi_node # noqa: E501 - delete a VolumeAttachment # noqa: E501 + delete a CSINode # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_volume_attachment(name, async_req=True) + >>> thread = api.delete_csi_node(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttachment (required) + :param str name: name of the CSINode (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -797,19 +947,19 @@ def delete_volume_attachment(self, name, **kwargs): # noqa: E501 returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.delete_volume_attachment_with_http_info(name, **kwargs) # noqa: E501 + return self.delete_csi_node_with_http_info(name, **kwargs) # noqa: E501 - def delete_volume_attachment_with_http_info(self, name, **kwargs): # noqa: E501 - """delete_volume_attachment # noqa: E501 + def delete_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_csi_node # noqa: E501 - delete a VolumeAttachment # noqa: E501 + delete a CSINode # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.delete_volume_attachment_with_http_info(name, async_req=True) + >>> thread = api.delete_csi_node_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously - :param str name: name of the VolumeAttachment (required) + :param str name: name of the CSINode (required) :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. @@ -854,14 +1004,14 @@ def delete_volume_attachment_with_http_info(self, name, **kwargs): # noqa: E501 if key not in all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method delete_volume_attachment" % key + " to method delete_csi_node" % key ) local_var_params[key] = val del local_var_params['kwargs'] # verify the required parameter 'name' is set if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 local_var_params['name'] is None): # noqa: E501 - raise ApiValueError("Missing the required parameter `name` when calling `delete_volume_attachment`") # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_csi_node`") # noqa: E501 collection_formats = {} @@ -897,7 +1047,7 @@ def delete_volume_attachment_with_http_info(self, name, **kwargs): # noqa: E501 auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/volumeattachments/{name}', 'DELETE', + '/apis/storage.k8s.io/v1/csinodes/{name}', 'DELETE', path_params, query_params, header_params, @@ -912,16 +1062,23 @@ def delete_volume_attachment_with_http_info(self, name, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) - def get_api_resources(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 + def delete_storage_class(self, name, **kwargs): # noqa: E501 + """delete_storage_class # noqa: E501 - get available resources # noqa: E501 + delete a StorageClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_resources(async_req=True) + >>> thread = api.delete_storage_class(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str name: name of the StorageClass (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: :param _preload_content: if False, the urllib3.HTTPResponse object will be returned without reading/decoding response data. Default is True. @@ -929,23 +1086,30 @@ def get_api_resources(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: V1APIResourceList + :return: V1Status If the method is called asynchronously, returns the request thread. """ kwargs['_return_http_data_only'] = True - return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + return self.delete_storage_class_with_http_info(name, **kwargs) # noqa: E501 - def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 - """get_api_resources # noqa: E501 + def delete_storage_class_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_storage_class # noqa: E501 - get available resources # noqa: E501 + delete a StorageClass # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> thread = api.delete_storage_class_with_http_info(name, async_req=True) >>> result = thread.get() :param async_req bool: execute request asynchronously + :param str name: name of the StorageClass (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: :param _return_http_data_only: response data without head status code and headers :param _preload_content: if False, the urllib3.HTTPResponse object will @@ -955,7 +1119,281 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts. - :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_storage_class" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_storage_class`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/storageclasses/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def delete_volume_attachment(self, name, **kwargs): # noqa: E501 + """delete_volume_attachment # noqa: E501 + + delete a VolumeAttachment # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_volume_attachment(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttachment (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1Status + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.delete_volume_attachment_with_http_info(name, **kwargs) # noqa: E501 + + def delete_volume_attachment_with_http_info(self, name, **kwargs): # noqa: E501 + """delete_volume_attachment # noqa: E501 + + delete a VolumeAttachment # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.delete_volume_attachment_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the VolumeAttachment (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. + :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. + :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. + :param V1DeleteOptions body: + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1Status, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'dry_run', + 'grace_period_seconds', + 'orphan_dependents', + 'propagation_policy', + 'body' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method delete_volume_attachment" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `delete_volume_attachment`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'grace_period_seconds' in local_var_params and local_var_params['grace_period_seconds'] is not None: # noqa: E501 + query_params.append(('gracePeriodSeconds', local_var_params['grace_period_seconds'])) # noqa: E501 + if 'orphan_dependents' in local_var_params and local_var_params['orphan_dependents'] is not None: # noqa: E501 + query_params.append(('orphanDependents', local_var_params['orphan_dependents'])) # noqa: E501 + if 'propagation_policy' in local_var_params and local_var_params['propagation_policy'] is not None: # noqa: E501 + query_params.append(('propagationPolicy', local_var_params['propagation_policy'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/volumeattachments/{name}', 'DELETE', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Status', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_api_resources(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1APIResourceList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.get_api_resources_with_http_info(**kwargs) # noqa: E501 + + def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 + """get_api_resources # noqa: E501 + + get available resources # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_api_resources_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1APIResourceList, status_code(int), headers(HTTPHeaderDict)) If the method is called asynchronously, returns the request thread. """ @@ -1017,6 +1455,156 @@ def get_api_resources_with_http_info(self, **kwargs): # noqa: E501 _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def list_csi_node(self, **kwargs): # noqa: E501 + """list_csi_node # noqa: E501 + + list or watch objects of kind CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_csi_node(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1CSINodeList + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.list_csi_node_with_http_info(**kwargs) # noqa: E501 + + def list_csi_node_with_http_info(self, **kwargs): # noqa: E501 + """list_csi_node # noqa: E501 + + list or watch objects of kind CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.list_csi_node_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str pretty: If 'true', then the output is pretty printed. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. + :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. + :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. + :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. + :param int limit: limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. + :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. + :param int timeout_seconds: Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. + :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1CSINodeList, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'pretty', + 'allow_watch_bookmarks', + '_continue', + 'field_selector', + 'label_selector', + 'limit', + 'resource_version', + 'timeout_seconds', + 'watch' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method list_csi_node" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'allow_watch_bookmarks' in local_var_params and local_var_params['allow_watch_bookmarks'] is not None: # noqa: E501 + query_params.append(('allowWatchBookmarks', local_var_params['allow_watch_bookmarks'])) # noqa: E501 + if '_continue' in local_var_params and local_var_params['_continue'] is not None: # noqa: E501 + query_params.append(('continue', local_var_params['_continue'])) # noqa: E501 + if 'field_selector' in local_var_params and local_var_params['field_selector'] is not None: # noqa: E501 + query_params.append(('fieldSelector', local_var_params['field_selector'])) # noqa: E501 + if 'label_selector' in local_var_params and local_var_params['label_selector'] is not None: # noqa: E501 + query_params.append(('labelSelector', local_var_params['label_selector'])) # noqa: E501 + if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501 + query_params.append(('limit', local_var_params['limit'])) # noqa: E501 + if 'resource_version' in local_var_params and local_var_params['resource_version'] is not None: # noqa: E501 + query_params.append(('resourceVersion', local_var_params['resource_version'])) # noqa: E501 + if 'timeout_seconds' in local_var_params and local_var_params['timeout_seconds'] is not None: # noqa: E501 + query_params.append(('timeoutSeconds', local_var_params['timeout_seconds'])) # noqa: E501 + if 'watch' in local_var_params and local_var_params['watch'] is not None: # noqa: E501 + query_params.append(('watch', local_var_params['watch'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/csinodes', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1CSINodeList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def list_storage_class(self, **kwargs): # noqa: E501 """list_storage_class # noqa: E501 @@ -1028,7 +1616,7 @@ def list_storage_class(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1061,7 +1649,7 @@ def list_storage_class_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1178,7 +1766,7 @@ def list_volume_attachment(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1211,7 +1799,7 @@ def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1296,20 +1884,167 @@ def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/volumeattachments', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1VolumeAttachmentList', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + + def patch_csi_node(self, name, body, **kwargs): # noqa: E501 + """patch_csi_node # noqa: E501 + + partially update the specified CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_csi_node(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the CSINode (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1CSINode + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.patch_csi_node_with_http_info(name, body, **kwargs) # noqa: E501 + + def patch_csi_node_with_http_info(self, name, body, **kwargs): # noqa: E501 + """patch_csi_node # noqa: E501 + + partially update the specified CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.patch_csi_node_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the CSINode (required) + :param object body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). + :param bool force: Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1CSINode, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager', + 'force' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method patch_csi_node" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `patch_csi_node`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `patch_csi_node`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + if 'force' in local_var_params and local_var_params['force'] is not None: # noqa: E501 + query_params.append(('force', local_var_params['force'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json-patch+json', 'application/merge-patch+json', 'application/strategic-merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 return self.api_client.call_api( - '/apis/storage.k8s.io/v1/volumeattachments', 'GET', + '/apis/storage.k8s.io/v1/csinodes/{name}', 'PATCH', path_params, query_params, header_params, body=body_params, post_params=form_params, files=local_var_files, - response_type='V1VolumeAttachmentList', # noqa: E501 + response_type='V1CSINode', # noqa: E501 auth_settings=auth_settings, async_req=local_var_params.get('async_req'), _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 @@ -1758,6 +2493,135 @@ def patch_volume_attachment_status_with_http_info(self, name, body, **kwargs): _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def read_csi_node(self, name, **kwargs): # noqa: E501 + """read_csi_node # noqa: E501 + + read the specified CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_csi_node(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the CSINode (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1CSINode + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.read_csi_node_with_http_info(name, **kwargs) # noqa: E501 + + def read_csi_node_with_http_info(self, name, **kwargs): # noqa: E501 + """read_csi_node # noqa: E501 + + read the specified CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.read_csi_node_with_http_info(name, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the CSINode (required) + :param str pretty: If 'true', then the output is pretty printed. + :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. + :param bool export: Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1CSINode, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'pretty', + 'exact', + 'export' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method read_csi_node" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `read_csi_node`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'exact' in local_var_params and local_var_params['exact'] is not None: # noqa: E501 + query_params.append(('exact', local_var_params['exact'])) # noqa: E501 + if 'export' in local_var_params and local_var_params['export'] is not None: # noqa: E501 + query_params.append(('export', local_var_params['export'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/csinodes/{name}', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1CSINode', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def read_storage_class(self, name, **kwargs): # noqa: E501 """read_storage_class # noqa: E501 @@ -2135,6 +2999,144 @@ def read_volume_attachment_status_with_http_info(self, name, **kwargs): # noqa: _request_timeout=local_var_params.get('_request_timeout'), collection_formats=collection_formats) + def replace_csi_node(self, name, body, **kwargs): # noqa: E501 + """replace_csi_node # noqa: E501 + + replace the specified CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_csi_node(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the CSINode (required) + :param V1CSINode body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: V1CSINode + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + return self.replace_csi_node_with_http_info(name, body, **kwargs) # noqa: E501 + + def replace_csi_node_with_http_info(self, name, body, **kwargs): # noqa: E501 + """replace_csi_node # noqa: E501 + + replace the specified CSINode # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.replace_csi_node_with_http_info(name, body, async_req=True) + >>> result = thread.get() + + :param async_req bool: execute request asynchronously + :param str name: name of the CSINode (required) + :param V1CSINode body: (required) + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed + :param str field_manager: fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. + :param _return_http_data_only: response data without head status code + and headers + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: tuple(V1CSINode, status_code(int), headers(HTTPHeaderDict)) + If the method is called asynchronously, + returns the request thread. + """ + + local_var_params = locals() + + all_params = [ + 'name', + 'body', + 'pretty', + 'dry_run', + 'field_manager' + ] + all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout' + ] + ) + + for key, val in six.iteritems(local_var_params['kwargs']): + if key not in all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method replace_csi_node" % key + ) + local_var_params[key] = val + del local_var_params['kwargs'] + # verify the required parameter 'name' is set + if self.api_client.client_side_validation and ('name' not in local_var_params or # noqa: E501 + local_var_params['name'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `name` when calling `replace_csi_node`") # noqa: E501 + # verify the required parameter 'body' is set + if self.api_client.client_side_validation and ('body' not in local_var_params or # noqa: E501 + local_var_params['body'] is None): # noqa: E501 + raise ApiValueError("Missing the required parameter `body` when calling `replace_csi_node`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'name' in local_var_params: + path_params['name'] = local_var_params['name'] # noqa: E501 + + query_params = [] + if 'pretty' in local_var_params and local_var_params['pretty'] is not None: # noqa: E501 + query_params.append(('pretty', local_var_params['pretty'])) # noqa: E501 + if 'dry_run' in local_var_params and local_var_params['dry_run'] is not None: # noqa: E501 + query_params.append(('dryRun', local_var_params['dry_run'])) # noqa: E501 + if 'field_manager' in local_var_params and local_var_params['field_manager'] is not None: # noqa: E501 + query_params.append(('fieldManager', local_var_params['field_manager'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in local_var_params: + body_params = local_var_params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) # noqa: E501 + + # Authentication setting + auth_settings = ['BearerToken'] # noqa: E501 + + return self.api_client.call_api( + '/apis/storage.k8s.io/v1/csinodes/{name}', 'PUT', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1CSINode', # noqa: E501 + auth_settings=auth_settings, + async_req=local_var_params.get('async_req'), + _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=local_var_params.get('_preload_content', True), + _request_timeout=local_var_params.get('_request_timeout'), + collection_formats=collection_formats) + def replace_storage_class(self, name, body, **kwargs): # noqa: E501 """replace_storage_class # noqa: E501 diff --git a/kubernetes/client/api/storage_v1alpha1_api.py b/kubernetes/client/api/storage_v1alpha1_api.py index a65fc91197..eba1d75feb 100644 --- a/kubernetes/client/api/storage_v1alpha1_api.py +++ b/kubernetes/client/api/storage_v1alpha1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -590,7 +590,7 @@ def list_volume_attachment(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -623,7 +623,7 @@ def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/storage_v1beta1_api.py b/kubernetes/client/api/storage_v1beta1_api.py index 93d11cfc73..4819eb3708 100644 --- a/kubernetes/client/api/storage_v1beta1_api.py +++ b/kubernetes/client/api/storage_v1beta1_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -1904,7 +1904,7 @@ def list_csi_driver(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -1937,7 +1937,7 @@ def list_csi_driver_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2054,7 +2054,7 @@ def list_csi_node(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2087,7 +2087,7 @@ def list_csi_node_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2204,7 +2204,7 @@ def list_storage_class(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2237,7 +2237,7 @@ def list_storage_class_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2354,7 +2354,7 @@ def list_volume_attachment(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. @@ -2387,7 +2387,7 @@ def list_volume_attachment_with_http_info(self, **kwargs): # noqa: E501 :param async_req bool: execute request asynchronously :param str pretty: If 'true', then the output is pretty printed. - :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. + :param bool allow_watch_bookmarks: allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. :param str _continue: The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. diff --git a/kubernetes/client/api/version_api.py b/kubernetes/client/api/version_api.py index 7ae099f95c..2f09306421 100644 --- a/kubernetes/client/api/version_api.py +++ b/kubernetes/client/api/version_api.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index ef56f4eb7d..622d721b97 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/12.0.0-snapshot/python' + self.user_agent = 'OpenAPI-Generator/17.0.0-snapshot/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/kubernetes/client/apis/__init__.py b/kubernetes/client/apis/__init__.py deleted file mode 100644 index ca4b321de2..0000000000 --- a/kubernetes/client/apis/__init__.py +++ /dev/null @@ -1,13 +0,0 @@ -from __future__ import absolute_import -import warnings - -# flake8: noqa - -# alias kubernetes.client.api package and print deprecation warning -from kubernetes.client.api import * - -warnings.filterwarnings('default', module='kubernetes.client.apis') -warnings.warn( - "The package kubernetes.client.apis is renamed and deprecated, use kubernetes.client.api instead (please note that the trailing s was removed).", - DeprecationWarning -) diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index ac926fc094..be111c8a3d 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -346,8 +346,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: release-1.16\n"\ - "SDK Package Version: 12.0.0-snapshot".\ + "Version of the API: release-1.17\n"\ + "SDK Package Version: 17.0.0-snapshot".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes/client/exceptions.py b/kubernetes/client/exceptions.py index ba300af854..8f7b9d58e5 100644 --- a/kubernetes/client/exceptions.py +++ b/kubernetes/client/exceptions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/__init__.py b/kubernetes/client/models/__init__.py index b141cc5f34..ba41b38167 100644 --- a/kubernetes/client/models/__init__.py +++ b/kubernetes/client/models/__init__.py @@ -6,7 +6,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -71,6 +71,7 @@ from kubernetes.client.models.extensions_v1beta1_scale_spec import ExtensionsV1beta1ScaleSpec from kubernetes.client.models.extensions_v1beta1_scale_status import ExtensionsV1beta1ScaleStatus from kubernetes.client.models.extensions_v1beta1_supplemental_groups_strategy_options import ExtensionsV1beta1SupplementalGroupsStrategyOptions +from kubernetes.client.models.flowcontrol_v1alpha1_subject import FlowcontrolV1alpha1Subject from kubernetes.client.models.networking_v1beta1_http_ingress_path import NetworkingV1beta1HTTPIngressPath from kubernetes.client.models.networking_v1beta1_http_ingress_rule_value import NetworkingV1beta1HTTPIngressRuleValue from kubernetes.client.models.networking_v1beta1_ingress import NetworkingV1beta1Ingress @@ -94,6 +95,7 @@ from kubernetes.client.models.policy_v1beta1_runtime_class_strategy_options import PolicyV1beta1RuntimeClassStrategyOptions from kubernetes.client.models.policy_v1beta1_se_linux_strategy_options import PolicyV1beta1SELinuxStrategyOptions from kubernetes.client.models.policy_v1beta1_supplemental_groups_strategy_options import PolicyV1beta1SupplementalGroupsStrategyOptions +from kubernetes.client.models.rbac_v1alpha1_subject import RbacV1alpha1Subject from kubernetes.client.models.v1_api_group import V1APIGroup from kubernetes.client.models.v1_api_group_list import V1APIGroupList from kubernetes.client.models.v1_api_resource import V1APIResource @@ -113,6 +115,10 @@ from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource from kubernetes.client.models.v1_binding import V1Binding from kubernetes.client.models.v1_bound_object_reference import V1BoundObjectReference +from kubernetes.client.models.v1_csi_node import V1CSINode +from kubernetes.client.models.v1_csi_node_driver import V1CSINodeDriver +from kubernetes.client.models.v1_csi_node_list import V1CSINodeList +from kubernetes.client.models.v1_csi_node_spec import V1CSINodeSpec from kubernetes.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource from kubernetes.client.models.v1_csi_volume_source import V1CSIVolumeSource from kubernetes.client.models.v1_capabilities import V1Capabilities @@ -413,6 +419,7 @@ from kubernetes.client.models.v1_volume_error import V1VolumeError from kubernetes.client.models.v1_volume_mount import V1VolumeMount from kubernetes.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity +from kubernetes.client.models.v1_volume_node_resources import V1VolumeNodeResources from kubernetes.client.models.v1_volume_projection import V1VolumeProjection from kubernetes.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource from kubernetes.client.models.v1_watch_event import V1WatchEvent @@ -427,19 +434,33 @@ from kubernetes.client.models.v1alpha1_cluster_role_binding import V1alpha1ClusterRoleBinding from kubernetes.client.models.v1alpha1_cluster_role_binding_list import V1alpha1ClusterRoleBindingList from kubernetes.client.models.v1alpha1_cluster_role_list import V1alpha1ClusterRoleList -from kubernetes.client.models.v1alpha1_endpoint import V1alpha1Endpoint -from kubernetes.client.models.v1alpha1_endpoint_conditions import V1alpha1EndpointConditions -from kubernetes.client.models.v1alpha1_endpoint_port import V1alpha1EndpointPort -from kubernetes.client.models.v1alpha1_endpoint_slice import V1alpha1EndpointSlice -from kubernetes.client.models.v1alpha1_endpoint_slice_list import V1alpha1EndpointSliceList +from kubernetes.client.models.v1alpha1_flow_distinguisher_method import V1alpha1FlowDistinguisherMethod +from kubernetes.client.models.v1alpha1_flow_schema import V1alpha1FlowSchema +from kubernetes.client.models.v1alpha1_flow_schema_condition import V1alpha1FlowSchemaCondition +from kubernetes.client.models.v1alpha1_flow_schema_list import V1alpha1FlowSchemaList +from kubernetes.client.models.v1alpha1_flow_schema_spec import V1alpha1FlowSchemaSpec +from kubernetes.client.models.v1alpha1_flow_schema_status import V1alpha1FlowSchemaStatus +from kubernetes.client.models.v1alpha1_group_subject import V1alpha1GroupSubject +from kubernetes.client.models.v1alpha1_limit_response import V1alpha1LimitResponse +from kubernetes.client.models.v1alpha1_limited_priority_level_configuration import V1alpha1LimitedPriorityLevelConfiguration +from kubernetes.client.models.v1alpha1_non_resource_policy_rule import V1alpha1NonResourcePolicyRule from kubernetes.client.models.v1alpha1_overhead import V1alpha1Overhead from kubernetes.client.models.v1alpha1_pod_preset import V1alpha1PodPreset from kubernetes.client.models.v1alpha1_pod_preset_list import V1alpha1PodPresetList from kubernetes.client.models.v1alpha1_pod_preset_spec import V1alpha1PodPresetSpec from kubernetes.client.models.v1alpha1_policy import V1alpha1Policy from kubernetes.client.models.v1alpha1_policy_rule import V1alpha1PolicyRule +from kubernetes.client.models.v1alpha1_policy_rules_with_subjects import V1alpha1PolicyRulesWithSubjects from kubernetes.client.models.v1alpha1_priority_class import V1alpha1PriorityClass from kubernetes.client.models.v1alpha1_priority_class_list import V1alpha1PriorityClassList +from kubernetes.client.models.v1alpha1_priority_level_configuration import V1alpha1PriorityLevelConfiguration +from kubernetes.client.models.v1alpha1_priority_level_configuration_condition import V1alpha1PriorityLevelConfigurationCondition +from kubernetes.client.models.v1alpha1_priority_level_configuration_list import V1alpha1PriorityLevelConfigurationList +from kubernetes.client.models.v1alpha1_priority_level_configuration_reference import V1alpha1PriorityLevelConfigurationReference +from kubernetes.client.models.v1alpha1_priority_level_configuration_spec import V1alpha1PriorityLevelConfigurationSpec +from kubernetes.client.models.v1alpha1_priority_level_configuration_status import V1alpha1PriorityLevelConfigurationStatus +from kubernetes.client.models.v1alpha1_queuing_configuration import V1alpha1QueuingConfiguration +from kubernetes.client.models.v1alpha1_resource_policy_rule import V1alpha1ResourcePolicyRule from kubernetes.client.models.v1alpha1_role import V1alpha1Role from kubernetes.client.models.v1alpha1_role_binding import V1alpha1RoleBinding from kubernetes.client.models.v1alpha1_role_binding_list import V1alpha1RoleBindingList @@ -449,8 +470,9 @@ from kubernetes.client.models.v1alpha1_runtime_class_list import V1alpha1RuntimeClassList from kubernetes.client.models.v1alpha1_runtime_class_spec import V1alpha1RuntimeClassSpec from kubernetes.client.models.v1alpha1_scheduling import V1alpha1Scheduling +from kubernetes.client.models.v1alpha1_service_account_subject import V1alpha1ServiceAccountSubject from kubernetes.client.models.v1alpha1_service_reference import V1alpha1ServiceReference -from kubernetes.client.models.v1alpha1_subject import V1alpha1Subject +from kubernetes.client.models.v1alpha1_user_subject import V1alpha1UserSubject from kubernetes.client.models.v1alpha1_volume_attachment import V1alpha1VolumeAttachment from kubernetes.client.models.v1alpha1_volume_attachment_list import V1alpha1VolumeAttachmentList from kubernetes.client.models.v1alpha1_volume_attachment_source import V1alpha1VolumeAttachmentSource @@ -506,6 +528,11 @@ from kubernetes.client.models.v1beta1_daemon_set_spec import V1beta1DaemonSetSpec from kubernetes.client.models.v1beta1_daemon_set_status import V1beta1DaemonSetStatus from kubernetes.client.models.v1beta1_daemon_set_update_strategy import V1beta1DaemonSetUpdateStrategy +from kubernetes.client.models.v1beta1_endpoint import V1beta1Endpoint +from kubernetes.client.models.v1beta1_endpoint_conditions import V1beta1EndpointConditions +from kubernetes.client.models.v1beta1_endpoint_port import V1beta1EndpointPort +from kubernetes.client.models.v1beta1_endpoint_slice import V1beta1EndpointSlice +from kubernetes.client.models.v1beta1_endpoint_slice_list import V1beta1EndpointSliceList from kubernetes.client.models.v1beta1_event import V1beta1Event from kubernetes.client.models.v1beta1_event_list import V1beta1EventList from kubernetes.client.models.v1beta1_event_series import V1beta1EventSeries diff --git a/kubernetes/client/models/admissionregistration_v1_service_reference.py b/kubernetes/client/models/admissionregistration_v1_service_reference.py index 8d925dd6dd..1541b077d6 100644 --- a/kubernetes/client/models/admissionregistration_v1_service_reference.py +++ b/kubernetes/client/models/admissionregistration_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py b/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py index e03d5cf4bf..3eaa7fd938 100644 --- a/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py +++ b/kubernetes/client/models/admissionregistration_v1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py b/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py index 37de23d267..a0d8edb37c 100644 --- a/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py +++ b/kubernetes/client/models/admissionregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/admissionregistration_v1beta1_webhook_client_config.py b/kubernetes/client/models/admissionregistration_v1beta1_webhook_client_config.py index 7a63d73d6e..cea3201fdf 100644 --- a/kubernetes/client/models/admissionregistration_v1beta1_webhook_client_config.py +++ b/kubernetes/client/models/admissionregistration_v1beta1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiextensions_v1_service_reference.py b/kubernetes/client/models/apiextensions_v1_service_reference.py index 5b1963a5da..6af708c1c8 100644 --- a/kubernetes/client/models/apiextensions_v1_service_reference.py +++ b/kubernetes/client/models/apiextensions_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiextensions_v1_webhook_client_config.py b/kubernetes/client/models/apiextensions_v1_webhook_client_config.py index 36f2346f80..fbd4c01e19 100644 --- a/kubernetes/client/models/apiextensions_v1_webhook_client_config.py +++ b/kubernetes/client/models/apiextensions_v1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiextensions_v1beta1_service_reference.py b/kubernetes/client/models/apiextensions_v1beta1_service_reference.py index cec0b7acd9..a2b962f2a3 100644 --- a/kubernetes/client/models/apiextensions_v1beta1_service_reference.py +++ b/kubernetes/client/models/apiextensions_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiextensions_v1beta1_webhook_client_config.py b/kubernetes/client/models/apiextensions_v1beta1_webhook_client_config.py index 5e77ba4a3d..8265e6a109 100644 --- a/kubernetes/client/models/apiextensions_v1beta1_webhook_client_config.py +++ b/kubernetes/client/models/apiextensions_v1beta1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiregistration_v1_service_reference.py b/kubernetes/client/models/apiregistration_v1_service_reference.py index beb22a5e48..2df68589a6 100644 --- a/kubernetes/client/models/apiregistration_v1_service_reference.py +++ b/kubernetes/client/models/apiregistration_v1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apiregistration_v1beta1_service_reference.py b/kubernetes/client/models/apiregistration_v1beta1_service_reference.py index 603c6b6eb4..a873bfdc21 100644 --- a/kubernetes/client/models/apiregistration_v1beta1_service_reference.py +++ b/kubernetes/client/models/apiregistration_v1beta1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment.py b/kubernetes/client/models/apps_v1beta1_deployment.py index d544d51282..aabdc0be9c 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment.py +++ b/kubernetes/client/models/apps_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_condition.py b/kubernetes/client/models/apps_v1beta1_deployment_condition.py index c0bf0f6844..1b483e372c 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_condition.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_list.py b/kubernetes/client/models/apps_v1beta1_deployment_list.py index 0ffbd17269..6bc574ac24 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_list.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_rollback.py b/kubernetes/client/models/apps_v1beta1_deployment_rollback.py index c652da7d0b..49d6527459 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_rollback.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_spec.py b/kubernetes/client/models/apps_v1beta1_deployment_spec.py index 09c7069de1..935d77937d 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_spec.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_status.py b/kubernetes/client/models/apps_v1beta1_deployment_status.py index d685443938..f62b3dbfdf 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_status.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_deployment_strategy.py b/kubernetes/client/models/apps_v1beta1_deployment_strategy.py index 4a3850339a..cf1e9feda0 100644 --- a/kubernetes/client/models/apps_v1beta1_deployment_strategy.py +++ b/kubernetes/client/models/apps_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_rollback_config.py b/kubernetes/client/models/apps_v1beta1_rollback_config.py index 3d16e83fc9..a3860ae459 100644 --- a/kubernetes/client/models/apps_v1beta1_rollback_config.py +++ b/kubernetes/client/models/apps_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py b/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py index 7540904ded..de1985d0c4 100644 --- a/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py +++ b/kubernetes/client/models/apps_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_scale.py b/kubernetes/client/models/apps_v1beta1_scale.py index 3ed78ccd4c..68bea297c5 100644 --- a/kubernetes/client/models/apps_v1beta1_scale.py +++ b/kubernetes/client/models/apps_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_scale_spec.py b/kubernetes/client/models/apps_v1beta1_scale_spec.py index a5664a165b..9b1179a3f9 100644 --- a/kubernetes/client/models/apps_v1beta1_scale_spec.py +++ b/kubernetes/client/models/apps_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/apps_v1beta1_scale_status.py b/kubernetes/client/models/apps_v1beta1_scale_status.py index 8f93651461..a37feb83e2 100644 --- a/kubernetes/client/models/apps_v1beta1_scale_status.py +++ b/kubernetes/client/models/apps_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_allowed_csi_driver.py b/kubernetes/client/models/extensions_v1beta1_allowed_csi_driver.py index ccf52259da..07fbd140c2 100644 --- a/kubernetes/client/models/extensions_v1beta1_allowed_csi_driver.py +++ b/kubernetes/client/models/extensions_v1beta1_allowed_csi_driver.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py b/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py index 9d00858f43..9048b70aaa 100644 --- a/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py +++ b/kubernetes/client/models/extensions_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py b/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py index e108c2ed51..5b259e3a43 100644 --- a/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py +++ b/kubernetes/client/models/extensions_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment.py b/kubernetes/client/models/extensions_v1beta1_deployment.py index f329ea33b3..e6876bbe19 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_condition.py b/kubernetes/client/models/extensions_v1beta1_deployment_condition.py index 8e956b812e..f78a65c769 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_condition.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_list.py b/kubernetes/client/models/extensions_v1beta1_deployment_list.py index 82389f5837..e1bc45e43d 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_list.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py b/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py index 10f76771e6..16c963597f 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_rollback.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_spec.py b/kubernetes/client/models/extensions_v1beta1_deployment_spec.py index ca3ac748fb..2aaed3b006 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_status.py b/kubernetes/client/models/extensions_v1beta1_deployment_status.py index d94b35bbaf..0f259dde41 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_status.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py b/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py index 737482f67f..f24cdba2e9 100644 --- a/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py +++ b/kubernetes/client/models/extensions_v1beta1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py index 2f264e1c41..8cfd3256d1 100644 --- a/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_host_port_range.py b/kubernetes/client/models/extensions_v1beta1_host_port_range.py index 97c28dd62f..69086e99c2 100644 --- a/kubernetes/client/models/extensions_v1beta1_host_port_range.py +++ b/kubernetes/client/models/extensions_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_http_ingress_path.py b/kubernetes/client/models/extensions_v1beta1_http_ingress_path.py index 2545b40ce3..323a665ab4 100644 --- a/kubernetes/client/models/extensions_v1beta1_http_ingress_path.py +++ b/kubernetes/client/models/extensions_v1beta1_http_ingress_path.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_http_ingress_rule_value.py b/kubernetes/client/models/extensions_v1beta1_http_ingress_rule_value.py index 8d874aaa34..0352d02234 100644 --- a/kubernetes/client/models/extensions_v1beta1_http_ingress_rule_value.py +++ b/kubernetes/client/models/extensions_v1beta1_http_ingress_rule_value.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_id_range.py b/kubernetes/client/models/extensions_v1beta1_id_range.py index 82a27d7725..378dd03b44 100644 --- a/kubernetes/client/models/extensions_v1beta1_id_range.py +++ b/kubernetes/client/models/extensions_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_ingress.py b/kubernetes/client/models/extensions_v1beta1_ingress.py index 18068a96c0..af986448f3 100644 --- a/kubernetes/client/models/extensions_v1beta1_ingress.py +++ b/kubernetes/client/models/extensions_v1beta1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_ingress_backend.py b/kubernetes/client/models/extensions_v1beta1_ingress_backend.py index b211f4bfa7..83882546c9 100644 --- a/kubernetes/client/models/extensions_v1beta1_ingress_backend.py +++ b/kubernetes/client/models/extensions_v1beta1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_ingress_list.py b/kubernetes/client/models/extensions_v1beta1_ingress_list.py index 8275f36924..0916855719 100644 --- a/kubernetes/client/models/extensions_v1beta1_ingress_list.py +++ b/kubernetes/client/models/extensions_v1beta1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_ingress_rule.py b/kubernetes/client/models/extensions_v1beta1_ingress_rule.py index 30c5ffa21d..5a361552bc 100644 --- a/kubernetes/client/models/extensions_v1beta1_ingress_rule.py +++ b/kubernetes/client/models/extensions_v1beta1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_ingress_spec.py b/kubernetes/client/models/extensions_v1beta1_ingress_spec.py index 776893d1ea..37178fe57d 100644 --- a/kubernetes/client/models/extensions_v1beta1_ingress_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_ingress_status.py b/kubernetes/client/models/extensions_v1beta1_ingress_status.py index ffff4fcc4c..834001dd15 100644 --- a/kubernetes/client/models/extensions_v1beta1_ingress_status.py +++ b/kubernetes/client/models/extensions_v1beta1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_ingress_tls.py b/kubernetes/client/models/extensions_v1beta1_ingress_tls.py index be946aa70d..8fa6dd7fc2 100644 --- a/kubernetes/client/models/extensions_v1beta1_ingress_tls.py +++ b/kubernetes/client/models/extensions_v1beta1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py index 1a01f00893..9716156b01 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py index d8a741512a..e1ddacece1 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py index 12e5df5380..2e33d13ecb 100644 --- a/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_rollback_config.py b/kubernetes/client/models/extensions_v1beta1_rollback_config.py index 4be545cfaf..ad1890e7e3 100644 --- a/kubernetes/client/models/extensions_v1beta1_rollback_config.py +++ b/kubernetes/client/models/extensions_v1beta1_rollback_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py b/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py index 594d81eb5e..1710a1f0b3 100644 --- a/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py +++ b/kubernetes/client/models/extensions_v1beta1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_run_as_group_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_run_as_group_strategy_options.py index fde1c36a7b..5fa5ec774c 100644 --- a/kubernetes/client/models/extensions_v1beta1_run_as_group_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_run_as_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py index 6f477da5ec..a844b14e35 100644 --- a/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_runtime_class_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_runtime_class_strategy_options.py index b6c6147dbd..bbf2229c6d 100644 --- a/kubernetes/client/models/extensions_v1beta1_runtime_class_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_runtime_class_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_scale.py b/kubernetes/client/models/extensions_v1beta1_scale.py index 8512b9b798..14cca5475b 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale.py +++ b/kubernetes/client/models/extensions_v1beta1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_scale_spec.py b/kubernetes/client/models/extensions_v1beta1_scale_spec.py index b65a77723c..a4d9c12a2a 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale_spec.py +++ b/kubernetes/client/models/extensions_v1beta1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_scale_status.py b/kubernetes/client/models/extensions_v1beta1_scale_status.py index 30e706fdd2..100628d036 100644 --- a/kubernetes/client/models/extensions_v1beta1_scale_status.py +++ b/kubernetes/client/models/extensions_v1beta1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py index b85b0a03c6..7092a835c9 100644 --- a/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py index 3a047c4375..8878a3b0bf 100644 --- a/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/client/models/extensions_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/flowcontrol_v1alpha1_subject.py b/kubernetes/client/models/flowcontrol_v1alpha1_subject.py new file mode 100644 index 0000000000..acfc125338 --- /dev/null +++ b/kubernetes/client/models/flowcontrol_v1alpha1_subject.py @@ -0,0 +1,201 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class FlowcontrolV1alpha1Subject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'group': 'V1alpha1GroupSubject', + 'kind': 'str', + 'service_account': 'V1alpha1ServiceAccountSubject', + 'user': 'V1alpha1UserSubject' + } + + attribute_map = { + 'group': 'group', + 'kind': 'kind', + 'service_account': 'serviceAccount', + 'user': 'user' + } + + def __init__(self, group=None, kind=None, service_account=None, user=None, local_vars_configuration=None): # noqa: E501 + """FlowcontrolV1alpha1Subject - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._group = None + self._kind = None + self._service_account = None + self._user = None + self.discriminator = None + + if group is not None: + self.group = group + self.kind = kind + if service_account is not None: + self.service_account = service_account + if user is not None: + self.user = user + + @property + def group(self): + """Gets the group of this FlowcontrolV1alpha1Subject. # noqa: E501 + + + :return: The group of this FlowcontrolV1alpha1Subject. # noqa: E501 + :rtype: V1alpha1GroupSubject + """ + return self._group + + @group.setter + def group(self, group): + """Sets the group of this FlowcontrolV1alpha1Subject. + + + :param group: The group of this FlowcontrolV1alpha1Subject. # noqa: E501 + :type: V1alpha1GroupSubject + """ + + self._group = group + + @property + def kind(self): + """Gets the kind of this FlowcontrolV1alpha1Subject. # noqa: E501 + + Required # noqa: E501 + + :return: The kind of this FlowcontrolV1alpha1Subject. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this FlowcontrolV1alpha1Subject. + + Required # noqa: E501 + + :param kind: The kind of this FlowcontrolV1alpha1Subject. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 + raise ValueError("Invalid value for `kind`, must not be `None`") # noqa: E501 + + self._kind = kind + + @property + def service_account(self): + """Gets the service_account of this FlowcontrolV1alpha1Subject. # noqa: E501 + + + :return: The service_account of this FlowcontrolV1alpha1Subject. # noqa: E501 + :rtype: V1alpha1ServiceAccountSubject + """ + return self._service_account + + @service_account.setter + def service_account(self, service_account): + """Sets the service_account of this FlowcontrolV1alpha1Subject. + + + :param service_account: The service_account of this FlowcontrolV1alpha1Subject. # noqa: E501 + :type: V1alpha1ServiceAccountSubject + """ + + self._service_account = service_account + + @property + def user(self): + """Gets the user of this FlowcontrolV1alpha1Subject. # noqa: E501 + + + :return: The user of this FlowcontrolV1alpha1Subject. # noqa: E501 + :rtype: V1alpha1UserSubject + """ + return self._user + + @user.setter + def user(self, user): + """Sets the user of this FlowcontrolV1alpha1Subject. + + + :param user: The user of this FlowcontrolV1alpha1Subject. # noqa: E501 + :type: V1alpha1UserSubject + """ + + self._user = user + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, FlowcontrolV1alpha1Subject): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, FlowcontrolV1alpha1Subject): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/networking_v1beta1_http_ingress_path.py b/kubernetes/client/models/networking_v1beta1_http_ingress_path.py index 54efc9b971..5c16dc02af 100644 --- a/kubernetes/client/models/networking_v1beta1_http_ingress_path.py +++ b/kubernetes/client/models/networking_v1beta1_http_ingress_path.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/networking_v1beta1_http_ingress_rule_value.py b/kubernetes/client/models/networking_v1beta1_http_ingress_rule_value.py index 9f78f3f630..45175cbe30 100644 --- a/kubernetes/client/models/networking_v1beta1_http_ingress_rule_value.py +++ b/kubernetes/client/models/networking_v1beta1_http_ingress_rule_value.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/networking_v1beta1_ingress.py b/kubernetes/client/models/networking_v1beta1_ingress.py index a734541332..6c42fe4d18 100644 --- a/kubernetes/client/models/networking_v1beta1_ingress.py +++ b/kubernetes/client/models/networking_v1beta1_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/networking_v1beta1_ingress_backend.py b/kubernetes/client/models/networking_v1beta1_ingress_backend.py index 23f7b59ff7..dfa69cb5e2 100644 --- a/kubernetes/client/models/networking_v1beta1_ingress_backend.py +++ b/kubernetes/client/models/networking_v1beta1_ingress_backend.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/networking_v1beta1_ingress_list.py b/kubernetes/client/models/networking_v1beta1_ingress_list.py index a66e2b55af..3336022ffa 100644 --- a/kubernetes/client/models/networking_v1beta1_ingress_list.py +++ b/kubernetes/client/models/networking_v1beta1_ingress_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/networking_v1beta1_ingress_rule.py b/kubernetes/client/models/networking_v1beta1_ingress_rule.py index 1726c1e0e6..9776f775c7 100644 --- a/kubernetes/client/models/networking_v1beta1_ingress_rule.py +++ b/kubernetes/client/models/networking_v1beta1_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/networking_v1beta1_ingress_spec.py b/kubernetes/client/models/networking_v1beta1_ingress_spec.py index cde316ddbf..810332e6a6 100644 --- a/kubernetes/client/models/networking_v1beta1_ingress_spec.py +++ b/kubernetes/client/models/networking_v1beta1_ingress_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/networking_v1beta1_ingress_status.py b/kubernetes/client/models/networking_v1beta1_ingress_status.py index e100d47564..123718f003 100644 --- a/kubernetes/client/models/networking_v1beta1_ingress_status.py +++ b/kubernetes/client/models/networking_v1beta1_ingress_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/networking_v1beta1_ingress_tls.py b/kubernetes/client/models/networking_v1beta1_ingress_tls.py index 8bc4457b01..e013db092f 100644 --- a/kubernetes/client/models/networking_v1beta1_ingress_tls.py +++ b/kubernetes/client/models/networking_v1beta1_ingress_tls.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_allowed_csi_driver.py b/kubernetes/client/models/policy_v1beta1_allowed_csi_driver.py index 8082670d8e..ad6ebe5103 100644 --- a/kubernetes/client/models/policy_v1beta1_allowed_csi_driver.py +++ b/kubernetes/client/models/policy_v1beta1_allowed_csi_driver.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py b/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py index 0fbb2c7ef1..09e298615f 100644 --- a/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py +++ b/kubernetes/client/models/policy_v1beta1_allowed_flex_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_allowed_host_path.py b/kubernetes/client/models/policy_v1beta1_allowed_host_path.py index 842a5b4489..38feca773b 100644 --- a/kubernetes/client/models/policy_v1beta1_allowed_host_path.py +++ b/kubernetes/client/models/policy_v1beta1_allowed_host_path.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py b/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py index 430e90eca0..191f3494f8 100644 --- a/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_fs_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_host_port_range.py b/kubernetes/client/models/policy_v1beta1_host_port_range.py index ccbb414171..05ae5a1f7a 100644 --- a/kubernetes/client/models/policy_v1beta1_host_port_range.py +++ b/kubernetes/client/models/policy_v1beta1_host_port_range.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_id_range.py b/kubernetes/client/models/policy_v1beta1_id_range.py index eca0b1b8cc..a29a064316 100644 --- a/kubernetes/client/models/policy_v1beta1_id_range.py +++ b/kubernetes/client/models/policy_v1beta1_id_range.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy.py index 44eabde85e..50703e4b7d 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py index 32d1742b84..851c4235ed 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py b/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py index 42845c7db1..73ea69a4e2 100644 --- a/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py +++ b/kubernetes/client/models/policy_v1beta1_pod_security_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_run_as_group_strategy_options.py b/kubernetes/client/models/policy_v1beta1_run_as_group_strategy_options.py index e53e71b2b2..2bc33aa3f5 100644 --- a/kubernetes/client/models/policy_v1beta1_run_as_group_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_run_as_group_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py b/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py index fdedcb3957..603885c1dd 100644 --- a/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_run_as_user_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_runtime_class_strategy_options.py b/kubernetes/client/models/policy_v1beta1_runtime_class_strategy_options.py index 10c502a4e7..560425c869 100644 --- a/kubernetes/client/models/policy_v1beta1_runtime_class_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_runtime_class_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py b/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py index 6c4f265d58..6b114dde79 100644 --- a/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_se_linux_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py index 7c6e5592a4..0b6ecf0e25 100644 --- a/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py +++ b/kubernetes/client/models/policy_v1beta1_supplemental_groups_strategy_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_subject.py b/kubernetes/client/models/rbac_v1alpha1_subject.py similarity index 80% rename from kubernetes/client/models/v1alpha1_subject.py rename to kubernetes/client/models/rbac_v1alpha1_subject.py index 3277b7c922..9ca07d7f7e 100644 --- a/kubernetes/client/models/v1alpha1_subject.py +++ b/kubernetes/client/models/rbac_v1alpha1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha1Subject(object): +class RbacV1alpha1Subject(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -47,7 +47,7 @@ class V1alpha1Subject(object): } def __init__(self, api_version=None, kind=None, name=None, namespace=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1Subject - a model defined in OpenAPI""" # noqa: E501 + """RbacV1alpha1Subject - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -67,22 +67,22 @@ def __init__(self, api_version=None, kind=None, name=None, namespace=None, local @property def api_version(self): - """Gets the api_version of this V1alpha1Subject. # noqa: E501 + """Gets the api_version of this RbacV1alpha1Subject. # noqa: E501 APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects. # noqa: E501 - :return: The api_version of this V1alpha1Subject. # noqa: E501 + :return: The api_version of this RbacV1alpha1Subject. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha1Subject. + """Sets the api_version of this RbacV1alpha1Subject. APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects. # noqa: E501 - :param api_version: The api_version of this V1alpha1Subject. # noqa: E501 + :param api_version: The api_version of this RbacV1alpha1Subject. # noqa: E501 :type: str """ @@ -90,22 +90,22 @@ def api_version(self, api_version): @property def kind(self): - """Gets the kind of this V1alpha1Subject. # noqa: E501 + """Gets the kind of this RbacV1alpha1Subject. # noqa: E501 Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. # noqa: E501 - :return: The kind of this V1alpha1Subject. # noqa: E501 + :return: The kind of this RbacV1alpha1Subject. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha1Subject. + """Sets the kind of this RbacV1alpha1Subject. Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error. # noqa: E501 - :param kind: The kind of this V1alpha1Subject. # noqa: E501 + :param kind: The kind of this RbacV1alpha1Subject. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and kind is None: # noqa: E501 @@ -115,22 +115,22 @@ def kind(self, kind): @property def name(self): - """Gets the name of this V1alpha1Subject. # noqa: E501 + """Gets the name of this RbacV1alpha1Subject. # noqa: E501 Name of the object being referenced. # noqa: E501 - :return: The name of this V1alpha1Subject. # noqa: E501 + :return: The name of this RbacV1alpha1Subject. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this V1alpha1Subject. + """Sets the name of this RbacV1alpha1Subject. Name of the object being referenced. # noqa: E501 - :param name: The name of this V1alpha1Subject. # noqa: E501 + :param name: The name of this RbacV1alpha1Subject. # noqa: E501 :type: str """ if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 @@ -140,22 +140,22 @@ def name(self, name): @property def namespace(self): - """Gets the namespace of this V1alpha1Subject. # noqa: E501 + """Gets the namespace of this RbacV1alpha1Subject. # noqa: E501 Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. # noqa: E501 - :return: The namespace of this V1alpha1Subject. # noqa: E501 + :return: The namespace of this RbacV1alpha1Subject. # noqa: E501 :rtype: str """ return self._namespace @namespace.setter def namespace(self, namespace): - """Sets the namespace of this V1alpha1Subject. + """Sets the namespace of this RbacV1alpha1Subject. Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error. # noqa: E501 - :param namespace: The namespace of this V1alpha1Subject. # noqa: E501 + :param namespace: The namespace of this RbacV1alpha1Subject. # noqa: E501 :type: str """ @@ -195,14 +195,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1Subject): + if not isinstance(other, RbacV1alpha1Subject): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1Subject): + if not isinstance(other, RbacV1alpha1Subject): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_affinity.py b/kubernetes/client/models/v1_affinity.py index 523612d360..d4c034fc44 100644 --- a/kubernetes/client/models/v1_affinity.py +++ b/kubernetes/client/models/v1_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_aggregation_rule.py b/kubernetes/client/models/v1_aggregation_rule.py index 8864b4aaa9..ecdca9103c 100644 --- a/kubernetes/client/models/v1_aggregation_rule.py +++ b/kubernetes/client/models/v1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_group.py b/kubernetes/client/models/v1_api_group.py index 2769c22e0f..77b82c2da7 100644 --- a/kubernetes/client/models/v1_api_group.py +++ b/kubernetes/client/models/v1_api_group.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_group_list.py b/kubernetes/client/models/v1_api_group_list.py index a47827184d..2a5efe55ed 100644 --- a/kubernetes/client/models/v1_api_group_list.py +++ b/kubernetes/client/models/v1_api_group_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_resource.py b/kubernetes/client/models/v1_api_resource.py index 8f5cfcbcf4..af789bc7a9 100644 --- a/kubernetes/client/models/v1_api_resource.py +++ b/kubernetes/client/models/v1_api_resource.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_resource_list.py b/kubernetes/client/models/v1_api_resource_list.py index 76a6e6d272..c0a1bffdf8 100644 --- a/kubernetes/client/models/v1_api_resource_list.py +++ b/kubernetes/client/models/v1_api_resource_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service.py b/kubernetes/client/models/v1_api_service.py index b547b6157e..c14381605c 100644 --- a/kubernetes/client/models/v1_api_service.py +++ b/kubernetes/client/models/v1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_condition.py b/kubernetes/client/models/v1_api_service_condition.py index abfe2e62f8..b13273756c 100644 --- a/kubernetes/client/models/v1_api_service_condition.py +++ b/kubernetes/client/models/v1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_list.py b/kubernetes/client/models/v1_api_service_list.py index 524b47572b..12c6f9569c 100644 --- a/kubernetes/client/models/v1_api_service_list.py +++ b/kubernetes/client/models/v1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_spec.py b/kubernetes/client/models/v1_api_service_spec.py index ea16d54f2c..cc8689a735 100644 --- a/kubernetes/client/models/v1_api_service_spec.py +++ b/kubernetes/client/models/v1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_service_status.py b/kubernetes/client/models/v1_api_service_status.py index 2dd5054749..118fd72765 100644 --- a/kubernetes/client/models/v1_api_service_status.py +++ b/kubernetes/client/models/v1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_api_versions.py b/kubernetes/client/models/v1_api_versions.py index ae77b35e36..ee388d5dd1 100644 --- a/kubernetes/client/models/v1_api_versions.py +++ b/kubernetes/client/models/v1_api_versions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_attached_volume.py b/kubernetes/client/models/v1_attached_volume.py index 8499322a88..93d1db30cb 100644 --- a/kubernetes/client/models/v1_attached_volume.py +++ b/kubernetes/client/models/v1_attached_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py index 506d25509e..196c13dc90 100644 --- a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_disk_volume_source.py b/kubernetes/client/models/v1_azure_disk_volume_source.py index 027f58f49e..23ae6a2e06 100644 --- a/kubernetes/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py index d6c7628de4..e0a8fc8fa3 100644 --- a/kubernetes/client/models/v1_azure_file_persistent_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_azure_file_volume_source.py b/kubernetes/client/models/v1_azure_file_volume_source.py index c43ae32ea6..43c39aec18 100644 --- a/kubernetes/client/models/v1_azure_file_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_binding.py b/kubernetes/client/models/v1_binding.py index 15710a8801..b749ae288c 100644 --- a/kubernetes/client/models/v1_binding.py +++ b/kubernetes/client/models/v1_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_bound_object_reference.py b/kubernetes/client/models/v1_bound_object_reference.py index ce2c74bc44..1ce91b0f6f 100644 --- a/kubernetes/client/models/v1_bound_object_reference.py +++ b/kubernetes/client/models/v1_bound_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_capabilities.py b/kubernetes/client/models/v1_capabilities.py index 4a043cc49a..3e7c19b9fa 100644 --- a/kubernetes/client/models/v1_capabilities.py +++ b/kubernetes/client/models/v1_capabilities.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py index 7c377eee6b..173cd2b7c9 100644 --- a/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ceph_fs_volume_source.py b/kubernetes/client/models/v1_ceph_fs_volume_source.py index d14e295856..e11c4c09bf 100644 --- a/kubernetes/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cinder_persistent_volume_source.py b/kubernetes/client/models/v1_cinder_persistent_volume_source.py index 01b2904326..b99be9a709 100644 --- a/kubernetes/client/models/v1_cinder_persistent_volume_source.py +++ b/kubernetes/client/models/v1_cinder_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cinder_volume_source.py b/kubernetes/client/models/v1_cinder_volume_source.py index 81c3f38adb..e22700bc5a 100644 --- a/kubernetes/client/models/v1_cinder_volume_source.py +++ b/kubernetes/client/models/v1_cinder_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_client_ip_config.py b/kubernetes/client/models/v1_client_ip_config.py index 1a54189671..afe7e63d04 100644 --- a/kubernetes/client/models/v1_client_ip_config.py +++ b/kubernetes/client/models/v1_client_ip_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role.py b/kubernetes/client/models/v1_cluster_role.py index 01b1111b10..644fdb74dc 100644 --- a/kubernetes/client/models/v1_cluster_role.py +++ b/kubernetes/client/models/v1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_binding.py b/kubernetes/client/models/v1_cluster_role_binding.py index 03044f5cf9..e231743f5d 100644 --- a/kubernetes/client/models/v1_cluster_role_binding.py +++ b/kubernetes/client/models/v1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_binding_list.py b/kubernetes/client/models/v1_cluster_role_binding_list.py index 8eaef972c2..b2654b39f4 100644 --- a/kubernetes/client/models/v1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cluster_role_list.py b/kubernetes/client/models/v1_cluster_role_list.py index da0604217b..375f770f6b 100644 --- a/kubernetes/client/models/v1_cluster_role_list.py +++ b/kubernetes/client/models/v1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_condition.py b/kubernetes/client/models/v1_component_condition.py index fde7e1d437..9ab3166223 100644 --- a/kubernetes/client/models/v1_component_condition.py +++ b/kubernetes/client/models/v1_component_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_status.py b/kubernetes/client/models/v1_component_status.py index da37d71147..bc5ea7fae6 100644 --- a/kubernetes/client/models/v1_component_status.py +++ b/kubernetes/client/models/v1_component_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_component_status_list.py b/kubernetes/client/models/v1_component_status_list.py index 02438fba19..86ba626624 100644 --- a/kubernetes/client/models/v1_component_status_list.py +++ b/kubernetes/client/models/v1_component_status_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map.py b/kubernetes/client/models/v1_config_map.py index 4b43a65163..067957d5d8 100644 --- a/kubernetes/client/models/v1_config_map.py +++ b/kubernetes/client/models/v1_config_map.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_env_source.py b/kubernetes/client/models/v1_config_map_env_source.py index adaa3ff31a..00132bb15b 100644 --- a/kubernetes/client/models/v1_config_map_env_source.py +++ b/kubernetes/client/models/v1_config_map_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_key_selector.py b/kubernetes/client/models/v1_config_map_key_selector.py index 3ab9ae461c..024555dc07 100644 --- a/kubernetes/client/models/v1_config_map_key_selector.py +++ b/kubernetes/client/models/v1_config_map_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_list.py b/kubernetes/client/models/v1_config_map_list.py index 188dd6b33e..7f92f42530 100644 --- a/kubernetes/client/models/v1_config_map_list.py +++ b/kubernetes/client/models/v1_config_map_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_node_config_source.py b/kubernetes/client/models/v1_config_map_node_config_source.py index 4052cdeabc..8dd8df1c4b 100644 --- a/kubernetes/client/models/v1_config_map_node_config_source.py +++ b/kubernetes/client/models/v1_config_map_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_projection.py b/kubernetes/client/models/v1_config_map_projection.py index 5466c7948a..7810b2773c 100644 --- a/kubernetes/client/models/v1_config_map_projection.py +++ b/kubernetes/client/models/v1_config_map_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_config_map_volume_source.py b/kubernetes/client/models/v1_config_map_volume_source.py index 3dbdb3d332..11037bcff2 100644 --- a/kubernetes/client/models/v1_config_map_volume_source.py +++ b/kubernetes/client/models/v1_config_map_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container.py b/kubernetes/client/models/v1_container.py index 6c7021950c..cb38aa9ac2 100644 --- a/kubernetes/client/models/v1_container.py +++ b/kubernetes/client/models/v1_container.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_image.py b/kubernetes/client/models/v1_container_image.py index 6d26114233..fd490c3ee5 100644 --- a/kubernetes/client/models/v1_container_image.py +++ b/kubernetes/client/models/v1_container_image.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_port.py b/kubernetes/client/models/v1_container_port.py index 9547aad215..17f2f423ca 100644 --- a/kubernetes/client/models/v1_container_port.py +++ b/kubernetes/client/models/v1_container_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state.py b/kubernetes/client/models/v1_container_state.py index 5ddee34ffe..e5bb624b66 100644 --- a/kubernetes/client/models/v1_container_state.py +++ b/kubernetes/client/models/v1_container_state.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_running.py b/kubernetes/client/models/v1_container_state_running.py index 8a8fc6be04..f8011efe14 100644 --- a/kubernetes/client/models/v1_container_state_running.py +++ b/kubernetes/client/models/v1_container_state_running.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_terminated.py b/kubernetes/client/models/v1_container_state_terminated.py index 35cbfd7d25..da70febbd2 100644 --- a/kubernetes/client/models/v1_container_state_terminated.py +++ b/kubernetes/client/models/v1_container_state_terminated.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_state_waiting.py b/kubernetes/client/models/v1_container_state_waiting.py index ad100cceb7..fcddbb631e 100644 --- a/kubernetes/client/models/v1_container_state_waiting.py +++ b/kubernetes/client/models/v1_container_state_waiting.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_container_status.py b/kubernetes/client/models/v1_container_status.py index d93946a835..f139dd844c 100644 --- a/kubernetes/client/models/v1_container_status.py +++ b/kubernetes/client/models/v1_container_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_controller_revision.py b/kubernetes/client/models/v1_controller_revision.py index 2330571424..96ca07ba57 100644 --- a/kubernetes/client/models/v1_controller_revision.py +++ b/kubernetes/client/models/v1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_controller_revision_list.py b/kubernetes/client/models/v1_controller_revision_list.py index 1071104a74..bdb74fde41 100644 --- a/kubernetes/client/models/v1_controller_revision_list.py +++ b/kubernetes/client/models/v1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_cross_version_object_reference.py b/kubernetes/client/models/v1_cross_version_object_reference.py index b23d4930ee..cd30cdad46 100644 --- a/kubernetes/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/client/models/v1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_node.py b/kubernetes/client/models/v1_csi_node.py new file mode 100644 index 0000000000..8c1a395147 --- /dev/null +++ b/kubernetes/client/models/v1_csi_node.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSINode(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1CSINodeSpec' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, local_vars_configuration=None): # noqa: E501 + """V1CSINode - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + self.spec = spec + + @property + def api_version(self): + """Gets the api_version of this V1CSINode. # noqa: E501 + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CSINode. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CSINode. + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CSINode. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1CSINode. # noqa: E501 + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CSINode. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CSINode. + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CSINode. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CSINode. # noqa: E501 + + + :return: The metadata of this V1CSINode. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CSINode. + + + :param metadata: The metadata of this V1CSINode. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1CSINode. # noqa: E501 + + + :return: The spec of this V1CSINode. # noqa: E501 + :rtype: V1CSINodeSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1CSINode. + + + :param spec: The spec of this V1CSINode. # noqa: E501 + :type: V1CSINodeSpec + """ + if self.local_vars_configuration.client_side_validation and spec is None: # noqa: E501 + raise ValueError("Invalid value for `spec`, must not be `None`") # noqa: E501 + + self._spec = spec + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1CSINode): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSINode): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_csi_node_driver.py b/kubernetes/client/models/v1_csi_node_driver.py new file mode 100644 index 0000000000..fa74935394 --- /dev/null +++ b/kubernetes/client/models/v1_csi_node_driver.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSINodeDriver(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'allocatable': 'V1VolumeNodeResources', + 'name': 'str', + 'node_id': 'str', + 'topology_keys': 'list[str]' + } + + attribute_map = { + 'allocatable': 'allocatable', + 'name': 'name', + 'node_id': 'nodeID', + 'topology_keys': 'topologyKeys' + } + + def __init__(self, allocatable=None, name=None, node_id=None, topology_keys=None, local_vars_configuration=None): # noqa: E501 + """V1CSINodeDriver - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._allocatable = None + self._name = None + self._node_id = None + self._topology_keys = None + self.discriminator = None + + if allocatable is not None: + self.allocatable = allocatable + self.name = name + self.node_id = node_id + if topology_keys is not None: + self.topology_keys = topology_keys + + @property + def allocatable(self): + """Gets the allocatable of this V1CSINodeDriver. # noqa: E501 + + + :return: The allocatable of this V1CSINodeDriver. # noqa: E501 + :rtype: V1VolumeNodeResources + """ + return self._allocatable + + @allocatable.setter + def allocatable(self, allocatable): + """Sets the allocatable of this V1CSINodeDriver. + + + :param allocatable: The allocatable of this V1CSINodeDriver. # noqa: E501 + :type: V1VolumeNodeResources + """ + + self._allocatable = allocatable + + @property + def name(self): + """Gets the name of this V1CSINodeDriver. # noqa: E501 + + This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. # noqa: E501 + + :return: The name of this V1CSINodeDriver. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1CSINodeDriver. + + This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. # noqa: E501 + + :param name: The name of this V1CSINodeDriver. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def node_id(self): + """Gets the node_id of this V1CSINodeDriver. # noqa: E501 + + nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. # noqa: E501 + + :return: The node_id of this V1CSINodeDriver. # noqa: E501 + :rtype: str + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this V1CSINodeDriver. + + nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. # noqa: E501 + + :param node_id: The node_id of this V1CSINodeDriver. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and node_id is None: # noqa: E501 + raise ValueError("Invalid value for `node_id`, must not be `None`") # noqa: E501 + + self._node_id = node_id + + @property + def topology_keys(self): + """Gets the topology_keys of this V1CSINodeDriver. # noqa: E501 + + topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. # noqa: E501 + + :return: The topology_keys of this V1CSINodeDriver. # noqa: E501 + :rtype: list[str] + """ + return self._topology_keys + + @topology_keys.setter + def topology_keys(self, topology_keys): + """Sets the topology_keys of this V1CSINodeDriver. + + topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. # noqa: E501 + + :param topology_keys: The topology_keys of this V1CSINodeDriver. # noqa: E501 + :type: list[str] + """ + + self._topology_keys = topology_keys + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1CSINodeDriver): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSINodeDriver): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_csi_node_list.py b/kubernetes/client/models/v1_csi_node_list.py new file mode 100644 index 0000000000..0736cfde86 --- /dev/null +++ b/kubernetes/client/models/v1_csi_node_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSINodeList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1CSINode]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1CSINodeList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1CSINodeList. # noqa: E501 + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1CSINodeList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1CSINodeList. + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1CSINodeList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1CSINodeList. # noqa: E501 + + items is the list of CSINode # noqa: E501 + + :return: The items of this V1CSINodeList. # noqa: E501 + :rtype: list[V1CSINode] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1CSINodeList. + + items is the list of CSINode # noqa: E501 + + :param items: The items of this V1CSINodeList. # noqa: E501 + :type: list[V1CSINode] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1CSINodeList. # noqa: E501 + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1CSINodeList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1CSINodeList. + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1CSINodeList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1CSINodeList. # noqa: E501 + + + :return: The metadata of this V1CSINodeList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1CSINodeList. + + + :param metadata: The metadata of this V1CSINodeList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1CSINodeList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSINodeList): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_csi_node_spec.py b/kubernetes/client/models/v1_csi_node_spec.py new file mode 100644 index 0000000000..7e1f5f4cf3 --- /dev/null +++ b/kubernetes/client/models/v1_csi_node_spec.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1CSINodeSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'drivers': 'list[V1CSINodeDriver]' + } + + attribute_map = { + 'drivers': 'drivers' + } + + def __init__(self, drivers=None, local_vars_configuration=None): # noqa: E501 + """V1CSINodeSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._drivers = None + self.discriminator = None + + self.drivers = drivers + + @property + def drivers(self): + """Gets the drivers of this V1CSINodeSpec. # noqa: E501 + + drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. # noqa: E501 + + :return: The drivers of this V1CSINodeSpec. # noqa: E501 + :rtype: list[V1CSINodeDriver] + """ + return self._drivers + + @drivers.setter + def drivers(self, drivers): + """Sets the drivers of this V1CSINodeSpec. + + drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. # noqa: E501 + + :param drivers: The drivers of this V1CSINodeSpec. # noqa: E501 + :type: list[V1CSINodeDriver] + """ + if self.local_vars_configuration.client_side_validation and drivers is None: # noqa: E501 + raise ValueError("Invalid value for `drivers`, must not be `None`") # noqa: E501 + + self._drivers = drivers + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1CSINodeSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1CSINodeSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_csi_persistent_volume_source.py b/kubernetes/client/models/v1_csi_persistent_volume_source.py index 2c65dae228..b28aa898d5 100644 --- a/kubernetes/client/models/v1_csi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_csi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_csi_volume_source.py b/kubernetes/client/models/v1_csi_volume_source.py index 4b94c9a14b..3528411308 100644 --- a/kubernetes/client/models/v1_csi_volume_source.py +++ b/kubernetes/client/models/v1_csi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_column_definition.py b/kubernetes/client/models/v1_custom_resource_column_definition.py index 01127cabe8..3bcce5ee1e 100644 --- a/kubernetes/client/models/v1_custom_resource_column_definition.py +++ b/kubernetes/client/models/v1_custom_resource_column_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_conversion.py b/kubernetes/client/models/v1_custom_resource_conversion.py index a9167452ff..f057edaa8e 100644 --- a/kubernetes/client/models/v1_custom_resource_conversion.py +++ b/kubernetes/client/models/v1_custom_resource_conversion.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition.py b/kubernetes/client/models/v1_custom_resource_definition.py index 5612990979..c9bc4b523f 100644 --- a/kubernetes/client/models/v1_custom_resource_definition.py +++ b/kubernetes/client/models/v1_custom_resource_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_condition.py b/kubernetes/client/models/v1_custom_resource_definition_condition.py index 49704db383..335c0a59f2 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_condition.py +++ b/kubernetes/client/models/v1_custom_resource_definition_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_list.py b/kubernetes/client/models/v1_custom_resource_definition_list.py index 56e0cf96ac..d57eb6596a 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_list.py +++ b/kubernetes/client/models/v1_custom_resource_definition_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_names.py b/kubernetes/client/models/v1_custom_resource_definition_names.py index 3affdf805b..689a9dffd6 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_names.py +++ b/kubernetes/client/models/v1_custom_resource_definition_names.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_spec.py b/kubernetes/client/models/v1_custom_resource_definition_spec.py index 6d6ca74f35..3ba662465a 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_spec.py +++ b/kubernetes/client/models/v1_custom_resource_definition_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -169,7 +169,7 @@ def preserve_unknown_fields(self, preserve_unknown_fields): def scope(self): """Gets the scope of this V1CustomResourceDefinitionSpec. # noqa: E501 - scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`. # noqa: E501 + scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. # noqa: E501 :return: The scope of this V1CustomResourceDefinitionSpec. # noqa: E501 :rtype: str @@ -180,7 +180,7 @@ def scope(self): def scope(self, scope): """Sets the scope of this V1CustomResourceDefinitionSpec. - scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`. # noqa: E501 + scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. # noqa: E501 :param scope: The scope of this V1CustomResourceDefinitionSpec. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_custom_resource_definition_status.py b/kubernetes/client/models/v1_custom_resource_definition_status.py index cbbfcd8a8e..5f1f30c28c 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_status.py +++ b/kubernetes/client/models/v1_custom_resource_definition_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_definition_version.py b/kubernetes/client/models/v1_custom_resource_definition_version.py index a57dc1b167..3e2b92f041 100644 --- a/kubernetes/client/models/v1_custom_resource_definition_version.py +++ b/kubernetes/client/models/v1_custom_resource_definition_version.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_subresource_scale.py b/kubernetes/client/models/v1_custom_resource_subresource_scale.py index bcad271f2b..6d3e22e53e 100644 --- a/kubernetes/client/models/v1_custom_resource_subresource_scale.py +++ b/kubernetes/client/models/v1_custom_resource_subresource_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_subresources.py b/kubernetes/client/models/v1_custom_resource_subresources.py index 2f4df2148e..f8a47d4939 100644 --- a/kubernetes/client/models/v1_custom_resource_subresources.py +++ b/kubernetes/client/models/v1_custom_resource_subresources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_custom_resource_validation.py b/kubernetes/client/models/v1_custom_resource_validation.py index b53d3649db..f1e5c17197 100644 --- a/kubernetes/client/models/v1_custom_resource_validation.py +++ b/kubernetes/client/models/v1_custom_resource_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_endpoint.py b/kubernetes/client/models/v1_daemon_endpoint.py index b7a278b006..8592d0c6f0 100644 --- a/kubernetes/client/models/v1_daemon_endpoint.py +++ b/kubernetes/client/models/v1_daemon_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set.py b/kubernetes/client/models/v1_daemon_set.py index 8e7b1d4c74..a5793d5465 100644 --- a/kubernetes/client/models/v1_daemon_set.py +++ b/kubernetes/client/models/v1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_condition.py b/kubernetes/client/models/v1_daemon_set_condition.py index b8e9fc5044..02b30087cd 100644 --- a/kubernetes/client/models/v1_daemon_set_condition.py +++ b/kubernetes/client/models/v1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_list.py b/kubernetes/client/models/v1_daemon_set_list.py index c675e28065..04a1a665c4 100644 --- a/kubernetes/client/models/v1_daemon_set_list.py +++ b/kubernetes/client/models/v1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_spec.py b/kubernetes/client/models/v1_daemon_set_spec.py index f2f5aa8071..f2b6eadb71 100644 --- a/kubernetes/client/models/v1_daemon_set_spec.py +++ b/kubernetes/client/models/v1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_status.py b/kubernetes/client/models/v1_daemon_set_status.py index 0cfb7f5574..e0184cecb8 100644 --- a/kubernetes/client/models/v1_daemon_set_status.py +++ b/kubernetes/client/models/v1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_daemon_set_update_strategy.py b/kubernetes/client/models/v1_daemon_set_update_strategy.py index 338869fb14..5c5703bbef 100644 --- a/kubernetes/client/models/v1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_delete_options.py b/kubernetes/client/models/v1_delete_options.py index 43dcd4bf86..a8241b9366 100644 --- a/kubernetes/client/models/v1_delete_options.py +++ b/kubernetes/client/models/v1_delete_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment.py b/kubernetes/client/models/v1_deployment.py index bbf33cb38e..e6675da0d1 100644 --- a/kubernetes/client/models/v1_deployment.py +++ b/kubernetes/client/models/v1_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_condition.py b/kubernetes/client/models/v1_deployment_condition.py index cc3d703cb6..ed0ab32627 100644 --- a/kubernetes/client/models/v1_deployment_condition.py +++ b/kubernetes/client/models/v1_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_list.py b/kubernetes/client/models/v1_deployment_list.py index e79135c1d3..1b2d8ea1b6 100644 --- a/kubernetes/client/models/v1_deployment_list.py +++ b/kubernetes/client/models/v1_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_spec.py b/kubernetes/client/models/v1_deployment_spec.py index 25d9845826..5204700246 100644 --- a/kubernetes/client/models/v1_deployment_spec.py +++ b/kubernetes/client/models/v1_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_status.py b/kubernetes/client/models/v1_deployment_status.py index ba9d91f074..adb9dae80d 100644 --- a/kubernetes/client/models/v1_deployment_status.py +++ b/kubernetes/client/models/v1_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_deployment_strategy.py b/kubernetes/client/models/v1_deployment_strategy.py index 8f451a5257..986605906d 100644 --- a/kubernetes/client/models/v1_deployment_strategy.py +++ b/kubernetes/client/models/v1_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_downward_api_projection.py b/kubernetes/client/models/v1_downward_api_projection.py index 23aa650369..be79537fa7 100644 --- a/kubernetes/client/models/v1_downward_api_projection.py +++ b/kubernetes/client/models/v1_downward_api_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_downward_api_volume_file.py b/kubernetes/client/models/v1_downward_api_volume_file.py index 87ae63bce6..c3a90c271d 100644 --- a/kubernetes/client/models/v1_downward_api_volume_file.py +++ b/kubernetes/client/models/v1_downward_api_volume_file.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_downward_api_volume_source.py b/kubernetes/client/models/v1_downward_api_volume_source.py index 20e8023f53..cd929b9f2d 100644 --- a/kubernetes/client/models/v1_downward_api_volume_source.py +++ b/kubernetes/client/models/v1_downward_api_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_empty_dir_volume_source.py b/kubernetes/client/models/v1_empty_dir_volume_source.py index 9c3460b668..9be2a1547c 100644 --- a/kubernetes/client/models/v1_empty_dir_volume_source.py +++ b/kubernetes/client/models/v1_empty_dir_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_address.py b/kubernetes/client/models/v1_endpoint_address.py index 74ed82fa81..ee0363cb12 100644 --- a/kubernetes/client/models/v1_endpoint_address.py +++ b/kubernetes/client/models/v1_endpoint_address.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_port.py b/kubernetes/client/models/v1_endpoint_port.py index 78e48d0fe5..58d8b8f345 100644 --- a/kubernetes/client/models/v1_endpoint_port.py +++ b/kubernetes/client/models/v1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoint_subset.py b/kubernetes/client/models/v1_endpoint_subset.py index d59e835519..da984f5bc8 100644 --- a/kubernetes/client/models/v1_endpoint_subset.py +++ b/kubernetes/client/models/v1_endpoint_subset.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoints.py b/kubernetes/client/models/v1_endpoints.py index d3227dfed3..ce93ef94df 100644 --- a/kubernetes/client/models/v1_endpoints.py +++ b/kubernetes/client/models/v1_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_endpoints_list.py b/kubernetes/client/models/v1_endpoints_list.py index f729a80b69..dc07243482 100644 --- a/kubernetes/client/models/v1_endpoints_list.py +++ b/kubernetes/client/models/v1_endpoints_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_env_from_source.py b/kubernetes/client/models/v1_env_from_source.py index b8d63b3105..aad78c28bd 100644 --- a/kubernetes/client/models/v1_env_from_source.py +++ b/kubernetes/client/models/v1_env_from_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_env_var.py b/kubernetes/client/models/v1_env_var.py index e1b89abeac..3fcee7147c 100644 --- a/kubernetes/client/models/v1_env_var.py +++ b/kubernetes/client/models/v1_env_var.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_env_var_source.py b/kubernetes/client/models/v1_env_var_source.py index 18feafe6db..d58ecd3865 100644 --- a/kubernetes/client/models/v1_env_var_source.py +++ b/kubernetes/client/models/v1_env_var_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ephemeral_container.py b/kubernetes/client/models/v1_ephemeral_container.py index f47c6deb4f..b4bbdd1266 100644 --- a/kubernetes/client/models/v1_ephemeral_container.py +++ b/kubernetes/client/models/v1_ephemeral_container.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_event.py b/kubernetes/client/models/v1_event.py index c4a121ee54..2f9b981d0d 100644 --- a/kubernetes/client/models/v1_event.py +++ b/kubernetes/client/models/v1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_event_list.py b/kubernetes/client/models/v1_event_list.py index a0a045e5e2..e7b338e0a3 100644 --- a/kubernetes/client/models/v1_event_list.py +++ b/kubernetes/client/models/v1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_event_series.py b/kubernetes/client/models/v1_event_series.py index c83ee2e8ff..f1b6844cd1 100644 --- a/kubernetes/client/models/v1_event_series.py +++ b/kubernetes/client/models/v1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_event_source.py b/kubernetes/client/models/v1_event_source.py index 1d117a4231..665f32de21 100644 --- a/kubernetes/client/models/v1_event_source.py +++ b/kubernetes/client/models/v1_event_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_exec_action.py b/kubernetes/client/models/v1_exec_action.py index 665a2d86ef..6ec9aef533 100644 --- a/kubernetes/client/models/v1_exec_action.py +++ b/kubernetes/client/models/v1_exec_action.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_external_documentation.py b/kubernetes/client/models/v1_external_documentation.py index 75bb770c35..efb7718867 100644 --- a/kubernetes/client/models/v1_external_documentation.py +++ b/kubernetes/client/models/v1_external_documentation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_fc_volume_source.py b/kubernetes/client/models/v1_fc_volume_source.py index 5f551d0ebf..d72fd23549 100644 --- a/kubernetes/client/models/v1_fc_volume_source.py +++ b/kubernetes/client/models/v1_fc_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flex_persistent_volume_source.py b/kubernetes/client/models/v1_flex_persistent_volume_source.py index 3e9783eb27..acee817c4f 100644 --- a/kubernetes/client/models/v1_flex_persistent_volume_source.py +++ b/kubernetes/client/models/v1_flex_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flex_volume_source.py b/kubernetes/client/models/v1_flex_volume_source.py index 837d3b3977..6f95645bc2 100644 --- a/kubernetes/client/models/v1_flex_volume_source.py +++ b/kubernetes/client/models/v1_flex_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_flocker_volume_source.py b/kubernetes/client/models/v1_flocker_volume_source.py index bfacc8e5b1..4f9b86a294 100644 --- a/kubernetes/client/models/v1_flocker_volume_source.py +++ b/kubernetes/client/models/v1_flocker_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py index 502d8298df..b14626485c 100644 --- a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_git_repo_volume_source.py b/kubernetes/client/models/v1_git_repo_volume_source.py index 5ec77010ce..a5f2b93364 100644 --- a/kubernetes/client/models/v1_git_repo_volume_source.py +++ b/kubernetes/client/models/v1_git_repo_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py b/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py index 44e5576b4e..3abe4dccd8 100644 --- a/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_glusterfs_volume_source.py b/kubernetes/client/models/v1_glusterfs_volume_source.py index 64fa1a3e38..0b4b3b2ea2 100644 --- a/kubernetes/client/models/v1_glusterfs_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_group_version_for_discovery.py b/kubernetes/client/models/v1_group_version_for_discovery.py index 2bdaeed534..e7874a4f9e 100644 --- a/kubernetes/client/models/v1_group_version_for_discovery.py +++ b/kubernetes/client/models/v1_group_version_for_discovery.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_handler.py b/kubernetes/client/models/v1_handler.py index a2bf49abbc..aae76a0590 100644 --- a/kubernetes/client/models/v1_handler.py +++ b/kubernetes/client/models/v1_handler.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py index 64ee7a41a6..73d693cabc 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py index 581d4cfc2a..9f02786ae6 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py index 9f573881eb..e58bec3386 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py index eb37e62edd..aa25e1a605 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_host_alias.py b/kubernetes/client/models/v1_host_alias.py index 8b027fc7fe..2814759421 100644 --- a/kubernetes/client/models/v1_host_alias.py +++ b/kubernetes/client/models/v1_host_alias.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_host_path_volume_source.py b/kubernetes/client/models/v1_host_path_volume_source.py index 9a0f183da4..91e67cc3e2 100644 --- a/kubernetes/client/models/v1_host_path_volume_source.py +++ b/kubernetes/client/models/v1_host_path_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_http_get_action.py b/kubernetes/client/models/v1_http_get_action.py index 2b108ea28e..1d83a3024f 100644 --- a/kubernetes/client/models/v1_http_get_action.py +++ b/kubernetes/client/models/v1_http_get_action.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_http_header.py b/kubernetes/client/models/v1_http_header.py index fd3f6d7672..ce12a642ef 100644 --- a/kubernetes/client/models/v1_http_header.py +++ b/kubernetes/client/models/v1_http_header.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_ip_block.py b/kubernetes/client/models/v1_ip_block.py index a9ad09ed12..3f7fbedc32 100644 --- a/kubernetes/client/models/v1_ip_block.py +++ b/kubernetes/client/models/v1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py index f8eaf3d94d..2f45fb0da8 100644 --- a/kubernetes/client/models/v1_iscsi_persistent_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_iscsi_volume_source.py b/kubernetes/client/models/v1_iscsi_volume_source.py index a5ab55abb9..dc8b04cc57 100644 --- a/kubernetes/client/models/v1_iscsi_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job.py b/kubernetes/client/models/v1_job.py index aa98c92e2b..70d4926a56 100644 --- a/kubernetes/client/models/v1_job.py +++ b/kubernetes/client/models/v1_job.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job_condition.py b/kubernetes/client/models/v1_job_condition.py index d2a8bf140e..f2503279ca 100644 --- a/kubernetes/client/models/v1_job_condition.py +++ b/kubernetes/client/models/v1_job_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job_list.py b/kubernetes/client/models/v1_job_list.py index c8bf93a8f3..4f225f0486 100644 --- a/kubernetes/client/models/v1_job_list.py +++ b/kubernetes/client/models/v1_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job_spec.py b/kubernetes/client/models/v1_job_spec.py index 60a159c527..5db4270bd9 100644 --- a/kubernetes/client/models/v1_job_spec.py +++ b/kubernetes/client/models/v1_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_job_status.py b/kubernetes/client/models/v1_job_status.py index db7cf3c989..c251bc162a 100644 --- a/kubernetes/client/models/v1_job_status.py +++ b/kubernetes/client/models/v1_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_json_schema_props.py b/kubernetes/client/models/v1_json_schema_props.py index a7d452d2c2..922c5051ce 100644 --- a/kubernetes/client/models/v1_json_schema_props.py +++ b/kubernetes/client/models/v1_json_schema_props.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -74,6 +74,7 @@ class V1JSONSchemaProps(object): 'x_kubernetes_int_or_string': 'bool', 'x_kubernetes_list_map_keys': 'list[str]', 'x_kubernetes_list_type': 'str', + 'x_kubernetes_map_type': 'str', 'x_kubernetes_preserve_unknown_fields': 'bool' } @@ -119,10 +120,11 @@ class V1JSONSchemaProps(object): 'x_kubernetes_int_or_string': 'x-kubernetes-int-or-string', 'x_kubernetes_list_map_keys': 'x-kubernetes-list-map-keys', 'x_kubernetes_list_type': 'x-kubernetes-list-type', + 'x_kubernetes_map_type': 'x-kubernetes-map-type', 'x_kubernetes_preserve_unknown_fields': 'x-kubernetes-preserve-unknown-fields' } - def __init__(self, ref=None, schema=None, additional_items=None, additional_properties=None, all_of=None, any_of=None, default=None, definitions=None, dependencies=None, description=None, enum=None, example=None, exclusive_maximum=None, exclusive_minimum=None, external_docs=None, format=None, id=None, items=None, max_items=None, max_length=None, max_properties=None, maximum=None, min_items=None, min_length=None, min_properties=None, minimum=None, multiple_of=None, _not=None, nullable=None, one_of=None, pattern=None, pattern_properties=None, properties=None, required=None, title=None, type=None, unique_items=None, x_kubernetes_embedded_resource=None, x_kubernetes_int_or_string=None, x_kubernetes_list_map_keys=None, x_kubernetes_list_type=None, x_kubernetes_preserve_unknown_fields=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, ref=None, schema=None, additional_items=None, additional_properties=None, all_of=None, any_of=None, default=None, definitions=None, dependencies=None, description=None, enum=None, example=None, exclusive_maximum=None, exclusive_minimum=None, external_docs=None, format=None, id=None, items=None, max_items=None, max_length=None, max_properties=None, maximum=None, min_items=None, min_length=None, min_properties=None, minimum=None, multiple_of=None, _not=None, nullable=None, one_of=None, pattern=None, pattern_properties=None, properties=None, required=None, title=None, type=None, unique_items=None, x_kubernetes_embedded_resource=None, x_kubernetes_int_or_string=None, x_kubernetes_list_map_keys=None, x_kubernetes_list_type=None, x_kubernetes_map_type=None, x_kubernetes_preserve_unknown_fields=None, local_vars_configuration=None): # noqa: E501 """V1JSONSchemaProps - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -169,6 +171,7 @@ def __init__(self, ref=None, schema=None, additional_items=None, additional_prop self._x_kubernetes_int_or_string = None self._x_kubernetes_list_map_keys = None self._x_kubernetes_list_type = None + self._x_kubernetes_map_type = None self._x_kubernetes_preserve_unknown_fields = None self.discriminator = None @@ -254,6 +257,8 @@ def __init__(self, ref=None, schema=None, additional_items=None, additional_prop self.x_kubernetes_list_map_keys = x_kubernetes_list_map_keys if x_kubernetes_list_type is not None: self.x_kubernetes_list_type = x_kubernetes_list_type + if x_kubernetes_map_type is not None: + self.x_kubernetes_map_type = x_kubernetes_map_type if x_kubernetes_preserve_unknown_fields is not None: self.x_kubernetes_preserve_unknown_fields = x_kubernetes_preserve_unknown_fields @@ -584,6 +589,7 @@ def external_docs(self, external_docs): def format(self): """Gets the format of this V1JSONSchemaProps. # noqa: E501 + format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. # noqa: E501 :return: The format of this V1JSONSchemaProps. # noqa: E501 :rtype: str @@ -594,6 +600,7 @@ def format(self): def format(self, format): """Sets the format of this V1JSONSchemaProps. + format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. # noqa: E501 :param format: The format of this V1JSONSchemaProps. # noqa: E501 :type: str @@ -1136,6 +1143,29 @@ def x_kubernetes_list_type(self, x_kubernetes_list_type): self._x_kubernetes_list_type = x_kubernetes_list_type + @property + def x_kubernetes_map_type(self): + """Gets the x_kubernetes_map_type of this V1JSONSchemaProps. # noqa: E501 + + x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. # noqa: E501 + + :return: The x_kubernetes_map_type of this V1JSONSchemaProps. # noqa: E501 + :rtype: str + """ + return self._x_kubernetes_map_type + + @x_kubernetes_map_type.setter + def x_kubernetes_map_type(self, x_kubernetes_map_type): + """Sets the x_kubernetes_map_type of this V1JSONSchemaProps. + + x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. # noqa: E501 + + :param x_kubernetes_map_type: The x_kubernetes_map_type of this V1JSONSchemaProps. # noqa: E501 + :type: str + """ + + self._x_kubernetes_map_type = x_kubernetes_map_type + @property def x_kubernetes_preserve_unknown_fields(self): """Gets the x_kubernetes_preserve_unknown_fields of this V1JSONSchemaProps. # noqa: E501 diff --git a/kubernetes/client/models/v1_key_to_path.py b/kubernetes/client/models/v1_key_to_path.py index 0a135d3937..9bddb47356 100644 --- a/kubernetes/client/models/v1_key_to_path.py +++ b/kubernetes/client/models/v1_key_to_path.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_label_selector.py b/kubernetes/client/models/v1_label_selector.py index 500896c15f..823182e68d 100644 --- a/kubernetes/client/models/v1_label_selector.py +++ b/kubernetes/client/models/v1_label_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_label_selector_requirement.py b/kubernetes/client/models/v1_label_selector_requirement.py index 30b4205783..8e5ae3f7c2 100644 --- a/kubernetes/client/models/v1_label_selector_requirement.py +++ b/kubernetes/client/models/v1_label_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_lease.py b/kubernetes/client/models/v1_lease.py index 13e0dfc68f..b570a3d8e6 100644 --- a/kubernetes/client/models/v1_lease.py +++ b/kubernetes/client/models/v1_lease.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_lease_list.py b/kubernetes/client/models/v1_lease_list.py index 2e07ffb6ce..07fe4f81ae 100644 --- a/kubernetes/client/models/v1_lease_list.py +++ b/kubernetes/client/models/v1_lease_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_lease_spec.py b/kubernetes/client/models/v1_lease_spec.py index d5a77f4942..aebc8f1e63 100644 --- a/kubernetes/client/models/v1_lease_spec.py +++ b/kubernetes/client/models/v1_lease_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_lifecycle.py b/kubernetes/client/models/v1_lifecycle.py index 5d4180962a..c5cf9600d0 100644 --- a/kubernetes/client/models/v1_lifecycle.py +++ b/kubernetes/client/models/v1_lifecycle.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_range.py b/kubernetes/client/models/v1_limit_range.py index 417e015bdd..b6f25d729e 100644 --- a/kubernetes/client/models/v1_limit_range.py +++ b/kubernetes/client/models/v1_limit_range.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_range_item.py b/kubernetes/client/models/v1_limit_range_item.py index 78081c7973..e520bdd86d 100644 --- a/kubernetes/client/models/v1_limit_range_item.py +++ b/kubernetes/client/models/v1_limit_range_item.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_range_list.py b/kubernetes/client/models/v1_limit_range_list.py index 892bacbfbd..2f01890547 100644 --- a/kubernetes/client/models/v1_limit_range_list.py +++ b/kubernetes/client/models/v1_limit_range_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_limit_range_spec.py b/kubernetes/client/models/v1_limit_range_spec.py index 6172d3f15c..6722adc1ef 100644 --- a/kubernetes/client/models/v1_limit_range_spec.py +++ b/kubernetes/client/models/v1_limit_range_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_list_meta.py b/kubernetes/client/models/v1_list_meta.py index 8c88390206..aac64716b8 100644 --- a/kubernetes/client/models/v1_list_meta.py +++ b/kubernetes/client/models/v1_list_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_load_balancer_ingress.py b/kubernetes/client/models/v1_load_balancer_ingress.py index 75d0c7deb3..42d5d2b61c 100644 --- a/kubernetes/client/models/v1_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_load_balancer_ingress.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_load_balancer_status.py b/kubernetes/client/models/v1_load_balancer_status.py index da26c5dd6f..2305873643 100644 --- a/kubernetes/client/models/v1_load_balancer_status.py +++ b/kubernetes/client/models/v1_load_balancer_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_local_object_reference.py b/kubernetes/client/models/v1_local_object_reference.py index 56bd00ed2b..7444e623b3 100644 --- a/kubernetes/client/models/v1_local_object_reference.py +++ b/kubernetes/client/models/v1_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_local_subject_access_review.py b/kubernetes/client/models/v1_local_subject_access_review.py index a85375a755..7802657650 100644 --- a/kubernetes/client/models/v1_local_subject_access_review.py +++ b/kubernetes/client/models/v1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_local_volume_source.py b/kubernetes/client/models/v1_local_volume_source.py index 1bfdf4f5c5..d9d759c7ee 100644 --- a/kubernetes/client/models/v1_local_volume_source.py +++ b/kubernetes/client/models/v1_local_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_managed_fields_entry.py b/kubernetes/client/models/v1_managed_fields_entry.py index 5a710338e3..fb364490d2 100644 --- a/kubernetes/client/models/v1_managed_fields_entry.py +++ b/kubernetes/client/models/v1_managed_fields_entry.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_mutating_webhook.py b/kubernetes/client/models/v1_mutating_webhook.py index b92a353ae0..0b59976076 100644 --- a/kubernetes/client/models/v1_mutating_webhook.py +++ b/kubernetes/client/models/v1_mutating_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_mutating_webhook_configuration.py b/kubernetes/client/models/v1_mutating_webhook_configuration.py index 8f691e67c8..a4ced21c65 100644 --- a/kubernetes/client/models/v1_mutating_webhook_configuration.py +++ b/kubernetes/client/models/v1_mutating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_mutating_webhook_configuration_list.py b/kubernetes/client/models/v1_mutating_webhook_configuration_list.py index a6d46b1dbb..f7c28ee2b6 100644 --- a/kubernetes/client/models/v1_mutating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1_mutating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace.py b/kubernetes/client/models/v1_namespace.py index 0efd244d2b..b9d349a55c 100644 --- a/kubernetes/client/models/v1_namespace.py +++ b/kubernetes/client/models/v1_namespace.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace_condition.py b/kubernetes/client/models/v1_namespace_condition.py index c7de84912f..ce4138a28e 100644 --- a/kubernetes/client/models/v1_namespace_condition.py +++ b/kubernetes/client/models/v1_namespace_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace_list.py b/kubernetes/client/models/v1_namespace_list.py index 3218f9b4b0..0cf9fba2fe 100644 --- a/kubernetes/client/models/v1_namespace_list.py +++ b/kubernetes/client/models/v1_namespace_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace_spec.py b/kubernetes/client/models/v1_namespace_spec.py index fd223b372b..82fa672839 100644 --- a/kubernetes/client/models/v1_namespace_spec.py +++ b/kubernetes/client/models/v1_namespace_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_namespace_status.py b/kubernetes/client/models/v1_namespace_status.py index 445146f174..a2134cf771 100644 --- a/kubernetes/client/models/v1_namespace_status.py +++ b/kubernetes/client/models/v1_namespace_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy.py b/kubernetes/client/models/v1_network_policy.py index d6e3c5d9b7..1ee719b5f6 100644 --- a/kubernetes/client/models/v1_network_policy.py +++ b/kubernetes/client/models/v1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_egress_rule.py b/kubernetes/client/models/v1_network_policy_egress_rule.py index 10726d50d4..9b4e9d3ce0 100644 --- a/kubernetes/client/models/v1_network_policy_egress_rule.py +++ b/kubernetes/client/models/v1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_ingress_rule.py b/kubernetes/client/models/v1_network_policy_ingress_rule.py index b806d99e50..7fb747ddcf 100644 --- a/kubernetes/client/models/v1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_list.py b/kubernetes/client/models/v1_network_policy_list.py index 6b7d3cac7b..d8a3a33c66 100644 --- a/kubernetes/client/models/v1_network_policy_list.py +++ b/kubernetes/client/models/v1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_peer.py b/kubernetes/client/models/v1_network_policy_peer.py index 428feb0ffe..48ee86be7f 100644 --- a/kubernetes/client/models/v1_network_policy_peer.py +++ b/kubernetes/client/models/v1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_port.py b/kubernetes/client/models/v1_network_policy_port.py index ccec280cd4..de86cd4d9f 100644 --- a/kubernetes/client/models/v1_network_policy_port.py +++ b/kubernetes/client/models/v1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_network_policy_spec.py b/kubernetes/client/models/v1_network_policy_spec.py index 4cf37f3ecc..115bbc8b9d 100644 --- a/kubernetes/client/models/v1_network_policy_spec.py +++ b/kubernetes/client/models/v1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_nfs_volume_source.py b/kubernetes/client/models/v1_nfs_volume_source.py index 03e6d5e2d7..12f7a7418c 100644 --- a/kubernetes/client/models/v1_nfs_volume_source.py +++ b/kubernetes/client/models/v1_nfs_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node.py b/kubernetes/client/models/v1_node.py index ffe3248b4c..1f2ec0627a 100644 --- a/kubernetes/client/models/v1_node.py +++ b/kubernetes/client/models/v1_node.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_address.py b/kubernetes/client/models/v1_node_address.py index 6334a44bf6..8b44dc7ebd 100644 --- a/kubernetes/client/models/v1_node_address.py +++ b/kubernetes/client/models/v1_node_address.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_affinity.py b/kubernetes/client/models/v1_node_affinity.py index 7ac1c29ea6..016927a8ee 100644 --- a/kubernetes/client/models/v1_node_affinity.py +++ b/kubernetes/client/models/v1_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_condition.py b/kubernetes/client/models/v1_node_condition.py index aa9e5dddcd..c7a1957d51 100644 --- a/kubernetes/client/models/v1_node_condition.py +++ b/kubernetes/client/models/v1_node_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_config_source.py b/kubernetes/client/models/v1_node_config_source.py index a2e0f100da..35abeea060 100644 --- a/kubernetes/client/models/v1_node_config_source.py +++ b/kubernetes/client/models/v1_node_config_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_config_status.py b/kubernetes/client/models/v1_node_config_status.py index 4783aa39d0..16c008ce4e 100644 --- a/kubernetes/client/models/v1_node_config_status.py +++ b/kubernetes/client/models/v1_node_config_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_daemon_endpoints.py b/kubernetes/client/models/v1_node_daemon_endpoints.py index 29a5e6c86e..c25c4fab56 100644 --- a/kubernetes/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes/client/models/v1_node_daemon_endpoints.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_list.py b/kubernetes/client/models/v1_node_list.py index 0bb016bfd5..4b7fd343bf 100644 --- a/kubernetes/client/models/v1_node_list.py +++ b/kubernetes/client/models/v1_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_selector.py b/kubernetes/client/models/v1_node_selector.py index a075050ebc..bee3d2882e 100644 --- a/kubernetes/client/models/v1_node_selector.py +++ b/kubernetes/client/models/v1_node_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_selector_requirement.py b/kubernetes/client/models/v1_node_selector_requirement.py index 8eaa3cd092..6b3212a531 100644 --- a/kubernetes/client/models/v1_node_selector_requirement.py +++ b/kubernetes/client/models/v1_node_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_selector_term.py b/kubernetes/client/models/v1_node_selector_term.py index 6e5673d1c4..ce69eb55d4 100644 --- a/kubernetes/client/models/v1_node_selector_term.py +++ b/kubernetes/client/models/v1_node_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_spec.py b/kubernetes/client/models/v1_node_spec.py index fe3c3f819e..9f4dc61a2e 100644 --- a/kubernetes/client/models/v1_node_spec.py +++ b/kubernetes/client/models/v1_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_status.py b/kubernetes/client/models/v1_node_status.py index cb03d43200..a01950e618 100644 --- a/kubernetes/client/models/v1_node_status.py +++ b/kubernetes/client/models/v1_node_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_node_system_info.py b/kubernetes/client/models/v1_node_system_info.py index f96783b842..072c341045 100644 --- a/kubernetes/client/models/v1_node_system_info.py +++ b/kubernetes/client/models/v1_node_system_info.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_non_resource_attributes.py b/kubernetes/client/models/v1_non_resource_attributes.py index 3803e09443..2d970dc290 100644 --- a/kubernetes/client/models/v1_non_resource_attributes.py +++ b/kubernetes/client/models/v1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_non_resource_rule.py b/kubernetes/client/models/v1_non_resource_rule.py index a93f579890..b8bdd05599 100644 --- a/kubernetes/client/models/v1_non_resource_rule.py +++ b/kubernetes/client/models/v1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_object_field_selector.py b/kubernetes/client/models/v1_object_field_selector.py index ae719b31d4..ac65e0e12e 100644 --- a/kubernetes/client/models/v1_object_field_selector.py +++ b/kubernetes/client/models/v1_object_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_object_meta.py b/kubernetes/client/models/v1_object_meta.py index 68ab1d4662..0ef68ca1ba 100644 --- a/kubernetes/client/models/v1_object_meta.py +++ b/kubernetes/client/models/v1_object_meta.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -246,7 +246,7 @@ def deletion_timestamp(self, deletion_timestamp): def finalizers(self): """Gets the finalizers of this V1ObjectMeta. # noqa: E501 - 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. # noqa: E501 + 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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. # noqa: E501 :return: The finalizers of this V1ObjectMeta. # noqa: E501 :rtype: list[str] @@ -257,7 +257,7 @@ def finalizers(self): def finalizers(self, finalizers): """Sets the finalizers of this V1ObjectMeta. - 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. # noqa: E501 + 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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. # noqa: E501 :param finalizers: The finalizers of this V1ObjectMeta. # noqa: E501 :type: list[str] diff --git a/kubernetes/client/models/v1_object_reference.py b/kubernetes/client/models/v1_object_reference.py index 839492035d..fd6aeb0689 100644 --- a/kubernetes/client/models/v1_object_reference.py +++ b/kubernetes/client/models/v1_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_owner_reference.py b/kubernetes/client/models/v1_owner_reference.py index ecc4ef8edd..00d6593260 100644 --- a/kubernetes/client/models/v1_owner_reference.py +++ b/kubernetes/client/models/v1_owner_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume.py b/kubernetes/client/models/v1_persistent_volume.py index 716d61c874..b5df9c8c2c 100644 --- a/kubernetes/client/models/v1_persistent_volume.py +++ b/kubernetes/client/models/v1_persistent_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim.py b/kubernetes/client/models/v1_persistent_volume_claim.py index 72882d83db..d290981b5b 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim.py +++ b/kubernetes/client/models/v1_persistent_volume_claim.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_condition.py b/kubernetes/client/models/v1_persistent_volume_claim_condition.py index 7f67be5f7b..389d7fd520 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_condition.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_list.py b/kubernetes/client/models/v1_persistent_volume_claim_list.py index 56e6773cad..1f8fc4753c 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_spec.py b/kubernetes/client/models/v1_persistent_volume_claim_spec.py index 85fb080444..b223427785 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_status.py b/kubernetes/client/models/v1_persistent_volume_claim_status.py index b1c23ddce9..fa3a9522fb 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py index 2f4cc2b9f9..b9b41c6bdd 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_list.py b/kubernetes/client/models/v1_persistent_volume_list.py index 447abeb01c..a0b5db9885 100644 --- a/kubernetes/client/models/v1_persistent_volume_list.py +++ b/kubernetes/client/models/v1_persistent_volume_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_spec.py b/kubernetes/client/models/v1_persistent_volume_spec.py index eec0aaa527..018cf20966 100644 --- a/kubernetes/client/models/v1_persistent_volume_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_persistent_volume_status.py b/kubernetes/client/models/v1_persistent_volume_status.py index 17f970a0de..ea7e02c000 100644 --- a/kubernetes/client/models/v1_persistent_volume_status.py +++ b/kubernetes/client/models/v1_persistent_volume_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py index 8acfb8dec5..cbbe92c2f4 100644 --- a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod.py b/kubernetes/client/models/v1_pod.py index 5a7d1a0140..fb33320211 100644 --- a/kubernetes/client/models/v1_pod.py +++ b/kubernetes/client/models/v1_pod.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_affinity.py b/kubernetes/client/models/v1_pod_affinity.py index 689cd5707e..c7c090dc59 100644 --- a/kubernetes/client/models/v1_pod_affinity.py +++ b/kubernetes/client/models/v1_pod_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_affinity_term.py b/kubernetes/client/models/v1_pod_affinity_term.py index 1a7f30bf42..4a8b7a48ec 100644 --- a/kubernetes/client/models/v1_pod_affinity_term.py +++ b/kubernetes/client/models/v1_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_anti_affinity.py b/kubernetes/client/models/v1_pod_anti_affinity.py index 5c3efed6ed..6e6c817f39 100644 --- a/kubernetes/client/models/v1_pod_anti_affinity.py +++ b/kubernetes/client/models/v1_pod_anti_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_condition.py b/kubernetes/client/models/v1_pod_condition.py index 8d2bfe3403..2ae8114aaf 100644 --- a/kubernetes/client/models/v1_pod_condition.py +++ b/kubernetes/client/models/v1_pod_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_dns_config.py b/kubernetes/client/models/v1_pod_dns_config.py index 12c586b80d..859cfd6489 100644 --- a/kubernetes/client/models/v1_pod_dns_config.py +++ b/kubernetes/client/models/v1_pod_dns_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_dns_config_option.py b/kubernetes/client/models/v1_pod_dns_config_option.py index 1820588c2c..eb1be3f12f 100644 --- a/kubernetes/client/models/v1_pod_dns_config_option.py +++ b/kubernetes/client/models/v1_pod_dns_config_option.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_ip.py b/kubernetes/client/models/v1_pod_ip.py index b293702878..4377cfbe22 100644 --- a/kubernetes/client/models/v1_pod_ip.py +++ b/kubernetes/client/models/v1_pod_ip.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_list.py b/kubernetes/client/models/v1_pod_list.py index a5e12fde9a..c98a716652 100644 --- a/kubernetes/client/models/v1_pod_list.py +++ b/kubernetes/client/models/v1_pod_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_readiness_gate.py b/kubernetes/client/models/v1_pod_readiness_gate.py index 58892d0baf..f1571c2757 100644 --- a/kubernetes/client/models/v1_pod_readiness_gate.py +++ b/kubernetes/client/models/v1_pod_readiness_gate.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_security_context.py b/kubernetes/client/models/v1_pod_security_context.py index cb167ef84a..44575f87fe 100644 --- a/kubernetes/client/models/v1_pod_security_context.py +++ b/kubernetes/client/models/v1_pod_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_spec.py b/kubernetes/client/models/v1_pod_spec.py index 71b2023c22..2998c96559 100644 --- a/kubernetes/client/models/v1_pod_spec.py +++ b/kubernetes/client/models/v1_pod_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -860,7 +860,7 @@ def service_account_name(self, service_account_name): def share_process_namespace(self): """Gets the share_process_namespace of this V1PodSpec. # noqa: E501 - 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. # noqa: E501 + 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. # noqa: E501 :return: The share_process_namespace of this V1PodSpec. # noqa: E501 :rtype: bool @@ -871,7 +871,7 @@ def share_process_namespace(self): def share_process_namespace(self, share_process_namespace): """Sets the share_process_namespace of this V1PodSpec. - 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. # noqa: E501 + 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. # noqa: E501 :param share_process_namespace: The share_process_namespace of this V1PodSpec. # noqa: E501 :type: bool diff --git a/kubernetes/client/models/v1_pod_status.py b/kubernetes/client/models/v1_pod_status.py index ae389899cb..4f4d7c4f70 100644 --- a/kubernetes/client/models/v1_pod_status.py +++ b/kubernetes/client/models/v1_pod_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_template.py b/kubernetes/client/models/v1_pod_template.py index 2120dfd81e..40db5d27c5 100644 --- a/kubernetes/client/models/v1_pod_template.py +++ b/kubernetes/client/models/v1_pod_template.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_template_list.py b/kubernetes/client/models/v1_pod_template_list.py index 956a5fd6bc..6b8082ff79 100644 --- a/kubernetes/client/models/v1_pod_template_list.py +++ b/kubernetes/client/models/v1_pod_template_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_pod_template_spec.py b/kubernetes/client/models/v1_pod_template_spec.py index d8e7a0c4c5..629fc66244 100644 --- a/kubernetes/client/models/v1_pod_template_spec.py +++ b/kubernetes/client/models/v1_pod_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_policy_rule.py b/kubernetes/client/models/v1_policy_rule.py index 9d8aa69b68..f5b69e9e86 100644 --- a/kubernetes/client/models/v1_policy_rule.py +++ b/kubernetes/client/models/v1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_portworx_volume_source.py b/kubernetes/client/models/v1_portworx_volume_source.py index 334e687729..93b8202692 100644 --- a/kubernetes/client/models/v1_portworx_volume_source.py +++ b/kubernetes/client/models/v1_portworx_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_preconditions.py b/kubernetes/client/models/v1_preconditions.py index d534c37b5f..ee7899a79f 100644 --- a/kubernetes/client/models/v1_preconditions.py +++ b/kubernetes/client/models/v1_preconditions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_preferred_scheduling_term.py b/kubernetes/client/models/v1_preferred_scheduling_term.py index c721cdd90e..59acee70f9 100644 --- a/kubernetes/client/models/v1_preferred_scheduling_term.py +++ b/kubernetes/client/models/v1_preferred_scheduling_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_class.py b/kubernetes/client/models/v1_priority_class.py index 4a94fd1b0c..e49d654089 100644 --- a/kubernetes/client/models/v1_priority_class.py +++ b/kubernetes/client/models/v1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_priority_class_list.py b/kubernetes/client/models/v1_priority_class_list.py index b870ef2ebd..d04a4c8af1 100644 --- a/kubernetes/client/models/v1_priority_class_list.py +++ b/kubernetes/client/models/v1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_probe.py b/kubernetes/client/models/v1_probe.py index 9f2a9ebe8c..5ef565a689 100644 --- a/kubernetes/client/models/v1_probe.py +++ b/kubernetes/client/models/v1_probe.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_projected_volume_source.py b/kubernetes/client/models/v1_projected_volume_source.py index ed2c059b42..f77aae20f4 100644 --- a/kubernetes/client/models/v1_projected_volume_source.py +++ b/kubernetes/client/models/v1_projected_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_quobyte_volume_source.py b/kubernetes/client/models/v1_quobyte_volume_source.py index 5f76909dd9..f67168d6fb 100644 --- a/kubernetes/client/models/v1_quobyte_volume_source.py +++ b/kubernetes/client/models/v1_quobyte_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rbd_persistent_volume_source.py b/kubernetes/client/models/v1_rbd_persistent_volume_source.py index 1906858534..7254d8ee65 100644 --- a/kubernetes/client/models/v1_rbd_persistent_volume_source.py +++ b/kubernetes/client/models/v1_rbd_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rbd_volume_source.py b/kubernetes/client/models/v1_rbd_volume_source.py index 1d13a69be0..c4da6dbeef 100644 --- a/kubernetes/client/models/v1_rbd_volume_source.py +++ b/kubernetes/client/models/v1_rbd_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set.py b/kubernetes/client/models/v1_replica_set.py index ee0856557d..b2a5922c1f 100644 --- a/kubernetes/client/models/v1_replica_set.py +++ b/kubernetes/client/models/v1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set_condition.py b/kubernetes/client/models/v1_replica_set_condition.py index 6caef75d24..364603c44a 100644 --- a/kubernetes/client/models/v1_replica_set_condition.py +++ b/kubernetes/client/models/v1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set_list.py b/kubernetes/client/models/v1_replica_set_list.py index c3979ce681..d622809a84 100644 --- a/kubernetes/client/models/v1_replica_set_list.py +++ b/kubernetes/client/models/v1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set_spec.py b/kubernetes/client/models/v1_replica_set_spec.py index e73b9f949e..d21990399f 100644 --- a/kubernetes/client/models/v1_replica_set_spec.py +++ b/kubernetes/client/models/v1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replica_set_status.py b/kubernetes/client/models/v1_replica_set_status.py index 15494e6bcb..dc41864ac4 100644 --- a/kubernetes/client/models/v1_replica_set_status.py +++ b/kubernetes/client/models/v1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller.py b/kubernetes/client/models/v1_replication_controller.py index 102098a3d0..b073d4944d 100644 --- a/kubernetes/client/models/v1_replication_controller.py +++ b/kubernetes/client/models/v1_replication_controller.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller_condition.py b/kubernetes/client/models/v1_replication_controller_condition.py index 17ccc86f38..1da07711a3 100644 --- a/kubernetes/client/models/v1_replication_controller_condition.py +++ b/kubernetes/client/models/v1_replication_controller_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller_list.py b/kubernetes/client/models/v1_replication_controller_list.py index 2e22c274f4..5cbfced93f 100644 --- a/kubernetes/client/models/v1_replication_controller_list.py +++ b/kubernetes/client/models/v1_replication_controller_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller_spec.py b/kubernetes/client/models/v1_replication_controller_spec.py index c87fe27bde..980399260a 100644 --- a/kubernetes/client/models/v1_replication_controller_spec.py +++ b/kubernetes/client/models/v1_replication_controller_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_replication_controller_status.py b/kubernetes/client/models/v1_replication_controller_status.py index 0b12457ef8..f0ed216f78 100644 --- a/kubernetes/client/models/v1_replication_controller_status.py +++ b/kubernetes/client/models/v1_replication_controller_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_attributes.py b/kubernetes/client/models/v1_resource_attributes.py index e8d825368f..80a7434e9d 100644 --- a/kubernetes/client/models/v1_resource_attributes.py +++ b/kubernetes/client/models/v1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_field_selector.py b/kubernetes/client/models/v1_resource_field_selector.py index c8b2d77d27..05df27ec4d 100644 --- a/kubernetes/client/models/v1_resource_field_selector.py +++ b/kubernetes/client/models/v1_resource_field_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_quota.py b/kubernetes/client/models/v1_resource_quota.py index 70af1cd724..24cf57dcbe 100644 --- a/kubernetes/client/models/v1_resource_quota.py +++ b/kubernetes/client/models/v1_resource_quota.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_quota_list.py b/kubernetes/client/models/v1_resource_quota_list.py index 61a9567dfb..b341c9c576 100644 --- a/kubernetes/client/models/v1_resource_quota_list.py +++ b/kubernetes/client/models/v1_resource_quota_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_quota_spec.py b/kubernetes/client/models/v1_resource_quota_spec.py index 291975db55..a61cdeb705 100644 --- a/kubernetes/client/models/v1_resource_quota_spec.py +++ b/kubernetes/client/models/v1_resource_quota_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_quota_status.py b/kubernetes/client/models/v1_resource_quota_status.py index 3f74e2a81e..06bfc3d2c0 100644 --- a/kubernetes/client/models/v1_resource_quota_status.py +++ b/kubernetes/client/models/v1_resource_quota_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_requirements.py b/kubernetes/client/models/v1_resource_requirements.py index c9ad3299cb..5e1b3557d8 100644 --- a/kubernetes/client/models/v1_resource_requirements.py +++ b/kubernetes/client/models/v1_resource_requirements.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_resource_rule.py b/kubernetes/client/models/v1_resource_rule.py index 777d1b8594..b9bcf4c6e0 100644 --- a/kubernetes/client/models/v1_resource_rule.py +++ b/kubernetes/client/models/v1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role.py b/kubernetes/client/models/v1_role.py index f7bd280504..97fd0b1bee 100644 --- a/kubernetes/client/models/v1_role.py +++ b/kubernetes/client/models/v1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role_binding.py b/kubernetes/client/models/v1_role_binding.py index 687aa2d611..0cda3d42f2 100644 --- a/kubernetes/client/models/v1_role_binding.py +++ b/kubernetes/client/models/v1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role_binding_list.py b/kubernetes/client/models/v1_role_binding_list.py index 7771a98dd5..8aa54256ba 100644 --- a/kubernetes/client/models/v1_role_binding_list.py +++ b/kubernetes/client/models/v1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role_list.py b/kubernetes/client/models/v1_role_list.py index ae3ab9e01f..e98cd787b6 100644 --- a/kubernetes/client/models/v1_role_list.py +++ b/kubernetes/client/models/v1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_role_ref.py b/kubernetes/client/models/v1_role_ref.py index 54adadc072..cc69d1c8a1 100644 --- a/kubernetes/client/models/v1_role_ref.py +++ b/kubernetes/client/models/v1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rolling_update_daemon_set.py b/kubernetes/client/models/v1_rolling_update_daemon_set.py index 1c38e5c18e..04fd14acc1 100644 --- a/kubernetes/client/models/v1_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rolling_update_deployment.py b/kubernetes/client/models/v1_rolling_update_deployment.py index b45dd2851f..f670e2cf8a 100644 --- a/kubernetes/client/models/v1_rolling_update_deployment.py +++ b/kubernetes/client/models/v1_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py index a22737c1a6..d88b99831c 100644 --- a/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_rule_with_operations.py b/kubernetes/client/models/v1_rule_with_operations.py index 781ee8bb17..07804d35d5 100644 --- a/kubernetes/client/models/v1_rule_with_operations.py +++ b/kubernetes/client/models/v1_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale.py b/kubernetes/client/models/v1_scale.py index 9cf26e4638..b0f3a07898 100644 --- a/kubernetes/client/models/v1_scale.py +++ b/kubernetes/client/models/v1_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py index 3f60d2cdda..2bda2d92d6 100644 --- a/kubernetes/client/models/v1_scale_io_persistent_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale_io_volume_source.py b/kubernetes/client/models/v1_scale_io_volume_source.py index ec804664b0..69124f051b 100644 --- a/kubernetes/client/models/v1_scale_io_volume_source.py +++ b/kubernetes/client/models/v1_scale_io_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale_spec.py b/kubernetes/client/models/v1_scale_spec.py index 9936100dad..34ece48eca 100644 --- a/kubernetes/client/models/v1_scale_spec.py +++ b/kubernetes/client/models/v1_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scale_status.py b/kubernetes/client/models/v1_scale_status.py index 62f5e44e76..0e7fe999c9 100644 --- a/kubernetes/client/models/v1_scale_status.py +++ b/kubernetes/client/models/v1_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scope_selector.py b/kubernetes/client/models/v1_scope_selector.py index 6c2c92d0d8..80442d4e31 100644 --- a/kubernetes/client/models/v1_scope_selector.py +++ b/kubernetes/client/models/v1_scope_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py index 6be22d5198..2194518ebf 100644 --- a/kubernetes/client/models/v1_scoped_resource_selector_requirement.py +++ b/kubernetes/client/models/v1_scoped_resource_selector_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_se_linux_options.py b/kubernetes/client/models/v1_se_linux_options.py index 39f30d6aa3..e0bf9df854 100644 --- a/kubernetes/client/models/v1_se_linux_options.py +++ b/kubernetes/client/models/v1_se_linux_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret.py b/kubernetes/client/models/v1_secret.py index f49b50066b..2595da5791 100644 --- a/kubernetes/client/models/v1_secret.py +++ b/kubernetes/client/models/v1_secret.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_env_source.py b/kubernetes/client/models/v1_secret_env_source.py index 0d7c641f40..434dc65bd6 100644 --- a/kubernetes/client/models/v1_secret_env_source.py +++ b/kubernetes/client/models/v1_secret_env_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_key_selector.py b/kubernetes/client/models/v1_secret_key_selector.py index 93ef27e358..377c8033c5 100644 --- a/kubernetes/client/models/v1_secret_key_selector.py +++ b/kubernetes/client/models/v1_secret_key_selector.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_list.py b/kubernetes/client/models/v1_secret_list.py index 02353df521..9d4fda8bca 100644 --- a/kubernetes/client/models/v1_secret_list.py +++ b/kubernetes/client/models/v1_secret_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_projection.py b/kubernetes/client/models/v1_secret_projection.py index 450785beb1..6bd38af2d3 100644 --- a/kubernetes/client/models/v1_secret_projection.py +++ b/kubernetes/client/models/v1_secret_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_reference.py b/kubernetes/client/models/v1_secret_reference.py index dc2c19de14..ebc230338b 100644 --- a/kubernetes/client/models/v1_secret_reference.py +++ b/kubernetes/client/models/v1_secret_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_secret_volume_source.py b/kubernetes/client/models/v1_secret_volume_source.py index f3631ab087..c5ab36ad96 100644 --- a/kubernetes/client/models/v1_secret_volume_source.py +++ b/kubernetes/client/models/v1_secret_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_security_context.py b/kubernetes/client/models/v1_security_context.py index f551590b1d..7104fca6f0 100644 --- a/kubernetes/client/models/v1_security_context.py +++ b/kubernetes/client/models/v1_security_context.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_access_review.py b/kubernetes/client/models/v1_self_subject_access_review.py index 2ba52f23f7..2a5c7f87ea 100644 --- a/kubernetes/client/models/v1_self_subject_access_review.py +++ b/kubernetes/client/models/v1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_access_review_spec.py b/kubernetes/client/models/v1_self_subject_access_review_spec.py index d24caa876a..7a48e68708 100644 --- a/kubernetes/client/models/v1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_rules_review.py b/kubernetes/client/models/v1_self_subject_rules_review.py index bd12a3855d..aaf575b82f 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review.py +++ b/kubernetes/client/models/v1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_self_subject_rules_review_spec.py b/kubernetes/client/models/v1_self_subject_rules_review_spec.py index 276f96695d..6bbb99c166 100644 --- a/kubernetes/client/models/v1_self_subject_rules_review_spec.py +++ b/kubernetes/client/models/v1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_server_address_by_client_cidr.py b/kubernetes/client/models/v1_server_address_by_client_cidr.py index a069c52002..91990256f9 100644 --- a/kubernetes/client/models/v1_server_address_by_client_cidr.py +++ b/kubernetes/client/models/v1_server_address_by_client_cidr.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service.py b/kubernetes/client/models/v1_service.py index 2a1a6d76b0..15fe147209 100644 --- a/kubernetes/client/models/v1_service.py +++ b/kubernetes/client/models/v1_service.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_account.py b/kubernetes/client/models/v1_service_account.py index 90d8b884f7..fb58a11358 100644 --- a/kubernetes/client/models/v1_service_account.py +++ b/kubernetes/client/models/v1_service_account.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_account_list.py b/kubernetes/client/models/v1_service_account_list.py index da6ebbc2bc..c82b1b45a3 100644 --- a/kubernetes/client/models/v1_service_account_list.py +++ b/kubernetes/client/models/v1_service_account_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_account_token_projection.py b/kubernetes/client/models/v1_service_account_token_projection.py index 9a209fff7f..f4ce94c565 100644 --- a/kubernetes/client/models/v1_service_account_token_projection.py +++ b/kubernetes/client/models/v1_service_account_token_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_list.py b/kubernetes/client/models/v1_service_list.py index f73b830b90..ae7106391b 100644 --- a/kubernetes/client/models/v1_service_list.py +++ b/kubernetes/client/models/v1_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_port.py b/kubernetes/client/models/v1_service_port.py index 6f1e03f3d8..1351eae26a 100644 --- a/kubernetes/client/models/v1_service_port.py +++ b/kubernetes/client/models/v1_service_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_service_spec.py b/kubernetes/client/models/v1_service_spec.py index 1ed1d65082..c93f693cff 100644 --- a/kubernetes/client/models/v1_service_spec.py +++ b/kubernetes/client/models/v1_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -46,6 +46,7 @@ class V1ServiceSpec(object): 'selector': 'dict(str, str)', 'session_affinity': 'str', 'session_affinity_config': 'V1SessionAffinityConfig', + 'topology_keys': 'list[str]', 'type': 'str' } @@ -63,10 +64,11 @@ class V1ServiceSpec(object): 'selector': 'selector', 'session_affinity': 'sessionAffinity', 'session_affinity_config': 'sessionAffinityConfig', + 'topology_keys': 'topologyKeys', 'type': 'type' } - def __init__(self, cluster_ip=None, external_i_ps=None, external_name=None, external_traffic_policy=None, health_check_node_port=None, ip_family=None, load_balancer_ip=None, load_balancer_source_ranges=None, ports=None, publish_not_ready_addresses=None, selector=None, session_affinity=None, session_affinity_config=None, type=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, cluster_ip=None, external_i_ps=None, external_name=None, external_traffic_policy=None, health_check_node_port=None, ip_family=None, load_balancer_ip=None, load_balancer_source_ranges=None, ports=None, publish_not_ready_addresses=None, selector=None, session_affinity=None, session_affinity_config=None, topology_keys=None, type=None, local_vars_configuration=None): # noqa: E501 """V1ServiceSpec - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -85,6 +87,7 @@ def __init__(self, cluster_ip=None, external_i_ps=None, external_name=None, exte self._selector = None self._session_affinity = None self._session_affinity_config = None + self._topology_keys = None self._type = None self.discriminator = None @@ -114,6 +117,8 @@ def __init__(self, cluster_ip=None, external_i_ps=None, external_name=None, exte self.session_affinity = session_affinity if session_affinity_config is not None: self.session_affinity_config = session_affinity_config + if topology_keys is not None: + self.topology_keys = topology_keys if type is not None: self.type = type @@ -414,6 +419,29 @@ def session_affinity_config(self, session_affinity_config): self._session_affinity_config = session_affinity_config + @property + def topology_keys(self): + """Gets the topology_keys of this V1ServiceSpec. # noqa: E501 + + topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied. # noqa: E501 + + :return: The topology_keys of this V1ServiceSpec. # noqa: E501 + :rtype: list[str] + """ + return self._topology_keys + + @topology_keys.setter + def topology_keys(self, topology_keys): + """Sets the topology_keys of this V1ServiceSpec. + + topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied. # noqa: E501 + + :param topology_keys: The topology_keys of this V1ServiceSpec. # noqa: E501 + :type: list[str] + """ + + self._topology_keys = topology_keys + @property def type(self): """Gets the type of this V1ServiceSpec. # noqa: E501 diff --git a/kubernetes/client/models/v1_service_status.py b/kubernetes/client/models/v1_service_status.py index 98d60534df..098b1184b9 100644 --- a/kubernetes/client/models/v1_service_status.py +++ b/kubernetes/client/models/v1_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_session_affinity_config.py b/kubernetes/client/models/v1_session_affinity_config.py index 335deadbb1..fd6b4f733b 100644 --- a/kubernetes/client/models/v1_session_affinity_config.py +++ b/kubernetes/client/models/v1_session_affinity_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set.py b/kubernetes/client/models/v1_stateful_set.py index 1fb3946072..616f58137a 100644 --- a/kubernetes/client/models/v1_stateful_set.py +++ b/kubernetes/client/models/v1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_condition.py b/kubernetes/client/models/v1_stateful_set_condition.py index 2d0a94b001..d02a47affa 100644 --- a/kubernetes/client/models/v1_stateful_set_condition.py +++ b/kubernetes/client/models/v1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_list.py b/kubernetes/client/models/v1_stateful_set_list.py index 7970a3e3f6..4bef3e610f 100644 --- a/kubernetes/client/models/v1_stateful_set_list.py +++ b/kubernetes/client/models/v1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_spec.py b/kubernetes/client/models/v1_stateful_set_spec.py index c1d6ca4e87..59c073b655 100644 --- a/kubernetes/client/models/v1_stateful_set_spec.py +++ b/kubernetes/client/models/v1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_status.py b/kubernetes/client/models/v1_stateful_set_status.py index f92baf29d9..111582e31a 100644 --- a/kubernetes/client/models/v1_stateful_set_status.py +++ b/kubernetes/client/models/v1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_stateful_set_update_strategy.py b/kubernetes/client/models/v1_stateful_set_update_strategy.py index e8f90fd905..5008e676ac 100644 --- a/kubernetes/client/models/v1_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_status.py b/kubernetes/client/models/v1_status.py index bce9624ec9..9b297a4705 100644 --- a/kubernetes/client/models/v1_status.py +++ b/kubernetes/client/models/v1_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_status_cause.py b/kubernetes/client/models/v1_status_cause.py index 91b708438b..7a5e0cb447 100644 --- a/kubernetes/client/models/v1_status_cause.py +++ b/kubernetes/client/models/v1_status_cause.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_status_details.py b/kubernetes/client/models/v1_status_details.py index 680ac4ae50..21cf713c9b 100644 --- a/kubernetes/client/models/v1_status_details.py +++ b/kubernetes/client/models/v1_status_details.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_storage_class.py b/kubernetes/client/models/v1_storage_class.py index d3a7083e4c..e0a2f39390 100644 --- a/kubernetes/client/models/v1_storage_class.py +++ b/kubernetes/client/models/v1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_storage_class_list.py b/kubernetes/client/models/v1_storage_class_list.py index 9c604b7f07..5a5e6b132a 100644 --- a/kubernetes/client/models/v1_storage_class_list.py +++ b/kubernetes/client/models/v1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py index cc393f0ddf..38a9a9daab 100644 --- a/kubernetes/client/models/v1_storage_os_persistent_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_persistent_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_storage_os_volume_source.py b/kubernetes/client/models/v1_storage_os_volume_source.py index 370fda9c55..729142dbe6 100644 --- a/kubernetes/client/models/v1_storage_os_volume_source.py +++ b/kubernetes/client/models/v1_storage_os_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject.py b/kubernetes/client/models/v1_subject.py index 12c0cb31e2..7da088c0ee 100644 --- a/kubernetes/client/models/v1_subject.py +++ b/kubernetes/client/models/v1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject_access_review.py b/kubernetes/client/models/v1_subject_access_review.py index f398813aa8..a0f428c88e 100644 --- a/kubernetes/client/models/v1_subject_access_review.py +++ b/kubernetes/client/models/v1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject_access_review_spec.py b/kubernetes/client/models/v1_subject_access_review_spec.py index d9e02d1344..433f50aa70 100644 --- a/kubernetes/client/models/v1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject_access_review_status.py b/kubernetes/client/models/v1_subject_access_review_status.py index cde8aa07a9..ca7a41c6c7 100644 --- a/kubernetes/client/models/v1_subject_access_review_status.py +++ b/kubernetes/client/models/v1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_subject_rules_review_status.py b/kubernetes/client/models/v1_subject_rules_review_status.py index bf74f766d9..ff4a2c3c8d 100644 --- a/kubernetes/client/models/v1_subject_rules_review_status.py +++ b/kubernetes/client/models/v1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_sysctl.py b/kubernetes/client/models/v1_sysctl.py index e9137dd8c7..d6c7218578 100644 --- a/kubernetes/client/models/v1_sysctl.py +++ b/kubernetes/client/models/v1_sysctl.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_taint.py b/kubernetes/client/models/v1_taint.py index f1ce6eddd5..0d826c925f 100644 --- a/kubernetes/client/models/v1_taint.py +++ b/kubernetes/client/models/v1_taint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_tcp_socket_action.py b/kubernetes/client/models/v1_tcp_socket_action.py index d2ca5c90d8..29726547be 100644 --- a/kubernetes/client/models/v1_tcp_socket_action.py +++ b/kubernetes/client/models/v1_tcp_socket_action.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_request.py b/kubernetes/client/models/v1_token_request.py index 8dc970bc24..b8a5b6ea59 100644 --- a/kubernetes/client/models/v1_token_request.py +++ b/kubernetes/client/models/v1_token_request.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_request_spec.py b/kubernetes/client/models/v1_token_request_spec.py index f57710c155..9c22c6d38f 100644 --- a/kubernetes/client/models/v1_token_request_spec.py +++ b/kubernetes/client/models/v1_token_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_request_status.py b/kubernetes/client/models/v1_token_request_status.py index 1c317ea0b7..77188dc3ed 100644 --- a/kubernetes/client/models/v1_token_request_status.py +++ b/kubernetes/client/models/v1_token_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_review.py b/kubernetes/client/models/v1_token_review.py index 7042b004f1..113ff7b184 100644 --- a/kubernetes/client/models/v1_token_review.py +++ b/kubernetes/client/models/v1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_review_spec.py b/kubernetes/client/models/v1_token_review_spec.py index 63783aa18e..fea850bc22 100644 --- a/kubernetes/client/models/v1_token_review_spec.py +++ b/kubernetes/client/models/v1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_token_review_status.py b/kubernetes/client/models/v1_token_review_status.py index f442f6a227..2098572ca4 100644 --- a/kubernetes/client/models/v1_token_review_status.py +++ b/kubernetes/client/models/v1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_toleration.py b/kubernetes/client/models/v1_toleration.py index f25aa57e41..d5853ac29e 100644 --- a/kubernetes/client/models/v1_toleration.py +++ b/kubernetes/client/models/v1_toleration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_topology_selector_label_requirement.py b/kubernetes/client/models/v1_topology_selector_label_requirement.py index 65381c4425..6fba2310a8 100644 --- a/kubernetes/client/models/v1_topology_selector_label_requirement.py +++ b/kubernetes/client/models/v1_topology_selector_label_requirement.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_topology_selector_term.py b/kubernetes/client/models/v1_topology_selector_term.py index 377d6a54da..38157fe847 100644 --- a/kubernetes/client/models/v1_topology_selector_term.py +++ b/kubernetes/client/models/v1_topology_selector_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_topology_spread_constraint.py b/kubernetes/client/models/v1_topology_spread_constraint.py index e8dfafdcd6..2742e83ad4 100644 --- a/kubernetes/client/models/v1_topology_spread_constraint.py +++ b/kubernetes/client/models/v1_topology_spread_constraint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_typed_local_object_reference.py b/kubernetes/client/models/v1_typed_local_object_reference.py index a5543d452c..04de8d010e 100644 --- a/kubernetes/client/models/v1_typed_local_object_reference.py +++ b/kubernetes/client/models/v1_typed_local_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_user_info.py b/kubernetes/client/models/v1_user_info.py index dc27bd228b..3ab1f99768 100644 --- a/kubernetes/client/models/v1_user_info.py +++ b/kubernetes/client/models/v1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_webhook.py b/kubernetes/client/models/v1_validating_webhook.py index c864c9292f..3644be981b 100644 --- a/kubernetes/client/models/v1_validating_webhook.py +++ b/kubernetes/client/models/v1_validating_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_webhook_configuration.py b/kubernetes/client/models/v1_validating_webhook_configuration.py index db1eea2301..0b9710ec54 100644 --- a/kubernetes/client/models/v1_validating_webhook_configuration.py +++ b/kubernetes/client/models/v1_validating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_validating_webhook_configuration_list.py b/kubernetes/client/models/v1_validating_webhook_configuration_list.py index 554acdbc47..e6de41b724 100644 --- a/kubernetes/client/models/v1_validating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1_validating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume.py b/kubernetes/client/models/v1_volume.py index 9db0432d83..10dab8a99b 100644 --- a/kubernetes/client/models/v1_volume.py +++ b/kubernetes/client/models/v1_volume.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment.py b/kubernetes/client/models/v1_volume_attachment.py index 3af50127bc..a80854eb73 100644 --- a/kubernetes/client/models/v1_volume_attachment.py +++ b/kubernetes/client/models/v1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment_list.py b/kubernetes/client/models/v1_volume_attachment_list.py index 5fa9d9c389..c0b6d13676 100644 --- a/kubernetes/client/models/v1_volume_attachment_list.py +++ b/kubernetes/client/models/v1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment_source.py b/kubernetes/client/models/v1_volume_attachment_source.py index d3357eb906..bcf624f26a 100644 --- a/kubernetes/client/models/v1_volume_attachment_source.py +++ b/kubernetes/client/models/v1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment_spec.py b/kubernetes/client/models/v1_volume_attachment_spec.py index 0d1ec7dea7..6b9dca9371 100644 --- a/kubernetes/client/models/v1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_attachment_status.py b/kubernetes/client/models/v1_volume_attachment_status.py index ad56788aeb..e60d324115 100644 --- a/kubernetes/client/models/v1_volume_attachment_status.py +++ b/kubernetes/client/models/v1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_device.py b/kubernetes/client/models/v1_volume_device.py index e742ae5375..f05116f3b2 100644 --- a/kubernetes/client/models/v1_volume_device.py +++ b/kubernetes/client/models/v1_volume_device.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_error.py b/kubernetes/client/models/v1_volume_error.py index f42013d7e1..682a72480a 100644 --- a/kubernetes/client/models/v1_volume_error.py +++ b/kubernetes/client/models/v1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_mount.py b/kubernetes/client/models/v1_volume_mount.py index 2e51b7a6fc..1866447f8b 100644 --- a/kubernetes/client/models/v1_volume_mount.py +++ b/kubernetes/client/models/v1_volume_mount.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -198,7 +198,7 @@ def sub_path(self, sub_path): def sub_path_expr(self): """Gets the sub_path_expr of this V1VolumeMount. # noqa: E501 - Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15. # noqa: E501 + Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. # noqa: E501 :return: The sub_path_expr of this V1VolumeMount. # noqa: E501 :rtype: str @@ -209,7 +209,7 @@ def sub_path_expr(self): def sub_path_expr(self, sub_path_expr): """Sets the sub_path_expr of this V1VolumeMount. - Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15. # noqa: E501 + Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. # noqa: E501 :param sub_path_expr: The sub_path_expr of this V1VolumeMount. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1_volume_node_affinity.py b/kubernetes/client/models/v1_volume_node_affinity.py index 748b5c9857..2d036c41af 100644 --- a/kubernetes/client/models/v1_volume_node_affinity.py +++ b/kubernetes/client/models/v1_volume_node_affinity.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_volume_node_resources.py b/kubernetes/client/models/v1_volume_node_resources.py new file mode 100644 index 0000000000..0767ebd660 --- /dev/null +++ b/kubernetes/client/models/v1_volume_node_resources.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1VolumeNodeResources(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'count': 'int' + } + + attribute_map = { + 'count': 'count' + } + + def __init__(self, count=None, local_vars_configuration=None): # noqa: E501 + """V1VolumeNodeResources - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._count = None + self.discriminator = None + + if count is not None: + self.count = count + + @property + def count(self): + """Gets the count of this V1VolumeNodeResources. # noqa: E501 + + Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded. # noqa: E501 + + :return: The count of this V1VolumeNodeResources. # noqa: E501 + :rtype: int + """ + return self._count + + @count.setter + def count(self, count): + """Sets the count of this V1VolumeNodeResources. + + Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded. # noqa: E501 + + :param count: The count of this V1VolumeNodeResources. # noqa: E501 + :type: int + """ + + self._count = count + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1VolumeNodeResources): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1VolumeNodeResources): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1_volume_projection.py b/kubernetes/client/models/v1_volume_projection.py index d9988dabe8..01d28f57c0 100644 --- a/kubernetes/client/models/v1_volume_projection.py +++ b/kubernetes/client/models/v1_volume_projection.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py index 2c78cb7da5..89ddf72657 100644 --- a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_watch_event.py b/kubernetes/client/models/v1_watch_event.py index 71688badf7..cabd1cd7fd 100644 --- a/kubernetes/client/models/v1_watch_event.py +++ b/kubernetes/client/models/v1_watch_event.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_webhook_conversion.py b/kubernetes/client/models/v1_webhook_conversion.py index 5b221882d4..c776635131 100644 --- a/kubernetes/client/models/v1_webhook_conversion.py +++ b/kubernetes/client/models/v1_webhook_conversion.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_weighted_pod_affinity_term.py b/kubernetes/client/models/v1_weighted_pod_affinity_term.py index 356c6b3a96..fb6cbf1a12 100644 --- a/kubernetes/client/models/v1_weighted_pod_affinity_term.py +++ b/kubernetes/client/models/v1_weighted_pod_affinity_term.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1_windows_security_context_options.py b/kubernetes/client/models/v1_windows_security_context_options.py index 807d0d2d38..dc15e9f639 100644 --- a/kubernetes/client/models/v1_windows_security_context_options.py +++ b/kubernetes/client/models/v1_windows_security_context_options.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -112,7 +112,7 @@ def gmsa_credential_spec_name(self, gmsa_credential_spec_name): def run_as_user_name(self): """Gets the run_as_user_name of this V1WindowsSecurityContextOptions. # noqa: E501 - The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag. # noqa: E501 + The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is beta-level and may be disabled with the WindowsRunAsUserName feature flag. # noqa: E501 :return: The run_as_user_name of this V1WindowsSecurityContextOptions. # noqa: E501 :rtype: str @@ -123,7 +123,7 @@ def run_as_user_name(self): def run_as_user_name(self, run_as_user_name): """Sets the run_as_user_name of this V1WindowsSecurityContextOptions. - The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag. # noqa: E501 + The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is beta-level and may be disabled with the WindowsRunAsUserName feature flag. # noqa: E501 :param run_as_user_name: The run_as_user_name of this V1WindowsSecurityContextOptions. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1alpha1_aggregation_rule.py b/kubernetes/client/models/v1alpha1_aggregation_rule.py index bc841ca486..e044f335d5 100644 --- a/kubernetes/client/models/v1alpha1_aggregation_rule.py +++ b/kubernetes/client/models/v1alpha1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_audit_sink.py b/kubernetes/client/models/v1alpha1_audit_sink.py index 66129e3c9f..2251020595 100644 --- a/kubernetes/client/models/v1alpha1_audit_sink.py +++ b/kubernetes/client/models/v1alpha1_audit_sink.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_audit_sink_list.py b/kubernetes/client/models/v1alpha1_audit_sink_list.py index 89743e2130..6ad771278b 100644 --- a/kubernetes/client/models/v1alpha1_audit_sink_list.py +++ b/kubernetes/client/models/v1alpha1_audit_sink_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_audit_sink_spec.py b/kubernetes/client/models/v1alpha1_audit_sink_spec.py index e50492b5d8..f8d6b06863 100644 --- a/kubernetes/client/models/v1alpha1_audit_sink_spec.py +++ b/kubernetes/client/models/v1alpha1_audit_sink_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role.py b/kubernetes/client/models/v1alpha1_cluster_role.py index b0f7d35854..63ccd70258 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role.py +++ b/kubernetes/client/models/v1alpha1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding.py b/kubernetes/client/models/v1alpha1_cluster_role_binding.py index 00a85f93c2..3d48f69012 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -37,7 +37,7 @@ class V1alpha1ClusterRoleBinding(object): 'kind': 'str', 'metadata': 'V1ObjectMeta', 'role_ref': 'V1alpha1RoleRef', - 'subjects': 'list[V1alpha1Subject]' + 'subjects': 'list[RbacV1alpha1Subject]' } attribute_map = { @@ -168,7 +168,7 @@ def subjects(self): Subjects holds references to the objects the role applies to. # noqa: E501 :return: The subjects of this V1alpha1ClusterRoleBinding. # noqa: E501 - :rtype: list[V1alpha1Subject] + :rtype: list[RbacV1alpha1Subject] """ return self._subjects @@ -179,7 +179,7 @@ def subjects(self, subjects): Subjects holds references to the objects the role applies to. # noqa: E501 :param subjects: The subjects of this V1alpha1ClusterRoleBinding. # noqa: E501 - :type: list[V1alpha1Subject] + :type: list[RbacV1alpha1Subject] """ self._subjects = subjects diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py index 461f81fc66..68dc42b603 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_list.py b/kubernetes/client/models/v1alpha1_cluster_role_list.py index 2cf9e45cc9..a49d3de502 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_flow_distinguisher_method.py b/kubernetes/client/models/v1alpha1_flow_distinguisher_method.py new file mode 100644 index 0000000000..5942484aa0 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_flow_distinguisher_method.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1FlowDistinguisherMethod(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'type': 'str' + } + + attribute_map = { + 'type': 'type' + } + + def __init__(self, type=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1FlowDistinguisherMethod - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._type = None + self.discriminator = None + + self.type = type + + @property + def type(self): + """Gets the type of this V1alpha1FlowDistinguisherMethod. # noqa: E501 + + `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. # noqa: E501 + + :return: The type of this V1alpha1FlowDistinguisherMethod. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1alpha1FlowDistinguisherMethod. + + `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. # noqa: E501 + + :param type: The type of this V1alpha1FlowDistinguisherMethod. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1FlowDistinguisherMethod): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1FlowDistinguisherMethod): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_flow_schema.py b/kubernetes/client/models/v1alpha1_flow_schema.py new file mode 100644 index 0000000000..9576d6fe5c --- /dev/null +++ b/kubernetes/client/models/v1alpha1_flow_schema.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1FlowSchema(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1alpha1FlowSchemaSpec', + 'status': 'V1alpha1FlowSchemaStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1FlowSchema - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1alpha1FlowSchema. # noqa: E501 + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1alpha1FlowSchema. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha1FlowSchema. + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1alpha1FlowSchema. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1alpha1FlowSchema. # noqa: E501 + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1alpha1FlowSchema. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha1FlowSchema. + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1alpha1FlowSchema. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha1FlowSchema. # noqa: E501 + + + :return: The metadata of this V1alpha1FlowSchema. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha1FlowSchema. + + + :param metadata: The metadata of this V1alpha1FlowSchema. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1alpha1FlowSchema. # noqa: E501 + + + :return: The spec of this V1alpha1FlowSchema. # noqa: E501 + :rtype: V1alpha1FlowSchemaSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1alpha1FlowSchema. + + + :param spec: The spec of this V1alpha1FlowSchema. # noqa: E501 + :type: V1alpha1FlowSchemaSpec + """ + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1alpha1FlowSchema. # noqa: E501 + + + :return: The status of this V1alpha1FlowSchema. # noqa: E501 + :rtype: V1alpha1FlowSchemaStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1alpha1FlowSchema. + + + :param status: The status of this V1alpha1FlowSchema. # noqa: E501 + :type: V1alpha1FlowSchemaStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1FlowSchema): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1FlowSchema): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_flow_schema_condition.py b/kubernetes/client/models/v1alpha1_flow_schema_condition.py new file mode 100644 index 0000000000..befde412b1 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_flow_schema_condition.py @@ -0,0 +1,234 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1FlowSchemaCondition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'last_transition_time': 'datetime', + 'message': 'str', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'message': 'message', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, last_transition_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1FlowSchemaCondition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._last_transition_time = None + self._message = None + self._reason = None + self._status = None + self._type = None + self.discriminator = None + + if last_transition_time is not None: + self.last_transition_time = last_transition_time + if message is not None: + self.message = message + if reason is not None: + self.reason = reason + if status is not None: + self.status = status + if type is not None: + self.type = type + + @property + def last_transition_time(self): + """Gets the last_transition_time of this V1alpha1FlowSchemaCondition. # noqa: E501 + + `lastTransitionTime` is the last time the condition transitioned from one status to another. # noqa: E501 + + :return: The last_transition_time of this V1alpha1FlowSchemaCondition. # noqa: E501 + :rtype: datetime + """ + return self._last_transition_time + + @last_transition_time.setter + def last_transition_time(self, last_transition_time): + """Sets the last_transition_time of this V1alpha1FlowSchemaCondition. + + `lastTransitionTime` is the last time the condition transitioned from one status to another. # noqa: E501 + + :param last_transition_time: The last_transition_time of this V1alpha1FlowSchemaCondition. # noqa: E501 + :type: datetime + """ + + self._last_transition_time = last_transition_time + + @property + def message(self): + """Gets the message of this V1alpha1FlowSchemaCondition. # noqa: E501 + + `message` is a human-readable message indicating details about last transition. # noqa: E501 + + :return: The message of this V1alpha1FlowSchemaCondition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1alpha1FlowSchemaCondition. + + `message` is a human-readable message indicating details about last transition. # noqa: E501 + + :param message: The message of this V1alpha1FlowSchemaCondition. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def reason(self): + """Gets the reason of this V1alpha1FlowSchemaCondition. # noqa: E501 + + `reason` is a unique, one-word, CamelCase reason for the condition's last transition. # noqa: E501 + + :return: The reason of this V1alpha1FlowSchemaCondition. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1alpha1FlowSchemaCondition. + + `reason` is a unique, one-word, CamelCase reason for the condition's last transition. # noqa: E501 + + :param reason: The reason of this V1alpha1FlowSchemaCondition. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def status(self): + """Gets the status of this V1alpha1FlowSchemaCondition. # noqa: E501 + + `status` is the status of the condition. Can be True, False, Unknown. Required. # noqa: E501 + + :return: The status of this V1alpha1FlowSchemaCondition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1alpha1FlowSchemaCondition. + + `status` is the status of the condition. Can be True, False, Unknown. Required. # noqa: E501 + + :param status: The status of this V1alpha1FlowSchemaCondition. # noqa: E501 + :type: str + """ + + self._status = status + + @property + def type(self): + """Gets the type of this V1alpha1FlowSchemaCondition. # noqa: E501 + + `type` is the type of the condition. Required. # noqa: E501 + + :return: The type of this V1alpha1FlowSchemaCondition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1alpha1FlowSchemaCondition. + + `type` is the type of the condition. Required. # noqa: E501 + + :param type: The type of this V1alpha1FlowSchemaCondition. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1FlowSchemaCondition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1FlowSchemaCondition): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_flow_schema_list.py b/kubernetes/client/models/v1alpha1_flow_schema_list.py new file mode 100644 index 0000000000..428071b85f --- /dev/null +++ b/kubernetes/client/models/v1alpha1_flow_schema_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1FlowSchemaList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1alpha1FlowSchema]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1FlowSchemaList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1alpha1FlowSchemaList. # noqa: E501 + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1alpha1FlowSchemaList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha1FlowSchemaList. + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1alpha1FlowSchemaList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1alpha1FlowSchemaList. # noqa: E501 + + `items` is a list of FlowSchemas. # noqa: E501 + + :return: The items of this V1alpha1FlowSchemaList. # noqa: E501 + :rtype: list[V1alpha1FlowSchema] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1alpha1FlowSchemaList. + + `items` is a list of FlowSchemas. # noqa: E501 + + :param items: The items of this V1alpha1FlowSchemaList. # noqa: E501 + :type: list[V1alpha1FlowSchema] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1alpha1FlowSchemaList. # noqa: E501 + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1alpha1FlowSchemaList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha1FlowSchemaList. + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1alpha1FlowSchemaList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha1FlowSchemaList. # noqa: E501 + + + :return: The metadata of this V1alpha1FlowSchemaList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha1FlowSchemaList. + + + :param metadata: The metadata of this V1alpha1FlowSchemaList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1FlowSchemaList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1FlowSchemaList): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_flow_schema_spec.py b/kubernetes/client/models/v1alpha1_flow_schema_spec.py new file mode 100644 index 0000000000..824a4b49fc --- /dev/null +++ b/kubernetes/client/models/v1alpha1_flow_schema_spec.py @@ -0,0 +1,203 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1FlowSchemaSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'distinguisher_method': 'V1alpha1FlowDistinguisherMethod', + 'matching_precedence': 'int', + 'priority_level_configuration': 'V1alpha1PriorityLevelConfigurationReference', + 'rules': 'list[V1alpha1PolicyRulesWithSubjects]' + } + + attribute_map = { + 'distinguisher_method': 'distinguisherMethod', + 'matching_precedence': 'matchingPrecedence', + 'priority_level_configuration': 'priorityLevelConfiguration', + 'rules': 'rules' + } + + def __init__(self, distinguisher_method=None, matching_precedence=None, priority_level_configuration=None, rules=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1FlowSchemaSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._distinguisher_method = None + self._matching_precedence = None + self._priority_level_configuration = None + self._rules = None + self.discriminator = None + + if distinguisher_method is not None: + self.distinguisher_method = distinguisher_method + if matching_precedence is not None: + self.matching_precedence = matching_precedence + self.priority_level_configuration = priority_level_configuration + if rules is not None: + self.rules = rules + + @property + def distinguisher_method(self): + """Gets the distinguisher_method of this V1alpha1FlowSchemaSpec. # noqa: E501 + + + :return: The distinguisher_method of this V1alpha1FlowSchemaSpec. # noqa: E501 + :rtype: V1alpha1FlowDistinguisherMethod + """ + return self._distinguisher_method + + @distinguisher_method.setter + def distinguisher_method(self, distinguisher_method): + """Sets the distinguisher_method of this V1alpha1FlowSchemaSpec. + + + :param distinguisher_method: The distinguisher_method of this V1alpha1FlowSchemaSpec. # noqa: E501 + :type: V1alpha1FlowDistinguisherMethod + """ + + self._distinguisher_method = distinguisher_method + + @property + def matching_precedence(self): + """Gets the matching_precedence of this V1alpha1FlowSchemaSpec. # noqa: E501 + + `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default. # noqa: E501 + + :return: The matching_precedence of this V1alpha1FlowSchemaSpec. # noqa: E501 + :rtype: int + """ + return self._matching_precedence + + @matching_precedence.setter + def matching_precedence(self, matching_precedence): + """Sets the matching_precedence of this V1alpha1FlowSchemaSpec. + + `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default. # noqa: E501 + + :param matching_precedence: The matching_precedence of this V1alpha1FlowSchemaSpec. # noqa: E501 + :type: int + """ + + self._matching_precedence = matching_precedence + + @property + def priority_level_configuration(self): + """Gets the priority_level_configuration of this V1alpha1FlowSchemaSpec. # noqa: E501 + + + :return: The priority_level_configuration of this V1alpha1FlowSchemaSpec. # noqa: E501 + :rtype: V1alpha1PriorityLevelConfigurationReference + """ + return self._priority_level_configuration + + @priority_level_configuration.setter + def priority_level_configuration(self, priority_level_configuration): + """Sets the priority_level_configuration of this V1alpha1FlowSchemaSpec. + + + :param priority_level_configuration: The priority_level_configuration of this V1alpha1FlowSchemaSpec. # noqa: E501 + :type: V1alpha1PriorityLevelConfigurationReference + """ + if self.local_vars_configuration.client_side_validation and priority_level_configuration is None: # noqa: E501 + raise ValueError("Invalid value for `priority_level_configuration`, must not be `None`") # noqa: E501 + + self._priority_level_configuration = priority_level_configuration + + @property + def rules(self): + """Gets the rules of this V1alpha1FlowSchemaSpec. # noqa: E501 + + `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema. # noqa: E501 + + :return: The rules of this V1alpha1FlowSchemaSpec. # noqa: E501 + :rtype: list[V1alpha1PolicyRulesWithSubjects] + """ + return self._rules + + @rules.setter + def rules(self, rules): + """Sets the rules of this V1alpha1FlowSchemaSpec. + + `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema. # noqa: E501 + + :param rules: The rules of this V1alpha1FlowSchemaSpec. # noqa: E501 + :type: list[V1alpha1PolicyRulesWithSubjects] + """ + + self._rules = rules + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1FlowSchemaSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1FlowSchemaSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_flow_schema_status.py b/kubernetes/client/models/v1alpha1_flow_schema_status.py new file mode 100644 index 0000000000..f016360c1a --- /dev/null +++ b/kubernetes/client/models/v1alpha1_flow_schema_status.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1FlowSchemaStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'conditions': 'list[V1alpha1FlowSchemaCondition]' + } + + attribute_map = { + 'conditions': 'conditions' + } + + def __init__(self, conditions=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1FlowSchemaStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._conditions = None + self.discriminator = None + + if conditions is not None: + self.conditions = conditions + + @property + def conditions(self): + """Gets the conditions of this V1alpha1FlowSchemaStatus. # noqa: E501 + + `conditions` is a list of the current states of FlowSchema. # noqa: E501 + + :return: The conditions of this V1alpha1FlowSchemaStatus. # noqa: E501 + :rtype: list[V1alpha1FlowSchemaCondition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1alpha1FlowSchemaStatus. + + `conditions` is a list of the current states of FlowSchema. # noqa: E501 + + :param conditions: The conditions of this V1alpha1FlowSchemaStatus. # noqa: E501 + :type: list[V1alpha1FlowSchemaCondition] + """ + + self._conditions = conditions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1FlowSchemaStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1FlowSchemaStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_group_subject.py b/kubernetes/client/models/v1alpha1_group_subject.py new file mode 100644 index 0000000000..455bd53bda --- /dev/null +++ b/kubernetes/client/models/v1alpha1_group_subject.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1GroupSubject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str' + } + + attribute_map = { + 'name': 'name' + } + + def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1GroupSubject - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self.discriminator = None + + self.name = name + + @property + def name(self): + """Gets the name of this V1alpha1GroupSubject. # noqa: E501 + + name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. # noqa: E501 + + :return: The name of this V1alpha1GroupSubject. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1alpha1GroupSubject. + + name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. # noqa: E501 + + :param name: The name of this V1alpha1GroupSubject. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1GroupSubject): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1GroupSubject): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_limit_response.py b/kubernetes/client/models/v1alpha1_limit_response.py new file mode 100644 index 0000000000..b82d0344be --- /dev/null +++ b/kubernetes/client/models/v1alpha1_limit_response.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1LimitResponse(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'queuing': 'V1alpha1QueuingConfiguration', + 'type': 'str' + } + + attribute_map = { + 'queuing': 'queuing', + 'type': 'type' + } + + def __init__(self, queuing=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1LimitResponse - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._queuing = None + self._type = None + self.discriminator = None + + if queuing is not None: + self.queuing = queuing + self.type = type + + @property + def queuing(self): + """Gets the queuing of this V1alpha1LimitResponse. # noqa: E501 + + + :return: The queuing of this V1alpha1LimitResponse. # noqa: E501 + :rtype: V1alpha1QueuingConfiguration + """ + return self._queuing + + @queuing.setter + def queuing(self, queuing): + """Sets the queuing of this V1alpha1LimitResponse. + + + :param queuing: The queuing of this V1alpha1LimitResponse. # noqa: E501 + :type: V1alpha1QueuingConfiguration + """ + + self._queuing = queuing + + @property + def type(self): + """Gets the type of this V1alpha1LimitResponse. # noqa: E501 + + `type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required. # noqa: E501 + + :return: The type of this V1alpha1LimitResponse. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1alpha1LimitResponse. + + `type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required. # noqa: E501 + + :param type: The type of this V1alpha1LimitResponse. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1LimitResponse): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1LimitResponse): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_limited_priority_level_configuration.py b/kubernetes/client/models/v1alpha1_limited_priority_level_configuration.py new file mode 100644 index 0000000000..9457d63f4e --- /dev/null +++ b/kubernetes/client/models/v1alpha1_limited_priority_level_configuration.py @@ -0,0 +1,148 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1LimitedPriorityLevelConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'assured_concurrency_shares': 'int', + 'limit_response': 'V1alpha1LimitResponse' + } + + attribute_map = { + 'assured_concurrency_shares': 'assuredConcurrencyShares', + 'limit_response': 'limitResponse' + } + + def __init__(self, assured_concurrency_shares=None, limit_response=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1LimitedPriorityLevelConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._assured_concurrency_shares = None + self._limit_response = None + self.discriminator = None + + if assured_concurrency_shares is not None: + self.assured_concurrency_shares = assured_concurrency_shares + if limit_response is not None: + self.limit_response = limit_response + + @property + def assured_concurrency_shares(self): + """Gets the assured_concurrency_shares of this V1alpha1LimitedPriorityLevelConfiguration. # noqa: E501 + + `assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level: ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30. # noqa: E501 + + :return: The assured_concurrency_shares of this V1alpha1LimitedPriorityLevelConfiguration. # noqa: E501 + :rtype: int + """ + return self._assured_concurrency_shares + + @assured_concurrency_shares.setter + def assured_concurrency_shares(self, assured_concurrency_shares): + """Sets the assured_concurrency_shares of this V1alpha1LimitedPriorityLevelConfiguration. + + `assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level: ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30. # noqa: E501 + + :param assured_concurrency_shares: The assured_concurrency_shares of this V1alpha1LimitedPriorityLevelConfiguration. # noqa: E501 + :type: int + """ + + self._assured_concurrency_shares = assured_concurrency_shares + + @property + def limit_response(self): + """Gets the limit_response of this V1alpha1LimitedPriorityLevelConfiguration. # noqa: E501 + + + :return: The limit_response of this V1alpha1LimitedPriorityLevelConfiguration. # noqa: E501 + :rtype: V1alpha1LimitResponse + """ + return self._limit_response + + @limit_response.setter + def limit_response(self, limit_response): + """Sets the limit_response of this V1alpha1LimitedPriorityLevelConfiguration. + + + :param limit_response: The limit_response of this V1alpha1LimitedPriorityLevelConfiguration. # noqa: E501 + :type: V1alpha1LimitResponse + """ + + self._limit_response = limit_response + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1LimitedPriorityLevelConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1LimitedPriorityLevelConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_non_resource_policy_rule.py b/kubernetes/client/models/v1alpha1_non_resource_policy_rule.py new file mode 100644 index 0000000000..acff6d8930 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_non_resource_policy_rule.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1NonResourcePolicyRule(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'non_resource_ur_ls': 'list[str]', + 'verbs': 'list[str]' + } + + attribute_map = { + 'non_resource_ur_ls': 'nonResourceURLs', + 'verbs': 'verbs' + } + + def __init__(self, non_resource_ur_ls=None, verbs=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1NonResourcePolicyRule - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._non_resource_ur_ls = None + self._verbs = None + self.discriminator = None + + self.non_resource_ur_ls = non_resource_ur_ls + self.verbs = verbs + + @property + def non_resource_ur_ls(self): + """Gets the non_resource_ur_ls of this V1alpha1NonResourcePolicyRule. # noqa: E501 + + `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - \"/healthz\" is legal - \"/hea*\" is illegal - \"/hea\" is legal but matches nothing - \"/hea/*\" also matches nothing - \"/healthz/*\" matches all per-component health checks. \"*\" matches all non-resource urls. if it is present, it must be the only entry. Required. # noqa: E501 + + :return: The non_resource_ur_ls of this V1alpha1NonResourcePolicyRule. # noqa: E501 + :rtype: list[str] + """ + return self._non_resource_ur_ls + + @non_resource_ur_ls.setter + def non_resource_ur_ls(self, non_resource_ur_ls): + """Sets the non_resource_ur_ls of this V1alpha1NonResourcePolicyRule. + + `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - \"/healthz\" is legal - \"/hea*\" is illegal - \"/hea\" is legal but matches nothing - \"/hea/*\" also matches nothing - \"/healthz/*\" matches all per-component health checks. \"*\" matches all non-resource urls. if it is present, it must be the only entry. Required. # noqa: E501 + + :param non_resource_ur_ls: The non_resource_ur_ls of this V1alpha1NonResourcePolicyRule. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and non_resource_ur_ls is None: # noqa: E501 + raise ValueError("Invalid value for `non_resource_ur_ls`, must not be `None`") # noqa: E501 + + self._non_resource_ur_ls = non_resource_ur_ls + + @property + def verbs(self): + """Gets the verbs of this V1alpha1NonResourcePolicyRule. # noqa: E501 + + `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required. # noqa: E501 + + :return: The verbs of this V1alpha1NonResourcePolicyRule. # noqa: E501 + :rtype: list[str] + """ + return self._verbs + + @verbs.setter + def verbs(self, verbs): + """Sets the verbs of this V1alpha1NonResourcePolicyRule. + + `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required. # noqa: E501 + + :param verbs: The verbs of this V1alpha1NonResourcePolicyRule. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and verbs is None: # noqa: E501 + raise ValueError("Invalid value for `verbs`, must not be `None`") # noqa: E501 + + self._verbs = verbs + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1NonResourcePolicyRule): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1NonResourcePolicyRule): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_overhead.py b/kubernetes/client/models/v1alpha1_overhead.py index a57c5e0286..dfb0455fb5 100644 --- a/kubernetes/client/models/v1alpha1_overhead.py +++ b/kubernetes/client/models/v1alpha1_overhead.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset.py b/kubernetes/client/models/v1alpha1_pod_preset.py index d049181018..95812248a6 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset.py +++ b/kubernetes/client/models/v1alpha1_pod_preset.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset_list.py b/kubernetes/client/models/v1alpha1_pod_preset_list.py index 73bc61e2f2..36b8915475 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset_list.py +++ b/kubernetes/client/models/v1alpha1_pod_preset_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_pod_preset_spec.py b/kubernetes/client/models/v1alpha1_pod_preset_spec.py index 4bd4a95c89..09c749edc6 100644 --- a/kubernetes/client/models/v1alpha1_pod_preset_spec.py +++ b/kubernetes/client/models/v1alpha1_pod_preset_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_policy.py b/kubernetes/client/models/v1alpha1_policy.py index a106902826..32718893c7 100644 --- a/kubernetes/client/models/v1alpha1_policy.py +++ b/kubernetes/client/models/v1alpha1_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_policy_rule.py b/kubernetes/client/models/v1alpha1_policy_rule.py index 08de36ba64..61dcbb8ea0 100644 --- a/kubernetes/client/models/v1alpha1_policy_rule.py +++ b/kubernetes/client/models/v1alpha1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_policy_rules_with_subjects.py b/kubernetes/client/models/v1alpha1_policy_rules_with_subjects.py new file mode 100644 index 0000000000..70122c37d7 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_policy_rules_with_subjects.py @@ -0,0 +1,179 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1PolicyRulesWithSubjects(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'non_resource_rules': 'list[V1alpha1NonResourcePolicyRule]', + 'resource_rules': 'list[V1alpha1ResourcePolicyRule]', + 'subjects': 'list[FlowcontrolV1alpha1Subject]' + } + + attribute_map = { + 'non_resource_rules': 'nonResourceRules', + 'resource_rules': 'resourceRules', + 'subjects': 'subjects' + } + + def __init__(self, non_resource_rules=None, resource_rules=None, subjects=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1PolicyRulesWithSubjects - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._non_resource_rules = None + self._resource_rules = None + self._subjects = None + self.discriminator = None + + if non_resource_rules is not None: + self.non_resource_rules = non_resource_rules + if resource_rules is not None: + self.resource_rules = resource_rules + self.subjects = subjects + + @property + def non_resource_rules(self): + """Gets the non_resource_rules of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + + `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL. # noqa: E501 + + :return: The non_resource_rules of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + :rtype: list[V1alpha1NonResourcePolicyRule] + """ + return self._non_resource_rules + + @non_resource_rules.setter + def non_resource_rules(self, non_resource_rules): + """Sets the non_resource_rules of this V1alpha1PolicyRulesWithSubjects. + + `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL. # noqa: E501 + + :param non_resource_rules: The non_resource_rules of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + :type: list[V1alpha1NonResourcePolicyRule] + """ + + self._non_resource_rules = non_resource_rules + + @property + def resource_rules(self): + """Gets the resource_rules of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + + `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty. # noqa: E501 + + :return: The resource_rules of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + :rtype: list[V1alpha1ResourcePolicyRule] + """ + return self._resource_rules + + @resource_rules.setter + def resource_rules(self, resource_rules): + """Sets the resource_rules of this V1alpha1PolicyRulesWithSubjects. + + `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty. # noqa: E501 + + :param resource_rules: The resource_rules of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + :type: list[V1alpha1ResourcePolicyRule] + """ + + self._resource_rules = resource_rules + + @property + def subjects(self): + """Gets the subjects of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + + subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required. # noqa: E501 + + :return: The subjects of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + :rtype: list[FlowcontrolV1alpha1Subject] + """ + return self._subjects + + @subjects.setter + def subjects(self, subjects): + """Sets the subjects of this V1alpha1PolicyRulesWithSubjects. + + subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required. # noqa: E501 + + :param subjects: The subjects of this V1alpha1PolicyRulesWithSubjects. # noqa: E501 + :type: list[FlowcontrolV1alpha1Subject] + """ + if self.local_vars_configuration.client_side_validation and subjects is None: # noqa: E501 + raise ValueError("Invalid value for `subjects`, must not be `None`") # noqa: E501 + + self._subjects = subjects + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1PolicyRulesWithSubjects): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1PolicyRulesWithSubjects): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_priority_class.py b/kubernetes/client/models/v1alpha1_priority_class.py index 41d394093d..ff795c00d8 100644 --- a/kubernetes/client/models/v1alpha1_priority_class.py +++ b/kubernetes/client/models/v1alpha1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_priority_class_list.py b/kubernetes/client/models/v1alpha1_priority_class_list.py index aab0a511d5..bc73f19a44 100644 --- a/kubernetes/client/models/v1alpha1_priority_class_list.py +++ b/kubernetes/client/models/v1alpha1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_priority_level_configuration.py b/kubernetes/client/models/v1alpha1_priority_level_configuration.py new file mode 100644 index 0000000000..e3545f152a --- /dev/null +++ b/kubernetes/client/models/v1alpha1_priority_level_configuration.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1PriorityLevelConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'kind': 'str', + 'metadata': 'V1ObjectMeta', + 'spec': 'V1alpha1PriorityLevelConfigurationSpec', + 'status': 'V1alpha1PriorityLevelConfigurationStatus' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'kind': 'kind', + 'metadata': 'metadata', + 'spec': 'spec', + 'status': 'status' + } + + def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1PriorityLevelConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._kind = None + self._metadata = None + self._spec = None + self._status = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + if spec is not None: + self.spec = spec + if status is not None: + self.status = status + + @property + def api_version(self): + """Gets the api_version of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha1PriorityLevelConfiguration. + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def kind(self): + """Gets the kind of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha1PriorityLevelConfiguration. + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + + + :return: The metadata of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :rtype: V1ObjectMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha1PriorityLevelConfiguration. + + + :param metadata: The metadata of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :type: V1ObjectMeta + """ + + self._metadata = metadata + + @property + def spec(self): + """Gets the spec of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + + + :return: The spec of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :rtype: V1alpha1PriorityLevelConfigurationSpec + """ + return self._spec + + @spec.setter + def spec(self, spec): + """Sets the spec of this V1alpha1PriorityLevelConfiguration. + + + :param spec: The spec of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :type: V1alpha1PriorityLevelConfigurationSpec + """ + + self._spec = spec + + @property + def status(self): + """Gets the status of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + + + :return: The status of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :rtype: V1alpha1PriorityLevelConfigurationStatus + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1alpha1PriorityLevelConfiguration. + + + :param status: The status of this V1alpha1PriorityLevelConfiguration. # noqa: E501 + :type: V1alpha1PriorityLevelConfigurationStatus + """ + + self._status = status + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1PriorityLevelConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1PriorityLevelConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_priority_level_configuration_condition.py b/kubernetes/client/models/v1alpha1_priority_level_configuration_condition.py new file mode 100644 index 0000000000..b9d160b163 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_priority_level_configuration_condition.py @@ -0,0 +1,234 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1PriorityLevelConfigurationCondition(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'last_transition_time': 'datetime', + 'message': 'str', + 'reason': 'str', + 'status': 'str', + 'type': 'str' + } + + attribute_map = { + 'last_transition_time': 'lastTransitionTime', + 'message': 'message', + 'reason': 'reason', + 'status': 'status', + 'type': 'type' + } + + def __init__(self, last_transition_time=None, message=None, reason=None, status=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1PriorityLevelConfigurationCondition - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._last_transition_time = None + self._message = None + self._reason = None + self._status = None + self._type = None + self.discriminator = None + + if last_transition_time is not None: + self.last_transition_time = last_transition_time + if message is not None: + self.message = message + if reason is not None: + self.reason = reason + if status is not None: + self.status = status + if type is not None: + self.type = type + + @property + def last_transition_time(self): + """Gets the last_transition_time of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + + `lastTransitionTime` is the last time the condition transitioned from one status to another. # noqa: E501 + + :return: The last_transition_time of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :rtype: datetime + """ + return self._last_transition_time + + @last_transition_time.setter + def last_transition_time(self, last_transition_time): + """Sets the last_transition_time of this V1alpha1PriorityLevelConfigurationCondition. + + `lastTransitionTime` is the last time the condition transitioned from one status to another. # noqa: E501 + + :param last_transition_time: The last_transition_time of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :type: datetime + """ + + self._last_transition_time = last_transition_time + + @property + def message(self): + """Gets the message of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + + `message` is a human-readable message indicating details about last transition. # noqa: E501 + + :return: The message of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this V1alpha1PriorityLevelConfigurationCondition. + + `message` is a human-readable message indicating details about last transition. # noqa: E501 + + :param message: The message of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :type: str + """ + + self._message = message + + @property + def reason(self): + """Gets the reason of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + + `reason` is a unique, one-word, CamelCase reason for the condition's last transition. # noqa: E501 + + :return: The reason of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :rtype: str + """ + return self._reason + + @reason.setter + def reason(self, reason): + """Sets the reason of this V1alpha1PriorityLevelConfigurationCondition. + + `reason` is a unique, one-word, CamelCase reason for the condition's last transition. # noqa: E501 + + :param reason: The reason of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :type: str + """ + + self._reason = reason + + @property + def status(self): + """Gets the status of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + + `status` is the status of the condition. Can be True, False, Unknown. Required. # noqa: E501 + + :return: The status of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :rtype: str + """ + return self._status + + @status.setter + def status(self, status): + """Sets the status of this V1alpha1PriorityLevelConfigurationCondition. + + `status` is the status of the condition. Can be True, False, Unknown. Required. # noqa: E501 + + :param status: The status of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :type: str + """ + + self._status = status + + @property + def type(self): + """Gets the type of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + + `type` is the type of the condition. Required. # noqa: E501 + + :return: The type of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1alpha1PriorityLevelConfigurationCondition. + + `type` is the type of the condition. Required. # noqa: E501 + + :param type: The type of this V1alpha1PriorityLevelConfigurationCondition. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationCondition): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationCondition): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_priority_level_configuration_list.py b/kubernetes/client/models/v1alpha1_priority_level_configuration_list.py new file mode 100644 index 0000000000..9a7805ee16 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_priority_level_configuration_list.py @@ -0,0 +1,205 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1PriorityLevelConfigurationList(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_version': 'str', + 'items': 'list[V1alpha1PriorityLevelConfiguration]', + 'kind': 'str', + 'metadata': 'V1ListMeta' + } + + attribute_map = { + 'api_version': 'apiVersion', + 'items': 'items', + 'kind': 'kind', + 'metadata': 'metadata' + } + + def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1PriorityLevelConfigurationList - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_version = None + self._items = None + self._kind = None + self._metadata = None + self.discriminator = None + + if api_version is not None: + self.api_version = api_version + self.items = items + if kind is not None: + self.kind = kind + if metadata is not None: + self.metadata = metadata + + @property + def api_version(self): + """Gets the api_version of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :return: The api_version of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + :rtype: str + """ + return self._api_version + + @api_version.setter + def api_version(self, api_version): + """Sets the api_version of this V1alpha1PriorityLevelConfigurationList. + + 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/sig-architecture/api-conventions.md#resources # noqa: E501 + + :param api_version: The api_version of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + :type: str + """ + + self._api_version = api_version + + @property + def items(self): + """Gets the items of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + + `items` is a list of request-priorities. # noqa: E501 + + :return: The items of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + :rtype: list[V1alpha1PriorityLevelConfiguration] + """ + return self._items + + @items.setter + def items(self, items): + """Sets the items of this V1alpha1PriorityLevelConfigurationList. + + `items` is a list of request-priorities. # noqa: E501 + + :param items: The items of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + :type: list[V1alpha1PriorityLevelConfiguration] + """ + if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 + raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 + + self._items = items + + @property + def kind(self): + """Gets the kind of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :return: The kind of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + :rtype: str + """ + return self._kind + + @kind.setter + def kind(self, kind): + """Sets the kind of this V1alpha1PriorityLevelConfigurationList. + + 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 + + :param kind: The kind of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + :type: str + """ + + self._kind = kind + + @property + def metadata(self): + """Gets the metadata of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + + + :return: The metadata of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + :rtype: V1ListMeta + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this V1alpha1PriorityLevelConfigurationList. + + + :param metadata: The metadata of this V1alpha1PriorityLevelConfigurationList. # noqa: E501 + :type: V1ListMeta + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationList): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationList): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_priority_level_configuration_reference.py b/kubernetes/client/models/v1alpha1_priority_level_configuration_reference.py new file mode 100644 index 0000000000..cdf3d9be06 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_priority_level_configuration_reference.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1PriorityLevelConfigurationReference(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str' + } + + attribute_map = { + 'name': 'name' + } + + def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1PriorityLevelConfigurationReference - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self.discriminator = None + + self.name = name + + @property + def name(self): + """Gets the name of this V1alpha1PriorityLevelConfigurationReference. # noqa: E501 + + `name` is the name of the priority level configuration being referenced Required. # noqa: E501 + + :return: The name of this V1alpha1PriorityLevelConfigurationReference. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1alpha1PriorityLevelConfigurationReference. + + `name` is the name of the priority level configuration being referenced Required. # noqa: E501 + + :param name: The name of this V1alpha1PriorityLevelConfigurationReference. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationReference): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationReference): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_priority_level_configuration_spec.py b/kubernetes/client/models/v1alpha1_priority_level_configuration_spec.py new file mode 100644 index 0000000000..c1e098de6d --- /dev/null +++ b/kubernetes/client/models/v1alpha1_priority_level_configuration_spec.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1PriorityLevelConfigurationSpec(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'limited': 'V1alpha1LimitedPriorityLevelConfiguration', + 'type': 'str' + } + + attribute_map = { + 'limited': 'limited', + 'type': 'type' + } + + def __init__(self, limited=None, type=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1PriorityLevelConfigurationSpec - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._limited = None + self._type = None + self.discriminator = None + + if limited is not None: + self.limited = limited + self.type = type + + @property + def limited(self): + """Gets the limited of this V1alpha1PriorityLevelConfigurationSpec. # noqa: E501 + + + :return: The limited of this V1alpha1PriorityLevelConfigurationSpec. # noqa: E501 + :rtype: V1alpha1LimitedPriorityLevelConfiguration + """ + return self._limited + + @limited.setter + def limited(self, limited): + """Sets the limited of this V1alpha1PriorityLevelConfigurationSpec. + + + :param limited: The limited of this V1alpha1PriorityLevelConfigurationSpec. # noqa: E501 + :type: V1alpha1LimitedPriorityLevelConfiguration + """ + + self._limited = limited + + @property + def type(self): + """Gets the type of this V1alpha1PriorityLevelConfigurationSpec. # noqa: E501 + + `type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required. # noqa: E501 + + :return: The type of this V1alpha1PriorityLevelConfigurationSpec. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this V1alpha1PriorityLevelConfigurationSpec. + + `type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required. # noqa: E501 + + :param type: The type of this V1alpha1PriorityLevelConfigurationSpec. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and type is None: # noqa: E501 + raise ValueError("Invalid value for `type`, must not be `None`") # noqa: E501 + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationSpec): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationSpec): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_priority_level_configuration_status.py b/kubernetes/client/models/v1alpha1_priority_level_configuration_status.py new file mode 100644 index 0000000000..8e216bc607 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_priority_level_configuration_status.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1PriorityLevelConfigurationStatus(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'conditions': 'list[V1alpha1PriorityLevelConfigurationCondition]' + } + + attribute_map = { + 'conditions': 'conditions' + } + + def __init__(self, conditions=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1PriorityLevelConfigurationStatus - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._conditions = None + self.discriminator = None + + if conditions is not None: + self.conditions = conditions + + @property + def conditions(self): + """Gets the conditions of this V1alpha1PriorityLevelConfigurationStatus. # noqa: E501 + + `conditions` is the current state of \"request-priority\". # noqa: E501 + + :return: The conditions of this V1alpha1PriorityLevelConfigurationStatus. # noqa: E501 + :rtype: list[V1alpha1PriorityLevelConfigurationCondition] + """ + return self._conditions + + @conditions.setter + def conditions(self, conditions): + """Sets the conditions of this V1alpha1PriorityLevelConfigurationStatus. + + `conditions` is the current state of \"request-priority\". # noqa: E501 + + :param conditions: The conditions of this V1alpha1PriorityLevelConfigurationStatus. # noqa: E501 + :type: list[V1alpha1PriorityLevelConfigurationCondition] + """ + + self._conditions = conditions + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationStatus): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1PriorityLevelConfigurationStatus): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_queuing_configuration.py b/kubernetes/client/models/v1alpha1_queuing_configuration.py new file mode 100644 index 0000000000..9dee9064db --- /dev/null +++ b/kubernetes/client/models/v1alpha1_queuing_configuration.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1QueuingConfiguration(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'hand_size': 'int', + 'queue_length_limit': 'int', + 'queues': 'int' + } + + attribute_map = { + 'hand_size': 'handSize', + 'queue_length_limit': 'queueLengthLimit', + 'queues': 'queues' + } + + def __init__(self, hand_size=None, queue_length_limit=None, queues=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1QueuingConfiguration - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._hand_size = None + self._queue_length_limit = None + self._queues = None + self.discriminator = None + + if hand_size is not None: + self.hand_size = hand_size + if queue_length_limit is not None: + self.queue_length_limit = queue_length_limit + if queues is not None: + self.queues = queues + + @property + def hand_size(self): + """Gets the hand_size of this V1alpha1QueuingConfiguration. # noqa: E501 + + `handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8. # noqa: E501 + + :return: The hand_size of this V1alpha1QueuingConfiguration. # noqa: E501 + :rtype: int + """ + return self._hand_size + + @hand_size.setter + def hand_size(self, hand_size): + """Sets the hand_size of this V1alpha1QueuingConfiguration. + + `handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8. # noqa: E501 + + :param hand_size: The hand_size of this V1alpha1QueuingConfiguration. # noqa: E501 + :type: int + """ + + self._hand_size = hand_size + + @property + def queue_length_limit(self): + """Gets the queue_length_limit of this V1alpha1QueuingConfiguration. # noqa: E501 + + `queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50. # noqa: E501 + + :return: The queue_length_limit of this V1alpha1QueuingConfiguration. # noqa: E501 + :rtype: int + """ + return self._queue_length_limit + + @queue_length_limit.setter + def queue_length_limit(self, queue_length_limit): + """Sets the queue_length_limit of this V1alpha1QueuingConfiguration. + + `queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50. # noqa: E501 + + :param queue_length_limit: The queue_length_limit of this V1alpha1QueuingConfiguration. # noqa: E501 + :type: int + """ + + self._queue_length_limit = queue_length_limit + + @property + def queues(self): + """Gets the queues of this V1alpha1QueuingConfiguration. # noqa: E501 + + `queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64. # noqa: E501 + + :return: The queues of this V1alpha1QueuingConfiguration. # noqa: E501 + :rtype: int + """ + return self._queues + + @queues.setter + def queues(self, queues): + """Sets the queues of this V1alpha1QueuingConfiguration. + + `queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64. # noqa: E501 + + :param queues: The queues of this V1alpha1QueuingConfiguration. # noqa: E501 + :type: int + """ + + self._queues = queues + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1QueuingConfiguration): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1QueuingConfiguration): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_resource_policy_rule.py b/kubernetes/client/models/v1alpha1_resource_policy_rule.py new file mode 100644 index 0000000000..29732fd206 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_resource_policy_rule.py @@ -0,0 +1,237 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1ResourcePolicyRule(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'api_groups': 'list[str]', + 'cluster_scope': 'bool', + 'namespaces': 'list[str]', + 'resources': 'list[str]', + 'verbs': 'list[str]' + } + + attribute_map = { + 'api_groups': 'apiGroups', + 'cluster_scope': 'clusterScope', + 'namespaces': 'namespaces', + 'resources': 'resources', + 'verbs': 'verbs' + } + + def __init__(self, api_groups=None, cluster_scope=None, namespaces=None, resources=None, verbs=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1ResourcePolicyRule - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._api_groups = None + self._cluster_scope = None + self._namespaces = None + self._resources = None + self._verbs = None + self.discriminator = None + + self.api_groups = api_groups + if cluster_scope is not None: + self.cluster_scope = cluster_scope + if namespaces is not None: + self.namespaces = namespaces + self.resources = resources + self.verbs = verbs + + @property + def api_groups(self): + """Gets the api_groups of this V1alpha1ResourcePolicyRule. # noqa: E501 + + `apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required. # noqa: E501 + + :return: The api_groups of this V1alpha1ResourcePolicyRule. # noqa: E501 + :rtype: list[str] + """ + return self._api_groups + + @api_groups.setter + def api_groups(self, api_groups): + """Sets the api_groups of this V1alpha1ResourcePolicyRule. + + `apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required. # noqa: E501 + + :param api_groups: The api_groups of this V1alpha1ResourcePolicyRule. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and api_groups is None: # noqa: E501 + raise ValueError("Invalid value for `api_groups`, must not be `None`") # noqa: E501 + + self._api_groups = api_groups + + @property + def cluster_scope(self): + """Gets the cluster_scope of this V1alpha1ResourcePolicyRule. # noqa: E501 + + `clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list. # noqa: E501 + + :return: The cluster_scope of this V1alpha1ResourcePolicyRule. # noqa: E501 + :rtype: bool + """ + return self._cluster_scope + + @cluster_scope.setter + def cluster_scope(self, cluster_scope): + """Sets the cluster_scope of this V1alpha1ResourcePolicyRule. + + `clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list. # noqa: E501 + + :param cluster_scope: The cluster_scope of this V1alpha1ResourcePolicyRule. # noqa: E501 + :type: bool + """ + + self._cluster_scope = cluster_scope + + @property + def namespaces(self): + """Gets the namespaces of this V1alpha1ResourcePolicyRule. # noqa: E501 + + `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true. # noqa: E501 + + :return: The namespaces of this V1alpha1ResourcePolicyRule. # noqa: E501 + :rtype: list[str] + """ + return self._namespaces + + @namespaces.setter + def namespaces(self, namespaces): + """Sets the namespaces of this V1alpha1ResourcePolicyRule. + + `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true. # noqa: E501 + + :param namespaces: The namespaces of this V1alpha1ResourcePolicyRule. # noqa: E501 + :type: list[str] + """ + + self._namespaces = namespaces + + @property + def resources(self): + """Gets the resources of this V1alpha1ResourcePolicyRule. # noqa: E501 + + `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required. # noqa: E501 + + :return: The resources of this V1alpha1ResourcePolicyRule. # noqa: E501 + :rtype: list[str] + """ + return self._resources + + @resources.setter + def resources(self, resources): + """Sets the resources of this V1alpha1ResourcePolicyRule. + + `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required. # noqa: E501 + + :param resources: The resources of this V1alpha1ResourcePolicyRule. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and resources is None: # noqa: E501 + raise ValueError("Invalid value for `resources`, must not be `None`") # noqa: E501 + + self._resources = resources + + @property + def verbs(self): + """Gets the verbs of this V1alpha1ResourcePolicyRule. # noqa: E501 + + `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required. # noqa: E501 + + :return: The verbs of this V1alpha1ResourcePolicyRule. # noqa: E501 + :rtype: list[str] + """ + return self._verbs + + @verbs.setter + def verbs(self, verbs): + """Sets the verbs of this V1alpha1ResourcePolicyRule. + + `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required. # noqa: E501 + + :param verbs: The verbs of this V1alpha1ResourcePolicyRule. # noqa: E501 + :type: list[str] + """ + if self.local_vars_configuration.client_side_validation and verbs is None: # noqa: E501 + raise ValueError("Invalid value for `verbs`, must not be `None`") # noqa: E501 + + self._verbs = verbs + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1ResourcePolicyRule): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1ResourcePolicyRule): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_role.py b/kubernetes/client/models/v1alpha1_role.py index b16c55b9e5..016c73ca9f 100644 --- a/kubernetes/client/models/v1alpha1_role.py +++ b/kubernetes/client/models/v1alpha1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_role_binding.py b/kubernetes/client/models/v1alpha1_role_binding.py index 94ce36c346..7afe489a59 100644 --- a/kubernetes/client/models/v1alpha1_role_binding.py +++ b/kubernetes/client/models/v1alpha1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -37,7 +37,7 @@ class V1alpha1RoleBinding(object): 'kind': 'str', 'metadata': 'V1ObjectMeta', 'role_ref': 'V1alpha1RoleRef', - 'subjects': 'list[V1alpha1Subject]' + 'subjects': 'list[RbacV1alpha1Subject]' } attribute_map = { @@ -168,7 +168,7 @@ def subjects(self): Subjects holds references to the objects the role applies to. # noqa: E501 :return: The subjects of this V1alpha1RoleBinding. # noqa: E501 - :rtype: list[V1alpha1Subject] + :rtype: list[RbacV1alpha1Subject] """ return self._subjects @@ -179,7 +179,7 @@ def subjects(self, subjects): Subjects holds references to the objects the role applies to. # noqa: E501 :param subjects: The subjects of this V1alpha1RoleBinding. # noqa: E501 - :type: list[V1alpha1Subject] + :type: list[RbacV1alpha1Subject] """ self._subjects = subjects diff --git a/kubernetes/client/models/v1alpha1_role_binding_list.py b/kubernetes/client/models/v1alpha1_role_binding_list.py index 2770a486b7..9067502713 100644 --- a/kubernetes/client/models/v1alpha1_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_role_list.py b/kubernetes/client/models/v1alpha1_role_list.py index a6a431c02b..250bd82857 100644 --- a/kubernetes/client/models/v1alpha1_role_list.py +++ b/kubernetes/client/models/v1alpha1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_role_ref.py b/kubernetes/client/models/v1alpha1_role_ref.py index 161ae022dc..36bb0c8f75 100644 --- a/kubernetes/client/models/v1alpha1_role_ref.py +++ b/kubernetes/client/models/v1alpha1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_runtime_class.py b/kubernetes/client/models/v1alpha1_runtime_class.py index 3c28846485..78532fd3d7 100644 --- a/kubernetes/client/models/v1alpha1_runtime_class.py +++ b/kubernetes/client/models/v1alpha1_runtime_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_runtime_class_list.py b/kubernetes/client/models/v1alpha1_runtime_class_list.py index da10ef75a8..9c8e426713 100644 --- a/kubernetes/client/models/v1alpha1_runtime_class_list.py +++ b/kubernetes/client/models/v1alpha1_runtime_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_runtime_class_spec.py b/kubernetes/client/models/v1alpha1_runtime_class_spec.py index 550354a66d..878dfcab0b 100644 --- a/kubernetes/client/models/v1alpha1_runtime_class_spec.py +++ b/kubernetes/client/models/v1alpha1_runtime_class_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_scheduling.py b/kubernetes/client/models/v1alpha1_scheduling.py index 6ce3bcf1e0..1852b20e8a 100644 --- a/kubernetes/client/models/v1alpha1_scheduling.py +++ b/kubernetes/client/models/v1alpha1_scheduling.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_service_account_subject.py b/kubernetes/client/models/v1alpha1_service_account_subject.py new file mode 100644 index 0000000000..c5d17b3ba8 --- /dev/null +++ b/kubernetes/client/models/v1alpha1_service_account_subject.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1ServiceAccountSubject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str', + 'namespace': 'str' + } + + attribute_map = { + 'name': 'name', + 'namespace': 'namespace' + } + + def __init__(self, name=None, namespace=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1ServiceAccountSubject - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self._namespace = None + self.discriminator = None + + self.name = name + self.namespace = namespace + + @property + def name(self): + """Gets the name of this V1alpha1ServiceAccountSubject. # noqa: E501 + + `name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. # noqa: E501 + + :return: The name of this V1alpha1ServiceAccountSubject. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1alpha1ServiceAccountSubject. + + `name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. # noqa: E501 + + :param name: The name of this V1alpha1ServiceAccountSubject. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + @property + def namespace(self): + """Gets the namespace of this V1alpha1ServiceAccountSubject. # noqa: E501 + + `namespace` is the namespace of matching ServiceAccount objects. Required. # noqa: E501 + + :return: The namespace of this V1alpha1ServiceAccountSubject. # noqa: E501 + :rtype: str + """ + return self._namespace + + @namespace.setter + def namespace(self, namespace): + """Sets the namespace of this V1alpha1ServiceAccountSubject. + + `namespace` is the namespace of matching ServiceAccount objects. Required. # noqa: E501 + + :param namespace: The namespace of this V1alpha1ServiceAccountSubject. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and namespace is None: # noqa: E501 + raise ValueError("Invalid value for `namespace`, must not be `None`") # noqa: E501 + + self._namespace = namespace + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1ServiceAccountSubject): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1ServiceAccountSubject): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_service_reference.py b/kubernetes/client/models/v1alpha1_service_reference.py index c79a91c55e..78c72031aa 100644 --- a/kubernetes/client/models/v1alpha1_service_reference.py +++ b/kubernetes/client/models/v1alpha1_service_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_user_subject.py b/kubernetes/client/models/v1alpha1_user_subject.py new file mode 100644 index 0000000000..bf024f428e --- /dev/null +++ b/kubernetes/client/models/v1alpha1_user_subject.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +import pprint +import re # noqa: F401 + +import six + +from kubernetes.client.configuration import Configuration + + +class V1alpha1UserSubject(object): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + """ + Attributes: + openapi_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + openapi_types = { + 'name': 'str' + } + + attribute_map = { + 'name': 'name' + } + + def __init__(self, name=None, local_vars_configuration=None): # noqa: E501 + """V1alpha1UserSubject - a model defined in OpenAPI""" # noqa: E501 + if local_vars_configuration is None: + local_vars_configuration = Configuration() + self.local_vars_configuration = local_vars_configuration + + self._name = None + self.discriminator = None + + self.name = name + + @property + def name(self): + """Gets the name of this V1alpha1UserSubject. # noqa: E501 + + `name` is the username that matches, or \"*\" to match all usernames. Required. # noqa: E501 + + :return: The name of this V1alpha1UserSubject. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this V1alpha1UserSubject. + + `name` is the username that matches, or \"*\" to match all usernames. Required. # noqa: E501 + + :param name: The name of this V1alpha1UserSubject. # noqa: E501 + :type: str + """ + if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501 + raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501 + + self._name = name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.openapi_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V1alpha1UserSubject): + return False + + return self.to_dict() == other.to_dict() + + def __ne__(self, other): + """Returns true if both objects are not equal""" + if not isinstance(other, V1alpha1UserSubject): + return True + + return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_volume_attachment.py b/kubernetes/client/models/v1alpha1_volume_attachment.py index b6fcb5957e..de180be1e2 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_list.py b/kubernetes/client/models/v1alpha1_volume_attachment_list.py index 48724fb75c..4ec47b558b 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_list.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_source.py b/kubernetes/client/models/v1alpha1_volume_attachment_source.py index 6f0ae25d59..f4332875f9 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_source.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_spec.py b/kubernetes/client/models/v1alpha1_volume_attachment_spec.py index 174ff2e506..dd24553292 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_volume_attachment_status.py b/kubernetes/client/models/v1alpha1_volume_attachment_status.py index d042cc65c0..320c67f12a 100644 --- a/kubernetes/client/models/v1alpha1_volume_attachment_status.py +++ b/kubernetes/client/models/v1alpha1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_volume_error.py b/kubernetes/client/models/v1alpha1_volume_error.py index 3ce1adb580..734d12228b 100644 --- a/kubernetes/client/models/v1alpha1_volume_error.py +++ b/kubernetes/client/models/v1alpha1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_webhook.py b/kubernetes/client/models/v1alpha1_webhook.py index 64ed161880..8571ff5143 100644 --- a/kubernetes/client/models/v1alpha1_webhook.py +++ b/kubernetes/client/models/v1alpha1_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_webhook_client_config.py b/kubernetes/client/models/v1alpha1_webhook_client_config.py index 927b372f1f..0f58377148 100644 --- a/kubernetes/client/models/v1alpha1_webhook_client_config.py +++ b/kubernetes/client/models/v1alpha1_webhook_client_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_webhook_throttle_config.py b/kubernetes/client/models/v1alpha1_webhook_throttle_config.py index 442ad6c74c..3c52289ad1 100644 --- a/kubernetes/client/models/v1alpha1_webhook_throttle_config.py +++ b/kubernetes/client/models/v1alpha1_webhook_throttle_config.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_aggregation_rule.py b/kubernetes/client/models/v1beta1_aggregation_rule.py index 3a75caa471..0e0da3dcd1 100644 --- a/kubernetes/client/models/v1beta1_aggregation_rule.py +++ b/kubernetes/client/models/v1beta1_aggregation_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_api_service.py b/kubernetes/client/models/v1beta1_api_service.py index 865a4d23ef..f88322a10f 100644 --- a/kubernetes/client/models/v1beta1_api_service.py +++ b/kubernetes/client/models/v1beta1_api_service.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_api_service_condition.py b/kubernetes/client/models/v1beta1_api_service_condition.py index 92668f6a6b..81c54e0346 100644 --- a/kubernetes/client/models/v1beta1_api_service_condition.py +++ b/kubernetes/client/models/v1beta1_api_service_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_api_service_list.py b/kubernetes/client/models/v1beta1_api_service_list.py index 37c8085870..dd401e29d5 100644 --- a/kubernetes/client/models/v1beta1_api_service_list.py +++ b/kubernetes/client/models/v1beta1_api_service_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_api_service_spec.py b/kubernetes/client/models/v1beta1_api_service_spec.py index 025d339b28..90a099dc99 100644 --- a/kubernetes/client/models/v1beta1_api_service_spec.py +++ b/kubernetes/client/models/v1beta1_api_service_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_api_service_status.py b/kubernetes/client/models/v1beta1_api_service_status.py index 54e8913e7b..52bf95e493 100644 --- a/kubernetes/client/models/v1beta1_api_service_status.py +++ b/kubernetes/client/models/v1beta1_api_service_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request.py b/kubernetes/client/models/v1beta1_certificate_signing_request.py index 57942287da..5b07df4a05 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py b/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py index a6c1eb9207..b962cde8d9 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_list.py b/kubernetes/client/models/v1beta1_certificate_signing_request_list.py index fd8fbe6776..3dec744b7b 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_list.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py b/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py index 2d38682c7d..86132f1df8 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_certificate_signing_request_status.py b/kubernetes/client/models/v1beta1_certificate_signing_request_status.py index f17dfd8b87..efdb09aa3d 100644 --- a/kubernetes/client/models/v1beta1_certificate_signing_request_status.py +++ b/kubernetes/client/models/v1beta1_certificate_signing_request_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_cluster_role.py b/kubernetes/client/models/v1beta1_cluster_role.py index 219a839f1d..1d868595f2 100644 --- a/kubernetes/client/models/v1beta1_cluster_role.py +++ b/kubernetes/client/models/v1beta1_cluster_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_cluster_role_binding.py b/kubernetes/client/models/v1beta1_cluster_role_binding.py index 3875464b33..75988bda13 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_binding.py +++ b/kubernetes/client/models/v1beta1_cluster_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_cluster_role_binding_list.py b/kubernetes/client/models/v1beta1_cluster_role_binding_list.py index 013f400a6c..3153b5b4d4 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1beta1_cluster_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_cluster_role_list.py b/kubernetes/client/models/v1beta1_cluster_role_list.py index 035f0bd05e..903348b568 100644 --- a/kubernetes/client/models/v1beta1_cluster_role_list.py +++ b/kubernetes/client/models/v1beta1_cluster_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_controller_revision.py b/kubernetes/client/models/v1beta1_controller_revision.py index a98676d0a3..a37ee845ed 100644 --- a/kubernetes/client/models/v1beta1_controller_revision.py +++ b/kubernetes/client/models/v1beta1_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_controller_revision_list.py b/kubernetes/client/models/v1beta1_controller_revision_list.py index d665cf450e..1deccba7e8 100644 --- a/kubernetes/client/models/v1beta1_controller_revision_list.py +++ b/kubernetes/client/models/v1beta1_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_cron_job.py b/kubernetes/client/models/v1beta1_cron_job.py index 64c523219b..8ee9c223ab 100644 --- a/kubernetes/client/models/v1beta1_cron_job.py +++ b/kubernetes/client/models/v1beta1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_cron_job_list.py b/kubernetes/client/models/v1beta1_cron_job_list.py index 8d7ec0929b..ee71a9a59a 100644 --- a/kubernetes/client/models/v1beta1_cron_job_list.py +++ b/kubernetes/client/models/v1beta1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_cron_job_spec.py b/kubernetes/client/models/v1beta1_cron_job_spec.py index fb298548d0..fd49df2e08 100644 --- a/kubernetes/client/models/v1beta1_cron_job_spec.py +++ b/kubernetes/client/models/v1beta1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_cron_job_status.py b/kubernetes/client/models/v1beta1_cron_job_status.py index 600ff43130..617886f0cd 100644 --- a/kubernetes/client/models/v1beta1_cron_job_status.py +++ b/kubernetes/client/models/v1beta1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_csi_driver.py b/kubernetes/client/models/v1beta1_csi_driver.py index 06091abb8c..9ada5eb076 100644 --- a/kubernetes/client/models/v1beta1_csi_driver.py +++ b/kubernetes/client/models/v1beta1_csi_driver.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_csi_driver_list.py b/kubernetes/client/models/v1beta1_csi_driver_list.py index 72cc1d65c6..84a129211e 100644 --- a/kubernetes/client/models/v1beta1_csi_driver_list.py +++ b/kubernetes/client/models/v1beta1_csi_driver_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_csi_driver_spec.py b/kubernetes/client/models/v1beta1_csi_driver_spec.py index 281fb948d3..21456ec6ae 100644 --- a/kubernetes/client/models/v1beta1_csi_driver_spec.py +++ b/kubernetes/client/models/v1beta1_csi_driver_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_csi_node.py b/kubernetes/client/models/v1beta1_csi_node.py index c2bd60a364..df35239dad 100644 --- a/kubernetes/client/models/v1beta1_csi_node.py +++ b/kubernetes/client/models/v1beta1_csi_node.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_csi_node_driver.py b/kubernetes/client/models/v1beta1_csi_node_driver.py index 9456f5a37d..74b8edb1c8 100644 --- a/kubernetes/client/models/v1beta1_csi_node_driver.py +++ b/kubernetes/client/models/v1beta1_csi_node_driver.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_csi_node_list.py b/kubernetes/client/models/v1beta1_csi_node_list.py index b06a8108e5..93e1d7ae04 100644 --- a/kubernetes/client/models/v1beta1_csi_node_list.py +++ b/kubernetes/client/models/v1beta1_csi_node_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_csi_node_spec.py b/kubernetes/client/models/v1beta1_csi_node_spec.py index 4c7d030bde..86c017f8a9 100644 --- a/kubernetes/client/models/v1beta1_csi_node_spec.py +++ b/kubernetes/client/models/v1beta1_csi_node_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_column_definition.py b/kubernetes/client/models/v1beta1_custom_resource_column_definition.py index 06e4a0bb7a..9d3f35dfae 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_column_definition.py +++ b/kubernetes/client/models/v1beta1_custom_resource_column_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_conversion.py b/kubernetes/client/models/v1beta1_custom_resource_conversion.py index 4aeb04adaa..0817a54d7c 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_conversion.py +++ b/kubernetes/client/models/v1beta1_custom_resource_conversion.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition.py b/kubernetes/client/models/v1beta1_custom_resource_definition.py index 19cd71b86a..6858ac7147 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py b/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py index 1fa3f26e3f..044bf7233e 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_list.py b/kubernetes/client/models/v1beta1_custom_resource_definition_list.py index 42d2382627..a5f1e6073b 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_list.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_names.py b/kubernetes/client/models/v1beta1_custom_resource_definition_names.py index 9a9ef392b4..58eddc7c9c 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_names.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_names.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py b/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py index cdd1e82930..cdde7b11e5 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_status.py b/kubernetes/client/models/v1beta1_custom_resource_definition_status.py index a51769ec67..a715347639 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_status.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_definition_version.py b/kubernetes/client/models/v1beta1_custom_resource_definition_version.py index dab4bf8148..a344cc239a 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_definition_version.py +++ b/kubernetes/client/models/v1beta1_custom_resource_definition_version.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py b/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py index 0cf523100d..ad1462724e 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py +++ b/kubernetes/client/models/v1beta1_custom_resource_subresource_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_subresources.py b/kubernetes/client/models/v1beta1_custom_resource_subresources.py index 2be81e3281..4d66726d0c 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_subresources.py +++ b/kubernetes/client/models/v1beta1_custom_resource_subresources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_custom_resource_validation.py b/kubernetes/client/models/v1beta1_custom_resource_validation.py index 2b180b0880..152be268f5 100644 --- a/kubernetes/client/models/v1beta1_custom_resource_validation.py +++ b/kubernetes/client/models/v1beta1_custom_resource_validation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_daemon_set.py b/kubernetes/client/models/v1beta1_daemon_set.py index f18c6a0b36..8a1061801b 100644 --- a/kubernetes/client/models/v1beta1_daemon_set.py +++ b/kubernetes/client/models/v1beta1_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_condition.py b/kubernetes/client/models/v1beta1_daemon_set_condition.py index ca6cbf222b..35d7c6cf2c 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_condition.py +++ b/kubernetes/client/models/v1beta1_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_list.py b/kubernetes/client/models/v1beta1_daemon_set_list.py index 61c3c93db8..b52c65ffb5 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_list.py +++ b/kubernetes/client/models/v1beta1_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_spec.py b/kubernetes/client/models/v1beta1_daemon_set_spec.py index 5f7bda5e4e..a99822b3e1 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_spec.py +++ b/kubernetes/client/models/v1beta1_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_status.py b/kubernetes/client/models/v1beta1_daemon_set_status.py index 923891da23..e2896cf1c4 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_status.py +++ b/kubernetes/client/models/v1beta1_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py b/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py index 3dadb5ec5f..a5e67487c9 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1beta1_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1alpha1_endpoint.py b/kubernetes/client/models/v1beta1_endpoint.py similarity index 76% rename from kubernetes/client/models/v1alpha1_endpoint.py rename to kubernetes/client/models/v1beta1_endpoint.py index 81522af6df..0ca5251d09 100644 --- a/kubernetes/client/models/v1alpha1_endpoint.py +++ b/kubernetes/client/models/v1beta1_endpoint.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha1Endpoint(object): +class V1beta1Endpoint(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha1Endpoint(object): """ openapi_types = { 'addresses': 'list[str]', - 'conditions': 'V1alpha1EndpointConditions', + 'conditions': 'V1beta1EndpointConditions', 'hostname': 'str', 'target_ref': 'V1ObjectReference', 'topology': 'dict(str, str)' @@ -49,7 +49,7 @@ class V1alpha1Endpoint(object): } def __init__(self, addresses=None, conditions=None, hostname=None, target_ref=None, topology=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1Endpoint - a model defined in OpenAPI""" # noqa: E501 + """V1beta1Endpoint - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -73,22 +73,22 @@ def __init__(self, addresses=None, conditions=None, hostname=None, target_ref=No @property def addresses(self): - """Gets the addresses of this V1alpha1Endpoint. # noqa: E501 + """Gets the addresses of this V1beta1Endpoint. # noqa: E501 - addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. This allows for cases like dual-stack (IPv4 and IPv6) networking. Consumers (e.g. kube-proxy) must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. # noqa: E501 + addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. # noqa: E501 - :return: The addresses of this V1alpha1Endpoint. # noqa: E501 + :return: The addresses of this V1beta1Endpoint. # noqa: E501 :rtype: list[str] """ return self._addresses @addresses.setter def addresses(self, addresses): - """Sets the addresses of this V1alpha1Endpoint. + """Sets the addresses of this V1beta1Endpoint. - addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. This allows for cases like dual-stack (IPv4 and IPv6) networking. Consumers (e.g. kube-proxy) must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. # noqa: E501 + addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. # noqa: E501 - :param addresses: The addresses of this V1alpha1Endpoint. # noqa: E501 + :param addresses: The addresses of this V1beta1Endpoint. # noqa: E501 :type: list[str] """ if self.local_vars_configuration.client_side_validation and addresses is None: # noqa: E501 @@ -98,43 +98,43 @@ def addresses(self, addresses): @property def conditions(self): - """Gets the conditions of this V1alpha1Endpoint. # noqa: E501 + """Gets the conditions of this V1beta1Endpoint. # noqa: E501 - :return: The conditions of this V1alpha1Endpoint. # noqa: E501 - :rtype: V1alpha1EndpointConditions + :return: The conditions of this V1beta1Endpoint. # noqa: E501 + :rtype: V1beta1EndpointConditions """ return self._conditions @conditions.setter def conditions(self, conditions): - """Sets the conditions of this V1alpha1Endpoint. + """Sets the conditions of this V1beta1Endpoint. - :param conditions: The conditions of this V1alpha1Endpoint. # noqa: E501 - :type: V1alpha1EndpointConditions + :param conditions: The conditions of this V1beta1Endpoint. # noqa: E501 + :type: V1beta1EndpointConditions """ self._conditions = conditions @property def hostname(self): - """Gets the hostname of this V1alpha1Endpoint. # noqa: E501 + """Gets the hostname of this V1beta1Endpoint. # noqa: E501 hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation. # noqa: E501 - :return: The hostname of this V1alpha1Endpoint. # noqa: E501 + :return: The hostname of this V1beta1Endpoint. # noqa: E501 :rtype: str """ return self._hostname @hostname.setter def hostname(self, hostname): - """Sets the hostname of this V1alpha1Endpoint. + """Sets the hostname of this V1beta1Endpoint. hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation. # noqa: E501 - :param hostname: The hostname of this V1alpha1Endpoint. # noqa: E501 + :param hostname: The hostname of this V1beta1Endpoint. # noqa: E501 :type: str """ @@ -142,20 +142,20 @@ def hostname(self, hostname): @property def target_ref(self): - """Gets the target_ref of this V1alpha1Endpoint. # noqa: E501 + """Gets the target_ref of this V1beta1Endpoint. # noqa: E501 - :return: The target_ref of this V1alpha1Endpoint. # noqa: E501 + :return: The target_ref of this V1beta1Endpoint. # noqa: E501 :rtype: V1ObjectReference """ return self._target_ref @target_ref.setter def target_ref(self, target_ref): - """Sets the target_ref of this V1alpha1Endpoint. + """Sets the target_ref of this V1beta1Endpoint. - :param target_ref: The target_ref of this V1alpha1Endpoint. # noqa: E501 + :param target_ref: The target_ref of this V1beta1Endpoint. # noqa: E501 :type: V1ObjectReference """ @@ -163,22 +163,22 @@ def target_ref(self, target_ref): @property def topology(self): - """Gets the topology of this V1alpha1Endpoint. # noqa: E501 + """Gets the topology of this V1beta1Endpoint. # noqa: E501 topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/zone: the value indicates the zone where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label. # noqa: E501 - :return: The topology of this V1alpha1Endpoint. # noqa: E501 + :return: The topology of this V1beta1Endpoint. # noqa: E501 :rtype: dict(str, str) """ return self._topology @topology.setter def topology(self, topology): - """Sets the topology of this V1alpha1Endpoint. + """Sets the topology of this V1beta1Endpoint. topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/zone: the value indicates the zone where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label. # noqa: E501 - :param topology: The topology of this V1alpha1Endpoint. # noqa: E501 + :param topology: The topology of this V1beta1Endpoint. # noqa: E501 :type: dict(str, str) """ @@ -218,14 +218,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1Endpoint): + if not isinstance(other, V1beta1Endpoint): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1Endpoint): + if not isinstance(other, V1beta1Endpoint): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_endpoint_conditions.py b/kubernetes/client/models/v1beta1_endpoint_conditions.py similarity index 84% rename from kubernetes/client/models/v1alpha1_endpoint_conditions.py rename to kubernetes/client/models/v1beta1_endpoint_conditions.py index 6b91620b7e..0d6fe47e6d 100644 --- a/kubernetes/client/models/v1alpha1_endpoint_conditions.py +++ b/kubernetes/client/models/v1beta1_endpoint_conditions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha1EndpointConditions(object): +class V1beta1EndpointConditions(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -41,7 +41,7 @@ class V1alpha1EndpointConditions(object): } def __init__(self, ready=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1EndpointConditions - a model defined in OpenAPI""" # noqa: E501 + """V1beta1EndpointConditions - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -54,22 +54,22 @@ def __init__(self, ready=None, local_vars_configuration=None): # noqa: E501 @property def ready(self): - """Gets the ready of this V1alpha1EndpointConditions. # noqa: E501 + """Gets the ready of this V1beta1EndpointConditions. # noqa: E501 ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. # noqa: E501 - :return: The ready of this V1alpha1EndpointConditions. # noqa: E501 + :return: The ready of this V1beta1EndpointConditions. # noqa: E501 :rtype: bool """ return self._ready @ready.setter def ready(self, ready): - """Sets the ready of this V1alpha1EndpointConditions. + """Sets the ready of this V1beta1EndpointConditions. ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready. # noqa: E501 - :param ready: The ready of this V1alpha1EndpointConditions. # noqa: E501 + :param ready: The ready of this V1beta1EndpointConditions. # noqa: E501 :type: bool """ @@ -109,14 +109,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1EndpointConditions): + if not isinstance(other, V1beta1EndpointConditions): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1EndpointConditions): + if not isinstance(other, V1beta1EndpointConditions): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_endpoint_port.py b/kubernetes/client/models/v1beta1_endpoint_port.py similarity index 58% rename from kubernetes/client/models/v1alpha1_endpoint_port.py rename to kubernetes/client/models/v1beta1_endpoint_port.py index 9b1ec0b820..f21ff8cc36 100644 --- a/kubernetes/client/models/v1alpha1_endpoint_port.py +++ b/kubernetes/client/models/v1beta1_endpoint_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha1EndpointPort(object): +class V1beta1EndpointPort(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -33,28 +33,33 @@ class V1alpha1EndpointPort(object): and the value is json key in definition. """ openapi_types = { + 'app_protocol': 'str', 'name': 'str', 'port': 'int', 'protocol': 'str' } attribute_map = { + 'app_protocol': 'appProtocol', 'name': 'name', 'port': 'port', 'protocol': 'protocol' } - def __init__(self, name=None, port=None, protocol=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1EndpointPort - a model defined in OpenAPI""" # noqa: E501 + def __init__(self, app_protocol=None, name=None, port=None, protocol=None, local_vars_configuration=None): # noqa: E501 + """V1beta1EndpointPort - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration + self._app_protocol = None self._name = None self._port = None self._protocol = None self.discriminator = None + if app_protocol is not None: + self.app_protocol = app_protocol if name is not None: self.name = name if port is not None: @@ -62,24 +67,47 @@ def __init__(self, name=None, port=None, protocol=None, local_vars_configuration if protocol is not None: self.protocol = protocol + @property + def app_protocol(self): + """Gets the app_protocol of this V1beta1EndpointPort. # noqa: E501 + + The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names. Default is empty string. # noqa: E501 + + :return: The app_protocol of this V1beta1EndpointPort. # noqa: E501 + :rtype: str + """ + return self._app_protocol + + @app_protocol.setter + def app_protocol(self, app_protocol): + """Sets the app_protocol of this V1beta1EndpointPort. + + The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names. Default is empty string. # noqa: E501 + + :param app_protocol: The app_protocol of this V1beta1EndpointPort. # noqa: E501 + :type: str + """ + + self._app_protocol = app_protocol + @property def name(self): - """Gets the name of this V1alpha1EndpointPort. # noqa: E501 + """Gets the name of this V1beta1EndpointPort. # noqa: E501 - The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass IANA_SVC_NAME validation: * must be no more than 15 characters long * may contain only [-a-z0-9] * must contain at least one letter [a-z] * it must not start or end with a hyphen, nor contain adjacent hyphens Default is empty string. # noqa: E501 + The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. # noqa: E501 - :return: The name of this V1alpha1EndpointPort. # noqa: E501 + :return: The name of this V1beta1EndpointPort. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this V1alpha1EndpointPort. + """Sets the name of this V1beta1EndpointPort. - The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass IANA_SVC_NAME validation: * must be no more than 15 characters long * may contain only [-a-z0-9] * must contain at least one letter [a-z] * it must not start or end with a hyphen, nor contain adjacent hyphens Default is empty string. # noqa: E501 + The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. # noqa: E501 - :param name: The name of this V1alpha1EndpointPort. # noqa: E501 + :param name: The name of this V1beta1EndpointPort. # noqa: E501 :type: str """ @@ -87,22 +115,22 @@ def name(self, name): @property def port(self): - """Gets the port of this V1alpha1EndpointPort. # noqa: E501 + """Gets the port of this V1beta1EndpointPort. # noqa: E501 The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer. # noqa: E501 - :return: The port of this V1alpha1EndpointPort. # noqa: E501 + :return: The port of this V1beta1EndpointPort. # noqa: E501 :rtype: int """ return self._port @port.setter def port(self, port): - """Sets the port of this V1alpha1EndpointPort. + """Sets the port of this V1beta1EndpointPort. The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer. # noqa: E501 - :param port: The port of this V1alpha1EndpointPort. # noqa: E501 + :param port: The port of this V1beta1EndpointPort. # noqa: E501 :type: int """ @@ -110,22 +138,22 @@ def port(self, port): @property def protocol(self): - """Gets the protocol of this V1alpha1EndpointPort. # noqa: E501 + """Gets the protocol of this V1beta1EndpointPort. # noqa: E501 The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501 - :return: The protocol of this V1alpha1EndpointPort. # noqa: E501 + :return: The protocol of this V1beta1EndpointPort. # noqa: E501 :rtype: str """ return self._protocol @protocol.setter def protocol(self, protocol): - """Sets the protocol of this V1alpha1EndpointPort. + """Sets the protocol of this V1beta1EndpointPort. The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. # noqa: E501 - :param protocol: The protocol of this V1alpha1EndpointPort. # noqa: E501 + :param protocol: The protocol of this V1beta1EndpointPort. # noqa: E501 :type: str """ @@ -165,14 +193,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1EndpointPort): + if not isinstance(other, V1beta1EndpointPort): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1EndpointPort): + if not isinstance(other, V1beta1EndpointPort): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_endpoint_slice.py b/kubernetes/client/models/v1beta1_endpoint_slice.py similarity index 71% rename from kubernetes/client/models/v1alpha1_endpoint_slice.py rename to kubernetes/client/models/v1beta1_endpoint_slice.py index 6d8e9f7029..89ef184575 100644 --- a/kubernetes/client/models/v1alpha1_endpoint_slice.py +++ b/kubernetes/client/models/v1beta1_endpoint_slice.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha1EndpointSlice(object): +class V1beta1EndpointSlice(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -35,10 +35,10 @@ class V1alpha1EndpointSlice(object): openapi_types = { 'address_type': 'str', 'api_version': 'str', - 'endpoints': 'list[V1alpha1Endpoint]', + 'endpoints': 'list[V1beta1Endpoint]', 'kind': 'str', 'metadata': 'V1ObjectMeta', - 'ports': 'list[V1alpha1EndpointPort]' + 'ports': 'list[V1beta1EndpointPort]' } attribute_map = { @@ -51,7 +51,7 @@ class V1alpha1EndpointSlice(object): } def __init__(self, address_type=None, api_version=None, endpoints=None, kind=None, metadata=None, ports=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1EndpointSlice - a model defined in OpenAPI""" # noqa: E501 + """V1beta1EndpointSlice - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -64,8 +64,7 @@ def __init__(self, address_type=None, api_version=None, endpoints=None, kind=Non self._ports = None self.discriminator = None - if address_type is not None: - self.address_type = address_type + self.address_type = address_type if api_version is not None: self.api_version = api_version self.endpoints = endpoints @@ -78,45 +77,47 @@ def __init__(self, address_type=None, api_version=None, endpoints=None, kind=Non @property def address_type(self): - """Gets the address_type of this V1alpha1EndpointSlice. # noqa: E501 + """Gets the address_type of this V1beta1EndpointSlice. # noqa: E501 - addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. Default is IP # noqa: E501 + addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. # noqa: E501 - :return: The address_type of this V1alpha1EndpointSlice. # noqa: E501 + :return: The address_type of this V1beta1EndpointSlice. # noqa: E501 :rtype: str """ return self._address_type @address_type.setter def address_type(self, address_type): - """Sets the address_type of this V1alpha1EndpointSlice. + """Sets the address_type of this V1beta1EndpointSlice. - addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. Default is IP # noqa: E501 + addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. # noqa: E501 - :param address_type: The address_type of this V1alpha1EndpointSlice. # noqa: E501 + :param address_type: The address_type of this V1beta1EndpointSlice. # noqa: E501 :type: str """ + if self.local_vars_configuration.client_side_validation and address_type is None: # noqa: E501 + raise ValueError("Invalid value for `address_type`, must not be `None`") # noqa: E501 self._address_type = address_type @property def api_version(self): - """Gets the api_version of this V1alpha1EndpointSlice. # noqa: E501 + """Gets the api_version of this V1beta1EndpointSlice. # noqa: E501 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/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha1EndpointSlice. # noqa: E501 + :return: The api_version of this V1beta1EndpointSlice. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha1EndpointSlice. + """Sets the api_version of this V1beta1EndpointSlice. 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/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha1EndpointSlice. # noqa: E501 + :param api_version: The api_version of this V1beta1EndpointSlice. # noqa: E501 :type: str """ @@ -124,23 +125,23 @@ def api_version(self, api_version): @property def endpoints(self): - """Gets the endpoints of this V1alpha1EndpointSlice. # noqa: E501 + """Gets the endpoints of this V1beta1EndpointSlice. # noqa: E501 endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. # noqa: E501 - :return: The endpoints of this V1alpha1EndpointSlice. # noqa: E501 - :rtype: list[V1alpha1Endpoint] + :return: The endpoints of this V1beta1EndpointSlice. # noqa: E501 + :rtype: list[V1beta1Endpoint] """ return self._endpoints @endpoints.setter def endpoints(self, endpoints): - """Sets the endpoints of this V1alpha1EndpointSlice. + """Sets the endpoints of this V1beta1EndpointSlice. endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. # noqa: E501 - :param endpoints: The endpoints of this V1alpha1EndpointSlice. # noqa: E501 - :type: list[V1alpha1Endpoint] + :param endpoints: The endpoints of this V1beta1EndpointSlice. # noqa: E501 + :type: list[V1beta1Endpoint] """ if self.local_vars_configuration.client_side_validation and endpoints is None: # noqa: E501 raise ValueError("Invalid value for `endpoints`, must not be `None`") # noqa: E501 @@ -149,22 +150,22 @@ def endpoints(self, endpoints): @property def kind(self): - """Gets the kind of this V1alpha1EndpointSlice. # noqa: E501 + """Gets the kind of this V1beta1EndpointSlice. # noqa: E501 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha1EndpointSlice. # noqa: E501 + :return: The kind of this V1beta1EndpointSlice. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha1EndpointSlice. + """Sets the kind of this V1beta1EndpointSlice. 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha1EndpointSlice. # noqa: E501 + :param kind: The kind of this V1beta1EndpointSlice. # noqa: E501 :type: str """ @@ -172,20 +173,20 @@ def kind(self, kind): @property def metadata(self): - """Gets the metadata of this V1alpha1EndpointSlice. # noqa: E501 + """Gets the metadata of this V1beta1EndpointSlice. # noqa: E501 - :return: The metadata of this V1alpha1EndpointSlice. # noqa: E501 + :return: The metadata of this V1beta1EndpointSlice. # noqa: E501 :rtype: V1ObjectMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha1EndpointSlice. + """Sets the metadata of this V1beta1EndpointSlice. - :param metadata: The metadata of this V1alpha1EndpointSlice. # noqa: E501 + :param metadata: The metadata of this V1beta1EndpointSlice. # noqa: E501 :type: V1ObjectMeta """ @@ -193,23 +194,23 @@ def metadata(self, metadata): @property def ports(self): - """Gets the ports of this V1alpha1EndpointSlice. # noqa: E501 + """Gets the ports of this V1beta1EndpointSlice. # noqa: E501 ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports. # noqa: E501 - :return: The ports of this V1alpha1EndpointSlice. # noqa: E501 - :rtype: list[V1alpha1EndpointPort] + :return: The ports of this V1beta1EndpointSlice. # noqa: E501 + :rtype: list[V1beta1EndpointPort] """ return self._ports @ports.setter def ports(self, ports): - """Sets the ports of this V1alpha1EndpointSlice. + """Sets the ports of this V1beta1EndpointSlice. ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports. # noqa: E501 - :param ports: The ports of this V1alpha1EndpointSlice. # noqa: E501 - :type: list[V1alpha1EndpointPort] + :param ports: The ports of this V1beta1EndpointSlice. # noqa: E501 + :type: list[V1beta1EndpointPort] """ self._ports = ports @@ -248,14 +249,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1EndpointSlice): + if not isinstance(other, V1beta1EndpointSlice): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1EndpointSlice): + if not isinstance(other, V1beta1EndpointSlice): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1alpha1_endpoint_slice_list.py b/kubernetes/client/models/v1beta1_endpoint_slice_list.py similarity index 77% rename from kubernetes/client/models/v1alpha1_endpoint_slice_list.py rename to kubernetes/client/models/v1beta1_endpoint_slice_list.py index 74e3c47996..ce358c3cac 100644 --- a/kubernetes/client/models/v1alpha1_endpoint_slice_list.py +++ b/kubernetes/client/models/v1beta1_endpoint_slice_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -18,7 +18,7 @@ from kubernetes.client.configuration import Configuration -class V1alpha1EndpointSliceList(object): +class V1beta1EndpointSliceList(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -34,7 +34,7 @@ class V1alpha1EndpointSliceList(object): """ openapi_types = { 'api_version': 'str', - 'items': 'list[V1alpha1EndpointSlice]', + 'items': 'list[V1beta1EndpointSlice]', 'kind': 'str', 'metadata': 'V1ListMeta' } @@ -47,7 +47,7 @@ class V1alpha1EndpointSliceList(object): } def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None): # noqa: E501 - """V1alpha1EndpointSliceList - a model defined in OpenAPI""" # noqa: E501 + """V1beta1EndpointSliceList - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() self.local_vars_configuration = local_vars_configuration @@ -68,22 +68,22 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None, local @property def api_version(self): - """Gets the api_version of this V1alpha1EndpointSliceList. # noqa: E501 + """Gets the api_version of this V1beta1EndpointSliceList. # noqa: E501 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/sig-architecture/api-conventions.md#resources # noqa: E501 - :return: The api_version of this V1alpha1EndpointSliceList. # noqa: E501 + :return: The api_version of this V1beta1EndpointSliceList. # noqa: E501 :rtype: str """ return self._api_version @api_version.setter def api_version(self, api_version): - """Sets the api_version of this V1alpha1EndpointSliceList. + """Sets the api_version of this V1beta1EndpointSliceList. 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/sig-architecture/api-conventions.md#resources # noqa: E501 - :param api_version: The api_version of this V1alpha1EndpointSliceList. # noqa: E501 + :param api_version: The api_version of this V1beta1EndpointSliceList. # noqa: E501 :type: str """ @@ -91,23 +91,23 @@ def api_version(self, api_version): @property def items(self): - """Gets the items of this V1alpha1EndpointSliceList. # noqa: E501 + """Gets the items of this V1beta1EndpointSliceList. # noqa: E501 List of endpoint slices # noqa: E501 - :return: The items of this V1alpha1EndpointSliceList. # noqa: E501 - :rtype: list[V1alpha1EndpointSlice] + :return: The items of this V1beta1EndpointSliceList. # noqa: E501 + :rtype: list[V1beta1EndpointSlice] """ return self._items @items.setter def items(self, items): - """Sets the items of this V1alpha1EndpointSliceList. + """Sets the items of this V1beta1EndpointSliceList. List of endpoint slices # noqa: E501 - :param items: The items of this V1alpha1EndpointSliceList. # noqa: E501 - :type: list[V1alpha1EndpointSlice] + :param items: The items of this V1beta1EndpointSliceList. # noqa: E501 + :type: list[V1beta1EndpointSlice] """ if self.local_vars_configuration.client_side_validation and items is None: # noqa: E501 raise ValueError("Invalid value for `items`, must not be `None`") # noqa: E501 @@ -116,22 +116,22 @@ def items(self, items): @property def kind(self): - """Gets the kind of this V1alpha1EndpointSliceList. # noqa: E501 + """Gets the kind of this V1beta1EndpointSliceList. # noqa: E501 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :return: The kind of this V1alpha1EndpointSliceList. # noqa: E501 + :return: The kind of this V1beta1EndpointSliceList. # noqa: E501 :rtype: str """ return self._kind @kind.setter def kind(self, kind): - """Sets the kind of this V1alpha1EndpointSliceList. + """Sets the kind of this V1beta1EndpointSliceList. 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/sig-architecture/api-conventions.md#types-kinds # noqa: E501 - :param kind: The kind of this V1alpha1EndpointSliceList. # noqa: E501 + :param kind: The kind of this V1beta1EndpointSliceList. # noqa: E501 :type: str """ @@ -139,20 +139,20 @@ def kind(self, kind): @property def metadata(self): - """Gets the metadata of this V1alpha1EndpointSliceList. # noqa: E501 + """Gets the metadata of this V1beta1EndpointSliceList. # noqa: E501 - :return: The metadata of this V1alpha1EndpointSliceList. # noqa: E501 + :return: The metadata of this V1beta1EndpointSliceList. # noqa: E501 :rtype: V1ListMeta """ return self._metadata @metadata.setter def metadata(self, metadata): - """Sets the metadata of this V1alpha1EndpointSliceList. + """Sets the metadata of this V1beta1EndpointSliceList. - :param metadata: The metadata of this V1alpha1EndpointSliceList. # noqa: E501 + :param metadata: The metadata of this V1beta1EndpointSliceList. # noqa: E501 :type: V1ListMeta """ @@ -192,14 +192,14 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, V1alpha1EndpointSliceList): + if not isinstance(other, V1beta1EndpointSliceList): return False return self.to_dict() == other.to_dict() def __ne__(self, other): """Returns true if both objects are not equal""" - if not isinstance(other, V1alpha1EndpointSliceList): + if not isinstance(other, V1beta1EndpointSliceList): return True return self.to_dict() != other.to_dict() diff --git a/kubernetes/client/models/v1beta1_event.py b/kubernetes/client/models/v1beta1_event.py index 4bfebf9956..f7944cc7c4 100644 --- a/kubernetes/client/models/v1beta1_event.py +++ b/kubernetes/client/models/v1beta1_event.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_event_list.py b/kubernetes/client/models/v1beta1_event_list.py index 1855502980..da5e0810be 100644 --- a/kubernetes/client/models/v1beta1_event_list.py +++ b/kubernetes/client/models/v1beta1_event_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_event_series.py b/kubernetes/client/models/v1beta1_event_series.py index 0405490b21..45bf51a4e5 100644 --- a/kubernetes/client/models/v1beta1_event_series.py +++ b/kubernetes/client/models/v1beta1_event_series.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_eviction.py b/kubernetes/client/models/v1beta1_eviction.py index a662e9a27a..8a7583abdf 100644 --- a/kubernetes/client/models/v1beta1_eviction.py +++ b/kubernetes/client/models/v1beta1_eviction.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_external_documentation.py b/kubernetes/client/models/v1beta1_external_documentation.py index 310106f6d6..c4ec9bb68c 100644 --- a/kubernetes/client/models/v1beta1_external_documentation.py +++ b/kubernetes/client/models/v1beta1_external_documentation.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_ip_block.py b/kubernetes/client/models/v1beta1_ip_block.py index 4d5dd4510e..f8b6a4bd7c 100644 --- a/kubernetes/client/models/v1beta1_ip_block.py +++ b/kubernetes/client/models/v1beta1_ip_block.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_job_template_spec.py b/kubernetes/client/models/v1beta1_job_template_spec.py index 4277c99f90..98deaa0e22 100644 --- a/kubernetes/client/models/v1beta1_job_template_spec.py +++ b/kubernetes/client/models/v1beta1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_json_schema_props.py b/kubernetes/client/models/v1beta1_json_schema_props.py index d63ea64e7e..688f7da1a7 100644 --- a/kubernetes/client/models/v1beta1_json_schema_props.py +++ b/kubernetes/client/models/v1beta1_json_schema_props.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -74,6 +74,7 @@ class V1beta1JSONSchemaProps(object): 'x_kubernetes_int_or_string': 'bool', 'x_kubernetes_list_map_keys': 'list[str]', 'x_kubernetes_list_type': 'str', + 'x_kubernetes_map_type': 'str', 'x_kubernetes_preserve_unknown_fields': 'bool' } @@ -119,10 +120,11 @@ class V1beta1JSONSchemaProps(object): 'x_kubernetes_int_or_string': 'x-kubernetes-int-or-string', 'x_kubernetes_list_map_keys': 'x-kubernetes-list-map-keys', 'x_kubernetes_list_type': 'x-kubernetes-list-type', + 'x_kubernetes_map_type': 'x-kubernetes-map-type', 'x_kubernetes_preserve_unknown_fields': 'x-kubernetes-preserve-unknown-fields' } - def __init__(self, ref=None, schema=None, additional_items=None, additional_properties=None, all_of=None, any_of=None, default=None, definitions=None, dependencies=None, description=None, enum=None, example=None, exclusive_maximum=None, exclusive_minimum=None, external_docs=None, format=None, id=None, items=None, max_items=None, max_length=None, max_properties=None, maximum=None, min_items=None, min_length=None, min_properties=None, minimum=None, multiple_of=None, _not=None, nullable=None, one_of=None, pattern=None, pattern_properties=None, properties=None, required=None, title=None, type=None, unique_items=None, x_kubernetes_embedded_resource=None, x_kubernetes_int_or_string=None, x_kubernetes_list_map_keys=None, x_kubernetes_list_type=None, x_kubernetes_preserve_unknown_fields=None, local_vars_configuration=None): # noqa: E501 + def __init__(self, ref=None, schema=None, additional_items=None, additional_properties=None, all_of=None, any_of=None, default=None, definitions=None, dependencies=None, description=None, enum=None, example=None, exclusive_maximum=None, exclusive_minimum=None, external_docs=None, format=None, id=None, items=None, max_items=None, max_length=None, max_properties=None, maximum=None, min_items=None, min_length=None, min_properties=None, minimum=None, multiple_of=None, _not=None, nullable=None, one_of=None, pattern=None, pattern_properties=None, properties=None, required=None, title=None, type=None, unique_items=None, x_kubernetes_embedded_resource=None, x_kubernetes_int_or_string=None, x_kubernetes_list_map_keys=None, x_kubernetes_list_type=None, x_kubernetes_map_type=None, x_kubernetes_preserve_unknown_fields=None, local_vars_configuration=None): # noqa: E501 """V1beta1JSONSchemaProps - a model defined in OpenAPI""" # noqa: E501 if local_vars_configuration is None: local_vars_configuration = Configuration() @@ -169,6 +171,7 @@ def __init__(self, ref=None, schema=None, additional_items=None, additional_prop self._x_kubernetes_int_or_string = None self._x_kubernetes_list_map_keys = None self._x_kubernetes_list_type = None + self._x_kubernetes_map_type = None self._x_kubernetes_preserve_unknown_fields = None self.discriminator = None @@ -254,6 +257,8 @@ def __init__(self, ref=None, schema=None, additional_items=None, additional_prop self.x_kubernetes_list_map_keys = x_kubernetes_list_map_keys if x_kubernetes_list_type is not None: self.x_kubernetes_list_type = x_kubernetes_list_type + if x_kubernetes_map_type is not None: + self.x_kubernetes_map_type = x_kubernetes_map_type if x_kubernetes_preserve_unknown_fields is not None: self.x_kubernetes_preserve_unknown_fields = x_kubernetes_preserve_unknown_fields @@ -584,6 +589,7 @@ def external_docs(self, external_docs): def format(self): """Gets the format of this V1beta1JSONSchemaProps. # noqa: E501 + format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. # noqa: E501 :return: The format of this V1beta1JSONSchemaProps. # noqa: E501 :rtype: str @@ -594,6 +600,7 @@ def format(self): def format(self, format): """Sets the format of this V1beta1JSONSchemaProps. + format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. # noqa: E501 :param format: The format of this V1beta1JSONSchemaProps. # noqa: E501 :type: str @@ -1136,6 +1143,29 @@ def x_kubernetes_list_type(self, x_kubernetes_list_type): self._x_kubernetes_list_type = x_kubernetes_list_type + @property + def x_kubernetes_map_type(self): + """Gets the x_kubernetes_map_type of this V1beta1JSONSchemaProps. # noqa: E501 + + x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. # noqa: E501 + + :return: The x_kubernetes_map_type of this V1beta1JSONSchemaProps. # noqa: E501 + :rtype: str + """ + return self._x_kubernetes_map_type + + @x_kubernetes_map_type.setter + def x_kubernetes_map_type(self, x_kubernetes_map_type): + """Sets the x_kubernetes_map_type of this V1beta1JSONSchemaProps. + + x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. # noqa: E501 + + :param x_kubernetes_map_type: The x_kubernetes_map_type of this V1beta1JSONSchemaProps. # noqa: E501 + :type: str + """ + + self._x_kubernetes_map_type = x_kubernetes_map_type + @property def x_kubernetes_preserve_unknown_fields(self): """Gets the x_kubernetes_preserve_unknown_fields of this V1beta1JSONSchemaProps. # noqa: E501 diff --git a/kubernetes/client/models/v1beta1_lease.py b/kubernetes/client/models/v1beta1_lease.py index 87d62508fa..a0ae5e1185 100644 --- a/kubernetes/client/models/v1beta1_lease.py +++ b/kubernetes/client/models/v1beta1_lease.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_lease_list.py b/kubernetes/client/models/v1beta1_lease_list.py index b709f60344..22ccfb6cf2 100644 --- a/kubernetes/client/models/v1beta1_lease_list.py +++ b/kubernetes/client/models/v1beta1_lease_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_lease_spec.py b/kubernetes/client/models/v1beta1_lease_spec.py index fd334c0191..b79e61f272 100644 --- a/kubernetes/client/models/v1beta1_lease_spec.py +++ b/kubernetes/client/models/v1beta1_lease_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_local_subject_access_review.py b/kubernetes/client/models/v1beta1_local_subject_access_review.py index 78630b7e9e..0d8dc91252 100644 --- a/kubernetes/client/models/v1beta1_local_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_local_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_mutating_webhook.py b/kubernetes/client/models/v1beta1_mutating_webhook.py index 4d51c4da9f..817b9db804 100644 --- a/kubernetes/client/models/v1beta1_mutating_webhook.py +++ b/kubernetes/client/models/v1beta1_mutating_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -309,7 +309,7 @@ def rules(self, rules): def side_effects(self): """Gets the side_effects of this V1beta1MutatingWebhook. # noqa: E501 - 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. # noqa: E501 + SideEffects states whether this webhook 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. # noqa: E501 :return: The side_effects of this V1beta1MutatingWebhook. # noqa: E501 :rtype: str @@ -320,7 +320,7 @@ def side_effects(self): def side_effects(self, side_effects): """Sets the side_effects of this V1beta1MutatingWebhook. - 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. # noqa: E501 + SideEffects states whether this webhook 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. # noqa: E501 :param side_effects: The side_effects of this V1beta1MutatingWebhook. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py b/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py index 2bfca8c126..0fac0b6626 100644 --- a/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py +++ b/kubernetes/client/models/v1beta1_mutating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py b/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py index d329d95748..daff73a3ba 100644 --- a/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1beta1_mutating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_network_policy.py b/kubernetes/client/models/v1beta1_network_policy.py index 8d5469403e..b779eb39f2 100644 --- a/kubernetes/client/models/v1beta1_network_policy.py +++ b/kubernetes/client/models/v1beta1_network_policy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_network_policy_egress_rule.py b/kubernetes/client/models/v1beta1_network_policy_egress_rule.py index 28e459ac17..30521f1b9d 100644 --- a/kubernetes/client/models/v1beta1_network_policy_egress_rule.py +++ b/kubernetes/client/models/v1beta1_network_policy_egress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py index 9250068dee..37eb10e319 100644 --- a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_network_policy_list.py b/kubernetes/client/models/v1beta1_network_policy_list.py index d568f1dda3..bca3527579 100644 --- a/kubernetes/client/models/v1beta1_network_policy_list.py +++ b/kubernetes/client/models/v1beta1_network_policy_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_network_policy_peer.py b/kubernetes/client/models/v1beta1_network_policy_peer.py index 1fc5b60094..e99e7a8b9b 100644 --- a/kubernetes/client/models/v1beta1_network_policy_peer.py +++ b/kubernetes/client/models/v1beta1_network_policy_peer.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_network_policy_port.py b/kubernetes/client/models/v1beta1_network_policy_port.py index 789ff45ec0..89e576e18d 100644 --- a/kubernetes/client/models/v1beta1_network_policy_port.py +++ b/kubernetes/client/models/v1beta1_network_policy_port.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_network_policy_spec.py b/kubernetes/client/models/v1beta1_network_policy_spec.py index 84d65b5908..2d6fe3741d 100644 --- a/kubernetes/client/models/v1beta1_network_policy_spec.py +++ b/kubernetes/client/models/v1beta1_network_policy_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_non_resource_attributes.py b/kubernetes/client/models/v1beta1_non_resource_attributes.py index e70f171c43..23802c1638 100644 --- a/kubernetes/client/models/v1beta1_non_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_non_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_non_resource_rule.py b/kubernetes/client/models/v1beta1_non_resource_rule.py index c9a5a48be8..0ffef9ecaf 100644 --- a/kubernetes/client/models/v1beta1_non_resource_rule.py +++ b/kubernetes/client/models/v1beta1_non_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_overhead.py b/kubernetes/client/models/v1beta1_overhead.py index 29eda516e0..75093bd233 100644 --- a/kubernetes/client/models/v1beta1_overhead.py +++ b/kubernetes/client/models/v1beta1_overhead.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget.py b/kubernetes/client/models/v1beta1_pod_disruption_budget.py index 7844114c04..c2cb7cf861 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py index 885a25a529..d6ec1f8b59 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py index 04c58715f9..a610630c10 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py index 33509c1cc3..1cdc7ac6ff 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -200,7 +200,7 @@ def expected_pods(self, expected_pods): def observed_generation(self): """Gets the observed_generation of this V1beta1PodDisruptionBudgetStatus. # noqa: E501 - 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. # noqa: E501 + Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. # noqa: E501 :return: The observed_generation of this V1beta1PodDisruptionBudgetStatus. # noqa: E501 :rtype: int @@ -211,7 +211,7 @@ def observed_generation(self): def observed_generation(self, observed_generation): """Sets the observed_generation of this V1beta1PodDisruptionBudgetStatus. - 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. # noqa: E501 + Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. # noqa: E501 :param observed_generation: The observed_generation of this V1beta1PodDisruptionBudgetStatus. # noqa: E501 :type: int diff --git a/kubernetes/client/models/v1beta1_policy_rule.py b/kubernetes/client/models/v1beta1_policy_rule.py index 4ba323ac6e..714bc15b37 100644 --- a/kubernetes/client/models/v1beta1_policy_rule.py +++ b/kubernetes/client/models/v1beta1_policy_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_priority_class.py b/kubernetes/client/models/v1beta1_priority_class.py index 6813bf8f74..f8f380c82d 100644 --- a/kubernetes/client/models/v1beta1_priority_class.py +++ b/kubernetes/client/models/v1beta1_priority_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_priority_class_list.py b/kubernetes/client/models/v1beta1_priority_class_list.py index ed56f60388..a2a842a9c9 100644 --- a/kubernetes/client/models/v1beta1_priority_class_list.py +++ b/kubernetes/client/models/v1beta1_priority_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_replica_set.py b/kubernetes/client/models/v1beta1_replica_set.py index 4c7c98a0f2..a671343410 100644 --- a/kubernetes/client/models/v1beta1_replica_set.py +++ b/kubernetes/client/models/v1beta1_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_replica_set_condition.py b/kubernetes/client/models/v1beta1_replica_set_condition.py index fabc56a772..b864e179dc 100644 --- a/kubernetes/client/models/v1beta1_replica_set_condition.py +++ b/kubernetes/client/models/v1beta1_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_replica_set_list.py b/kubernetes/client/models/v1beta1_replica_set_list.py index 06a6688522..f099be130a 100644 --- a/kubernetes/client/models/v1beta1_replica_set_list.py +++ b/kubernetes/client/models/v1beta1_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_replica_set_spec.py b/kubernetes/client/models/v1beta1_replica_set_spec.py index fe736fd0c9..60567c61cc 100644 --- a/kubernetes/client/models/v1beta1_replica_set_spec.py +++ b/kubernetes/client/models/v1beta1_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_replica_set_status.py b/kubernetes/client/models/v1beta1_replica_set_status.py index 30b20b249d..9bd0c24d55 100644 --- a/kubernetes/client/models/v1beta1_replica_set_status.py +++ b/kubernetes/client/models/v1beta1_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_resource_attributes.py b/kubernetes/client/models/v1beta1_resource_attributes.py index 31bf736330..a58a39474e 100644 --- a/kubernetes/client/models/v1beta1_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_resource_attributes.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_resource_rule.py b/kubernetes/client/models/v1beta1_resource_rule.py index ae4c608bec..d470679bf4 100644 --- a/kubernetes/client/models/v1beta1_resource_rule.py +++ b/kubernetes/client/models/v1beta1_resource_rule.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_role.py b/kubernetes/client/models/v1beta1_role.py index aad05d79c6..7d3f7ec4cf 100644 --- a/kubernetes/client/models/v1beta1_role.py +++ b/kubernetes/client/models/v1beta1_role.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_role_binding.py b/kubernetes/client/models/v1beta1_role_binding.py index b728f4031a..3f2d9b115a 100644 --- a/kubernetes/client/models/v1beta1_role_binding.py +++ b/kubernetes/client/models/v1beta1_role_binding.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_role_binding_list.py b/kubernetes/client/models/v1beta1_role_binding_list.py index 6258f866be..fa7097762a 100644 --- a/kubernetes/client/models/v1beta1_role_binding_list.py +++ b/kubernetes/client/models/v1beta1_role_binding_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_role_list.py b/kubernetes/client/models/v1beta1_role_list.py index 2d51a5d9df..b1afb52a68 100644 --- a/kubernetes/client/models/v1beta1_role_list.py +++ b/kubernetes/client/models/v1beta1_role_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_role_ref.py b/kubernetes/client/models/v1beta1_role_ref.py index 620337293a..ecbab4cb9d 100644 --- a/kubernetes/client/models/v1beta1_role_ref.py +++ b/kubernetes/client/models/v1beta1_role_ref.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py b/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py index abb4bbff33..a63eeddea7 100644 --- a/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1beta1_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py index 419ad7c8e0..fe47105af8 100644 --- a/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1beta1_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_rule_with_operations.py b/kubernetes/client/models/v1beta1_rule_with_operations.py index 00164531ff..9e8e095516 100644 --- a/kubernetes/client/models/v1beta1_rule_with_operations.py +++ b/kubernetes/client/models/v1beta1_rule_with_operations.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_runtime_class.py b/kubernetes/client/models/v1beta1_runtime_class.py index aa2bc57221..88d6e1c1e8 100644 --- a/kubernetes/client/models/v1beta1_runtime_class.py +++ b/kubernetes/client/models/v1beta1_runtime_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_runtime_class_list.py b/kubernetes/client/models/v1beta1_runtime_class_list.py index 919d6653c0..9d2829a30f 100644 --- a/kubernetes/client/models/v1beta1_runtime_class_list.py +++ b/kubernetes/client/models/v1beta1_runtime_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_scheduling.py b/kubernetes/client/models/v1beta1_scheduling.py index ef384bf85e..ff11c0e70e 100644 --- a/kubernetes/client/models/v1beta1_scheduling.py +++ b/kubernetes/client/models/v1beta1_scheduling.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review.py b/kubernetes/client/models/v1beta1_self_subject_access_review.py index 4b11d4da76..1d106b3796 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py index e3d853a211..b45a0996b7 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_self_subject_rules_review.py b/kubernetes/client/models/v1beta1_self_subject_rules_review.py index 0152c22c51..5f724066b5 100644 --- a/kubernetes/client/models/v1beta1_self_subject_rules_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_rules_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py b/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py index 815e698aed..67a6c72a58 100644 --- a/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py +++ b/kubernetes/client/models/v1beta1_self_subject_rules_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_stateful_set.py b/kubernetes/client/models/v1beta1_stateful_set.py index 4da4268146..e7c161e7c5 100644 --- a/kubernetes/client/models/v1beta1_stateful_set.py +++ b/kubernetes/client/models/v1beta1_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_condition.py b/kubernetes/client/models/v1beta1_stateful_set_condition.py index 03435374ca..0414d36cc7 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_condition.py +++ b/kubernetes/client/models/v1beta1_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_list.py b/kubernetes/client/models/v1beta1_stateful_set_list.py index f130ca6c6e..e72944b553 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_list.py +++ b/kubernetes/client/models/v1beta1_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_spec.py b/kubernetes/client/models/v1beta1_stateful_set_spec.py index df665df970..be3ed90c9c 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_spec.py +++ b/kubernetes/client/models/v1beta1_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_status.py b/kubernetes/client/models/v1beta1_stateful_set_status.py index b010d4fc1a..0631240c4c 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_status.py +++ b/kubernetes/client/models/v1beta1_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py b/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py index 46fe41d30e..4157fb340d 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1beta1_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_storage_class.py b/kubernetes/client/models/v1beta1_storage_class.py index 2c9b85c386..57a17b5c2d 100644 --- a/kubernetes/client/models/v1beta1_storage_class.py +++ b/kubernetes/client/models/v1beta1_storage_class.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_storage_class_list.py b/kubernetes/client/models/v1beta1_storage_class_list.py index 763323b016..b0a67be499 100644 --- a/kubernetes/client/models/v1beta1_storage_class_list.py +++ b/kubernetes/client/models/v1beta1_storage_class_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_subject.py b/kubernetes/client/models/v1beta1_subject.py index 1c1f0d71dc..16e8b91ed9 100644 --- a/kubernetes/client/models/v1beta1_subject.py +++ b/kubernetes/client/models/v1beta1_subject.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review.py b/kubernetes/client/models/v1beta1_subject_access_review.py index feca3c3090..e8e8c20968 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_subject_access_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_subject_access_review_spec.py index 2ec81f34d0..74d53cd399 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_status.py b/kubernetes/client/models/v1beta1_subject_access_review_status.py index c2542022f7..51d8b6a0f8 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_status.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_subject_rules_review_status.py b/kubernetes/client/models/v1beta1_subject_rules_review_status.py index 9fb0f1b999..eb241e4f63 100644 --- a/kubernetes/client/models/v1beta1_subject_rules_review_status.py +++ b/kubernetes/client/models/v1beta1_subject_rules_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_token_review.py b/kubernetes/client/models/v1beta1_token_review.py index b1c5f02df5..5be717a71d 100644 --- a/kubernetes/client/models/v1beta1_token_review.py +++ b/kubernetes/client/models/v1beta1_token_review.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_token_review_spec.py b/kubernetes/client/models/v1beta1_token_review_spec.py index 611eaccde2..4cfd6aad77 100644 --- a/kubernetes/client/models/v1beta1_token_review_spec.py +++ b/kubernetes/client/models/v1beta1_token_review_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_token_review_status.py b/kubernetes/client/models/v1beta1_token_review_status.py index b7fa30d729..e4f4ec4bc4 100644 --- a/kubernetes/client/models/v1beta1_token_review_status.py +++ b/kubernetes/client/models/v1beta1_token_review_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_user_info.py b/kubernetes/client/models/v1beta1_user_info.py index 12c758399a..5c8b75edf4 100644 --- a/kubernetes/client/models/v1beta1_user_info.py +++ b/kubernetes/client/models/v1beta1_user_info.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validating_webhook.py b/kubernetes/client/models/v1beta1_validating_webhook.py index 150182aa9f..3e28b80cda 100644 --- a/kubernetes/client/models/v1beta1_validating_webhook.py +++ b/kubernetes/client/models/v1beta1_validating_webhook.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ @@ -281,7 +281,7 @@ def rules(self, rules): def side_effects(self): """Gets the side_effects of this V1beta1ValidatingWebhook. # noqa: E501 - 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. # noqa: E501 + SideEffects states whether this webhook 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. # noqa: E501 :return: The side_effects of this V1beta1ValidatingWebhook. # noqa: E501 :rtype: str @@ -292,7 +292,7 @@ def side_effects(self): def side_effects(self, side_effects): """Sets the side_effects of this V1beta1ValidatingWebhook. - 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. # noqa: E501 + SideEffects states whether this webhook 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. # noqa: E501 :param side_effects: The side_effects of this V1beta1ValidatingWebhook. # noqa: E501 :type: str diff --git a/kubernetes/client/models/v1beta1_validating_webhook_configuration.py b/kubernetes/client/models/v1beta1_validating_webhook_configuration.py index 2274d15168..30e245514b 100644 --- a/kubernetes/client/models/v1beta1_validating_webhook_configuration.py +++ b/kubernetes/client/models/v1beta1_validating_webhook_configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py b/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py index 94395c919e..fc01c73efc 100644 --- a/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py +++ b/kubernetes/client/models/v1beta1_validating_webhook_configuration_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment.py b/kubernetes/client/models/v1beta1_volume_attachment.py index 97546e3e0d..5e704aa539 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment.py +++ b/kubernetes/client/models/v1beta1_volume_attachment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_list.py b/kubernetes/client/models/v1beta1_volume_attachment_list.py index 62951184b7..58a8744d6d 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_list.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_source.py b/kubernetes/client/models/v1beta1_volume_attachment_source.py index 77199c614a..e37cd6a2b9 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_source.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_spec.py b/kubernetes/client/models/v1beta1_volume_attachment_spec.py index 65a0621b4e..6c1101224c 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_spec.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_volume_attachment_status.py b/kubernetes/client/models/v1beta1_volume_attachment_status.py index f4214bc9e6..f1fb47d239 100644 --- a/kubernetes/client/models/v1beta1_volume_attachment_status.py +++ b/kubernetes/client/models/v1beta1_volume_attachment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_volume_error.py b/kubernetes/client/models/v1beta1_volume_error.py index 6701cb75bc..d58dcc16a8 100644 --- a/kubernetes/client/models/v1beta1_volume_error.py +++ b/kubernetes/client/models/v1beta1_volume_error.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta1_volume_node_resources.py b/kubernetes/client/models/v1beta1_volume_node_resources.py index c48a60685f..134e2255c4 100644 --- a/kubernetes/client/models/v1beta1_volume_node_resources.py +++ b/kubernetes/client/models/v1beta1_volume_node_resources.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_controller_revision.py b/kubernetes/client/models/v1beta2_controller_revision.py index 9c49790ee4..4c1380a1b0 100644 --- a/kubernetes/client/models/v1beta2_controller_revision.py +++ b/kubernetes/client/models/v1beta2_controller_revision.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_controller_revision_list.py b/kubernetes/client/models/v1beta2_controller_revision_list.py index 6b68ed673c..ae20ce801f 100644 --- a/kubernetes/client/models/v1beta2_controller_revision_list.py +++ b/kubernetes/client/models/v1beta2_controller_revision_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_daemon_set.py b/kubernetes/client/models/v1beta2_daemon_set.py index 7c0ca5bebc..417899bc2a 100644 --- a/kubernetes/client/models/v1beta2_daemon_set.py +++ b/kubernetes/client/models/v1beta2_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_condition.py b/kubernetes/client/models/v1beta2_daemon_set_condition.py index eab3115579..760b4e3fdc 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_condition.py +++ b/kubernetes/client/models/v1beta2_daemon_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_list.py b/kubernetes/client/models/v1beta2_daemon_set_list.py index 34248866c0..7bd57526df 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_list.py +++ b/kubernetes/client/models/v1beta2_daemon_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_spec.py b/kubernetes/client/models/v1beta2_daemon_set_spec.py index 5dd04aef73..649b4f3897 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_spec.py +++ b/kubernetes/client/models/v1beta2_daemon_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_status.py b/kubernetes/client/models/v1beta2_daemon_set_status.py index 05246a7452..da96557a1f 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_status.py +++ b/kubernetes/client/models/v1beta2_daemon_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py b/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py index 2c746040c1..45a5e8538b 100644 --- a/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py +++ b/kubernetes/client/models/v1beta2_daemon_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_deployment.py b/kubernetes/client/models/v1beta2_deployment.py index 161e2e8fe8..b678b505d4 100644 --- a/kubernetes/client/models/v1beta2_deployment.py +++ b/kubernetes/client/models/v1beta2_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_deployment_condition.py b/kubernetes/client/models/v1beta2_deployment_condition.py index 4ae16f3e96..41736e1ff6 100644 --- a/kubernetes/client/models/v1beta2_deployment_condition.py +++ b/kubernetes/client/models/v1beta2_deployment_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_deployment_list.py b/kubernetes/client/models/v1beta2_deployment_list.py index cbfd4e15d7..5ff56c8f2c 100644 --- a/kubernetes/client/models/v1beta2_deployment_list.py +++ b/kubernetes/client/models/v1beta2_deployment_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_deployment_spec.py b/kubernetes/client/models/v1beta2_deployment_spec.py index f2d49d3165..946fb0ebad 100644 --- a/kubernetes/client/models/v1beta2_deployment_spec.py +++ b/kubernetes/client/models/v1beta2_deployment_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_deployment_status.py b/kubernetes/client/models/v1beta2_deployment_status.py index 39f2511716..40a402988c 100644 --- a/kubernetes/client/models/v1beta2_deployment_status.py +++ b/kubernetes/client/models/v1beta2_deployment_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_deployment_strategy.py b/kubernetes/client/models/v1beta2_deployment_strategy.py index 5764d7c654..3e2e27c3fd 100644 --- a/kubernetes/client/models/v1beta2_deployment_strategy.py +++ b/kubernetes/client/models/v1beta2_deployment_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_replica_set.py b/kubernetes/client/models/v1beta2_replica_set.py index c30dc47c30..ffc19a3c59 100644 --- a/kubernetes/client/models/v1beta2_replica_set.py +++ b/kubernetes/client/models/v1beta2_replica_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_replica_set_condition.py b/kubernetes/client/models/v1beta2_replica_set_condition.py index 4f719c31ca..086bf28f8b 100644 --- a/kubernetes/client/models/v1beta2_replica_set_condition.py +++ b/kubernetes/client/models/v1beta2_replica_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_replica_set_list.py b/kubernetes/client/models/v1beta2_replica_set_list.py index 714bffe55d..35d7e78481 100644 --- a/kubernetes/client/models/v1beta2_replica_set_list.py +++ b/kubernetes/client/models/v1beta2_replica_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_replica_set_spec.py b/kubernetes/client/models/v1beta2_replica_set_spec.py index 19af3f0e0d..6921018c63 100644 --- a/kubernetes/client/models/v1beta2_replica_set_spec.py +++ b/kubernetes/client/models/v1beta2_replica_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_replica_set_status.py b/kubernetes/client/models/v1beta2_replica_set_status.py index 2322bb7462..9baffbad80 100644 --- a/kubernetes/client/models/v1beta2_replica_set_status.py +++ b/kubernetes/client/models/v1beta2_replica_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py b/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py index 4a5c9778db..1804ed28c5 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py +++ b/kubernetes/client/models/v1beta2_rolling_update_daemon_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_rolling_update_deployment.py b/kubernetes/client/models/v1beta2_rolling_update_deployment.py index 3870950062..c68ea6f7a8 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_deployment.py +++ b/kubernetes/client/models/v1beta2_rolling_update_deployment.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py b/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py index 873ccb3e1a..edcd2d40b5 100644 --- a/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py +++ b/kubernetes/client/models/v1beta2_rolling_update_stateful_set_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_scale.py b/kubernetes/client/models/v1beta2_scale.py index 041fb765ef..1b151659e5 100644 --- a/kubernetes/client/models/v1beta2_scale.py +++ b/kubernetes/client/models/v1beta2_scale.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_scale_spec.py b/kubernetes/client/models/v1beta2_scale_spec.py index 3d183c5cd2..8b5bc30d32 100644 --- a/kubernetes/client/models/v1beta2_scale_spec.py +++ b/kubernetes/client/models/v1beta2_scale_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_scale_status.py b/kubernetes/client/models/v1beta2_scale_status.py index ceea387a5e..4d888a4f24 100644 --- a/kubernetes/client/models/v1beta2_scale_status.py +++ b/kubernetes/client/models/v1beta2_scale_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_stateful_set.py b/kubernetes/client/models/v1beta2_stateful_set.py index e0a3359618..b8e3a2d823 100644 --- a/kubernetes/client/models/v1beta2_stateful_set.py +++ b/kubernetes/client/models/v1beta2_stateful_set.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_condition.py b/kubernetes/client/models/v1beta2_stateful_set_condition.py index bb7057b96f..8b13fa2802 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_condition.py +++ b/kubernetes/client/models/v1beta2_stateful_set_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_list.py b/kubernetes/client/models/v1beta2_stateful_set_list.py index d5356d760b..e25b2ed152 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_list.py +++ b/kubernetes/client/models/v1beta2_stateful_set_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_spec.py b/kubernetes/client/models/v1beta2_stateful_set_spec.py index 96191c3246..e3bca8aeab 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_spec.py +++ b/kubernetes/client/models/v1beta2_stateful_set_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_status.py b/kubernetes/client/models/v1beta2_stateful_set_status.py index e380ae5f69..28447ea306 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_status.py +++ b/kubernetes/client/models/v1beta2_stateful_set_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py b/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py index 4c9410fd61..6a7a3f821b 100644 --- a/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py +++ b/kubernetes/client/models/v1beta2_stateful_set_update_strategy.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2alpha1_cron_job.py b/kubernetes/client/models/v2alpha1_cron_job.py index e6f6108cd4..48165eed6c 100644 --- a/kubernetes/client/models/v2alpha1_cron_job.py +++ b/kubernetes/client/models/v2alpha1_cron_job.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_list.py b/kubernetes/client/models/v2alpha1_cron_job_list.py index cb9844297a..9b5bded654 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_list.py +++ b/kubernetes/client/models/v2alpha1_cron_job_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_spec.py b/kubernetes/client/models/v2alpha1_cron_job_spec.py index aaaf34b528..57cbc79335 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_spec.py +++ b/kubernetes/client/models/v2alpha1_cron_job_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_status.py b/kubernetes/client/models/v2alpha1_cron_job_status.py index 56eec38a6d..d2d4c69f67 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_status.py +++ b/kubernetes/client/models/v2alpha1_cron_job_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2alpha1_job_template_spec.py b/kubernetes/client/models/v2alpha1_job_template_spec.py index d48f33f8ec..ce29b6f7f9 100644 --- a/kubernetes/client/models/v2alpha1_job_template_spec.py +++ b/kubernetes/client/models/v2alpha1_job_template_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_cross_version_object_reference.py b/kubernetes/client/models/v2beta1_cross_version_object_reference.py index 1a25045dd3..8f24dde559 100644 --- a/kubernetes/client/models/v2beta1_cross_version_object_reference.py +++ b/kubernetes/client/models/v2beta1_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_external_metric_source.py b/kubernetes/client/models/v2beta1_external_metric_source.py index 286ea77a6b..6bda087531 100644 --- a/kubernetes/client/models/v2beta1_external_metric_source.py +++ b/kubernetes/client/models/v2beta1_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_external_metric_status.py b/kubernetes/client/models/v2beta1_external_metric_status.py index 570efae2e0..c6d0253e3d 100644 --- a/kubernetes/client/models/v2beta1_external_metric_status.py +++ b/kubernetes/client/models/v2beta1_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py index 428bed8fb9..e274c0edde 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py index a58a3ed69c..df00f9a04d 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py index 35f14b4752..504ccdc841 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py index 7d75c9a095..7ee4332380 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py index 1a2c9e5953..7df0bf1b08 100644 --- a/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v2beta1_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_metric_spec.py b/kubernetes/client/models/v2beta1_metric_spec.py index 51ebbfa0e9..6e11fa8596 100644 --- a/kubernetes/client/models/v2beta1_metric_spec.py +++ b/kubernetes/client/models/v2beta1_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_metric_status.py b/kubernetes/client/models/v2beta1_metric_status.py index 70f6f42b52..80781e4c6e 100644 --- a/kubernetes/client/models/v2beta1_metric_status.py +++ b/kubernetes/client/models/v2beta1_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_object_metric_source.py b/kubernetes/client/models/v2beta1_object_metric_source.py index e1e073001e..8a203fa7aa 100644 --- a/kubernetes/client/models/v2beta1_object_metric_source.py +++ b/kubernetes/client/models/v2beta1_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_object_metric_status.py b/kubernetes/client/models/v2beta1_object_metric_status.py index edcb9d0cf8..38b1a1e9a3 100644 --- a/kubernetes/client/models/v2beta1_object_metric_status.py +++ b/kubernetes/client/models/v2beta1_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_pods_metric_source.py b/kubernetes/client/models/v2beta1_pods_metric_source.py index eb436ca404..1c55cb0fdf 100644 --- a/kubernetes/client/models/v2beta1_pods_metric_source.py +++ b/kubernetes/client/models/v2beta1_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_pods_metric_status.py b/kubernetes/client/models/v2beta1_pods_metric_status.py index 72dcbe723d..2a322eca9b 100644 --- a/kubernetes/client/models/v2beta1_pods_metric_status.py +++ b/kubernetes/client/models/v2beta1_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_resource_metric_source.py b/kubernetes/client/models/v2beta1_resource_metric_source.py index 4ca9a8cbf9..03f97a31a0 100644 --- a/kubernetes/client/models/v2beta1_resource_metric_source.py +++ b/kubernetes/client/models/v2beta1_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta1_resource_metric_status.py b/kubernetes/client/models/v2beta1_resource_metric_status.py index 212fb5df0d..0d7580e822 100644 --- a/kubernetes/client/models/v2beta1_resource_metric_status.py +++ b/kubernetes/client/models/v2beta1_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_cross_version_object_reference.py b/kubernetes/client/models/v2beta2_cross_version_object_reference.py index 5a42d7ed27..3055544d9e 100644 --- a/kubernetes/client/models/v2beta2_cross_version_object_reference.py +++ b/kubernetes/client/models/v2beta2_cross_version_object_reference.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_external_metric_source.py b/kubernetes/client/models/v2beta2_external_metric_source.py index f58a3624cc..146c4fe073 100644 --- a/kubernetes/client/models/v2beta2_external_metric_source.py +++ b/kubernetes/client/models/v2beta2_external_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_external_metric_status.py b/kubernetes/client/models/v2beta2_external_metric_status.py index 1ec55ff5c4..772d693a91 100644 --- a/kubernetes/client/models/v2beta2_external_metric_status.py +++ b/kubernetes/client/models/v2beta2_external_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler.py index 8ce4c19bd7..93ac1448f4 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_condition.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_condition.py index 644b1a6bed..83a1435e46 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_condition.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_condition.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_list.py index 6d8d1ab9ed..1b2cd9fd3b 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_list.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_spec.py index 20c7ec642d..99d62e7997 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_status.py index f9f12c4ba4..62cf4c7ad3 100644 --- a/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v2beta2_horizontal_pod_autoscaler_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_metric_identifier.py b/kubernetes/client/models/v2beta2_metric_identifier.py index 81328197d6..caa7765458 100644 --- a/kubernetes/client/models/v2beta2_metric_identifier.py +++ b/kubernetes/client/models/v2beta2_metric_identifier.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_metric_spec.py b/kubernetes/client/models/v2beta2_metric_spec.py index eab3a703d6..b416cfe7a8 100644 --- a/kubernetes/client/models/v2beta2_metric_spec.py +++ b/kubernetes/client/models/v2beta2_metric_spec.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_metric_status.py b/kubernetes/client/models/v2beta2_metric_status.py index ad4cbec1c8..a0d66b5333 100644 --- a/kubernetes/client/models/v2beta2_metric_status.py +++ b/kubernetes/client/models/v2beta2_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_metric_target.py b/kubernetes/client/models/v2beta2_metric_target.py index dc3c2e0f66..862c2e95de 100644 --- a/kubernetes/client/models/v2beta2_metric_target.py +++ b/kubernetes/client/models/v2beta2_metric_target.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_metric_value_status.py b/kubernetes/client/models/v2beta2_metric_value_status.py index eebed2ed55..50dad10a6b 100644 --- a/kubernetes/client/models/v2beta2_metric_value_status.py +++ b/kubernetes/client/models/v2beta2_metric_value_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_object_metric_source.py b/kubernetes/client/models/v2beta2_object_metric_source.py index f00e46c13b..6331445d2b 100644 --- a/kubernetes/client/models/v2beta2_object_metric_source.py +++ b/kubernetes/client/models/v2beta2_object_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_object_metric_status.py b/kubernetes/client/models/v2beta2_object_metric_status.py index 2bbfa2de4b..c5b3bc5e94 100644 --- a/kubernetes/client/models/v2beta2_object_metric_status.py +++ b/kubernetes/client/models/v2beta2_object_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_pods_metric_source.py b/kubernetes/client/models/v2beta2_pods_metric_source.py index 23c8e7e5a6..2bc375be49 100644 --- a/kubernetes/client/models/v2beta2_pods_metric_source.py +++ b/kubernetes/client/models/v2beta2_pods_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_pods_metric_status.py b/kubernetes/client/models/v2beta2_pods_metric_status.py index c10589c13c..507149d865 100644 --- a/kubernetes/client/models/v2beta2_pods_metric_status.py +++ b/kubernetes/client/models/v2beta2_pods_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_resource_metric_source.py b/kubernetes/client/models/v2beta2_resource_metric_source.py index 3b2733cffb..0bc1c12c4a 100644 --- a/kubernetes/client/models/v2beta2_resource_metric_source.py +++ b/kubernetes/client/models/v2beta2_resource_metric_source.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/v2beta2_resource_metric_status.py b/kubernetes/client/models/v2beta2_resource_metric_status.py index 1cecb3139d..f33b8ffb32 100644 --- a/kubernetes/client/models/v2beta2_resource_metric_status.py +++ b/kubernetes/client/models/v2beta2_resource_metric_status.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/models/version_info.py b/kubernetes/client/models/version_info.py index 2416762096..f8b30054d8 100644 --- a/kubernetes/client/models/version_info.py +++ b/kubernetes/client/models/version_info.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py index 38fe5452df..cc0c85cc56 100644 --- a/kubernetes/client/rest.py +++ b/kubernetes/client/rest.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.16 + The version of the OpenAPI document: release-1.17 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/docs/AdmissionregistrationV1Api.md b/kubernetes/docs/AdmissionregistrationV1Api.md index 11ea5693d3..8082624aed 100644 --- a/kubernetes/docs/AdmissionregistrationV1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1Api.md @@ -588,7 +588,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -609,7 +609,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -669,7 +669,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AdmissionregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -690,7 +690,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/AdmissionregistrationV1beta1Api.md b/kubernetes/docs/AdmissionregistrationV1beta1Api.md index 4ef776c713..47ff963427 100644 --- a/kubernetes/docs/AdmissionregistrationV1beta1Api.md +++ b/kubernetes/docs/AdmissionregistrationV1beta1Api.md @@ -588,7 +588,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AdmissionregistrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -609,7 +609,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -669,7 +669,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AdmissionregistrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -690,7 +690,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/ApiextensionsV1Api.md b/kubernetes/docs/ApiextensionsV1Api.md index 127f3d4b6c..9c2003ba1d 100644 --- a/kubernetes/docs/ApiextensionsV1Api.md +++ b/kubernetes/docs/ApiextensionsV1Api.md @@ -346,7 +346,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ApiextensionsV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -367,7 +367,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/ApiextensionsV1beta1Api.md b/kubernetes/docs/ApiextensionsV1beta1Api.md index e3f6fa8a64..720889d380 100644 --- a/kubernetes/docs/ApiextensionsV1beta1Api.md +++ b/kubernetes/docs/ApiextensionsV1beta1Api.md @@ -346,7 +346,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ApiextensionsV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -367,7 +367,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/ApiregistrationV1Api.md b/kubernetes/docs/ApiregistrationV1Api.md index b3315ae27d..f3cb234eca 100644 --- a/kubernetes/docs/ApiregistrationV1Api.md +++ b/kubernetes/docs/ApiregistrationV1Api.md @@ -346,7 +346,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ApiregistrationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -367,7 +367,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/ApiregistrationV1beta1Api.md b/kubernetes/docs/ApiregistrationV1beta1Api.md index 3182cfaa5e..6c4268be2b 100644 --- a/kubernetes/docs/ApiregistrationV1beta1Api.md +++ b/kubernetes/docs/ApiregistrationV1beta1Api.md @@ -346,7 +346,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ApiregistrationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -367,7 +367,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/AppsV1Api.md b/kubernetes/docs/AppsV1Api.md index 5f2ed9aebe..b6584a622e 100644 --- a/kubernetes/docs/AppsV1Api.md +++ b/kubernetes/docs/AppsV1Api.md @@ -1378,7 +1378,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1399,7 +1399,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1459,7 +1459,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1480,7 +1480,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1540,7 +1540,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1561,7 +1561,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1623,7 +1623,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1645,7 +1645,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1706,7 +1706,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1728,7 +1728,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1789,7 +1789,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1811,7 +1811,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1872,7 +1872,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1894,7 +1894,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1955,7 +1955,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1977,7 +1977,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2036,7 +2036,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2057,7 +2057,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2117,7 +2117,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2138,7 +2138,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/AppsV1beta1Api.md b/kubernetes/docs/AppsV1beta1Api.md index 9ff7b4d217..1e8f6b33c8 100644 --- a/kubernetes/docs/AppsV1beta1Api.md +++ b/kubernetes/docs/AppsV1beta1Api.md @@ -943,7 +943,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -964,7 +964,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1024,7 +1024,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1045,7 +1045,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1107,7 +1107,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1129,7 +1129,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1190,7 +1190,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1212,7 +1212,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1273,7 +1273,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1295,7 +1295,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1354,7 +1354,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1375,7 +1375,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/AppsV1beta2Api.md b/kubernetes/docs/AppsV1beta2Api.md index 11be01ebd6..fb0e914d57 100644 --- a/kubernetes/docs/AppsV1beta2Api.md +++ b/kubernetes/docs/AppsV1beta2Api.md @@ -1378,7 +1378,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1beta2Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1399,7 +1399,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1459,7 +1459,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1beta2Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1480,7 +1480,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1540,7 +1540,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1beta2Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1561,7 +1561,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1623,7 +1623,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1645,7 +1645,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1706,7 +1706,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1728,7 +1728,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1789,7 +1789,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1811,7 +1811,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1872,7 +1872,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1894,7 +1894,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1955,7 +1955,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AppsV1beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1977,7 +1977,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2036,7 +2036,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1beta2Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2057,7 +2057,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2117,7 +2117,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AppsV1beta2Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2138,7 +2138,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/AuditregistrationV1alpha1Api.md b/kubernetes/docs/AuditregistrationV1alpha1Api.md index 0be136e630..589289e229 100644 --- a/kubernetes/docs/AuditregistrationV1alpha1Api.md +++ b/kubernetes/docs/AuditregistrationV1alpha1Api.md @@ -343,7 +343,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AuditregistrationV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -364,7 +364,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/AutoscalingV1Api.md b/kubernetes/docs/AutoscalingV1Api.md index 6262c1d8d9..e4f00ca448 100644 --- a/kubernetes/docs/AutoscalingV1Api.md +++ b/kubernetes/docs/AutoscalingV1Api.md @@ -352,7 +352,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AutoscalingV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -435,7 +435,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AutoscalingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -457,7 +457,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/AutoscalingV2beta1Api.md b/kubernetes/docs/AutoscalingV2beta1Api.md index a19339aa5a..198f2c6d8d 100644 --- a/kubernetes/docs/AutoscalingV2beta1Api.md +++ b/kubernetes/docs/AutoscalingV2beta1Api.md @@ -352,7 +352,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AutoscalingV2beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -435,7 +435,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AutoscalingV2beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -457,7 +457,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/AutoscalingV2beta2Api.md b/kubernetes/docs/AutoscalingV2beta2Api.md index 3a8186392d..66441a40ff 100644 --- a/kubernetes/docs/AutoscalingV2beta2Api.md +++ b/kubernetes/docs/AutoscalingV2beta2Api.md @@ -352,7 +352,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.AutoscalingV2beta2Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -435,7 +435,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.AutoscalingV2beta2Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -457,7 +457,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/BatchV1Api.md b/kubernetes/docs/BatchV1Api.md index 53eb236417..74cdde0617 100644 --- a/kubernetes/docs/BatchV1Api.md +++ b/kubernetes/docs/BatchV1Api.md @@ -352,7 +352,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.BatchV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -435,7 +435,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.BatchV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -457,7 +457,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/BatchV1beta1Api.md b/kubernetes/docs/BatchV1beta1Api.md index b437fa9bc8..0ea9e716c9 100644 --- a/kubernetes/docs/BatchV1beta1Api.md +++ b/kubernetes/docs/BatchV1beta1Api.md @@ -352,7 +352,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.BatchV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -435,7 +435,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.BatchV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -457,7 +457,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/BatchV2alpha1Api.md b/kubernetes/docs/BatchV2alpha1Api.md index 9e588f8806..3dfc07519f 100644 --- a/kubernetes/docs/BatchV2alpha1Api.md +++ b/kubernetes/docs/BatchV2alpha1Api.md @@ -352,7 +352,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.BatchV2alpha1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -435,7 +435,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.BatchV2alpha1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -457,7 +457,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/CertificatesV1beta1Api.md b/kubernetes/docs/CertificatesV1beta1Api.md index 74d62f367b..4b6a7c222f 100644 --- a/kubernetes/docs/CertificatesV1beta1Api.md +++ b/kubernetes/docs/CertificatesV1beta1Api.md @@ -347,7 +347,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CertificatesV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -368,7 +368,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/CoordinationV1Api.md b/kubernetes/docs/CoordinationV1Api.md index 3fc6fbee06..df776d40ff 100644 --- a/kubernetes/docs/CoordinationV1Api.md +++ b/kubernetes/docs/CoordinationV1Api.md @@ -349,7 +349,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoordinationV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -370,7 +370,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -432,7 +432,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoordinationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -454,7 +454,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/CoordinationV1beta1Api.md b/kubernetes/docs/CoordinationV1beta1Api.md index 96ba78dd11..b8b28de7cc 100644 --- a/kubernetes/docs/CoordinationV1beta1Api.md +++ b/kubernetes/docs/CoordinationV1beta1Api.md @@ -349,7 +349,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoordinationV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -370,7 +370,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -432,7 +432,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoordinationV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -454,7 +454,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/CoreV1Api.md b/kubernetes/docs/CoreV1Api.md index 3fa3ee0fb4..454e1118ad 100644 --- a/kubernetes/docs/CoreV1Api.md +++ b/kubernetes/docs/CoreV1Api.md @@ -7429,7 +7429,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -7450,7 +7450,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -7510,7 +7510,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -7531,7 +7531,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -7591,7 +7591,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -7612,7 +7612,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -7672,7 +7672,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -7693,7 +7693,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -7753,7 +7753,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -7774,7 +7774,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -7835,7 +7835,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -7856,7 +7856,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -7917,7 +7917,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -7939,7 +7939,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8000,7 +8000,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8022,7 +8022,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8083,7 +8083,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8105,7 +8105,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8166,7 +8166,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8188,7 +8188,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8249,7 +8249,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8271,7 +8271,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8332,7 +8332,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8354,7 +8354,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8415,7 +8415,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8437,7 +8437,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8498,7 +8498,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8520,7 +8520,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8581,7 +8581,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8603,7 +8603,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8664,7 +8664,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8686,7 +8686,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8747,7 +8747,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8769,7 +8769,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8830,7 +8830,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.CoreV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8852,7 +8852,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8912,7 +8912,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -8933,7 +8933,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -8993,7 +8993,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9014,7 +9014,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -9073,7 +9073,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9094,7 +9094,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -9154,7 +9154,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9175,7 +9175,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -9235,7 +9235,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9256,7 +9256,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -9316,7 +9316,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9337,7 +9337,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -9397,7 +9397,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9418,7 +9418,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -9478,7 +9478,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9499,7 +9499,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -9559,7 +9559,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9580,7 +9580,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -9640,7 +9640,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.CoreV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -9661,7 +9661,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -12241,7 +12241,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_pod_log** -> str read_namespaced_pod_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps) +> str read_namespaced_pod_log(name, namespace, container=container, follow=follow, insecure_skip_tls_verify_backend=insecure_skip_tls_verify_backend, limit_bytes=limit_bytes, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps) @@ -12273,6 +12273,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects container = 'container_example' # str | The container for which to stream logs. Defaults to only container if there is one container in the pod. (optional) follow = True # bool | Follow the log stream of the pod. Defaults to false. (optional) +insecure_skip_tls_verify_backend = True # bool | insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). (optional) limit_bytes = 56 # int | 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. (optional) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) previous = True # bool | Return previous terminated container logs. Defaults to false. (optional) @@ -12281,7 +12282,7 @@ tail_lines = 56 # int | If set, the number of lines from the end of the logs to timestamps = True # bool | If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line of log output. Defaults to false. (optional) try: - api_response = api_instance.read_namespaced_pod_log(name, namespace, container=container, follow=follow, limit_bytes=limit_bytes, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps) + api_response = api_instance.read_namespaced_pod_log(name, namespace, container=container, follow=follow, insecure_skip_tls_verify_backend=insecure_skip_tls_verify_backend, limit_bytes=limit_bytes, pretty=pretty, previous=previous, since_seconds=since_seconds, tail_lines=tail_lines, timestamps=timestamps) pprint(api_response) except ApiException as e: print("Exception when calling CoreV1Api->read_namespaced_pod_log: %s\n" % e) @@ -12295,6 +12296,7 @@ Name | Type | Description | Notes **namespace** | **str**| object name and auth scope, such as for teams and projects | **container** | **str**| The container for which to stream logs. Defaults to only container if there is one container in the pod. | [optional] **follow** | **bool**| Follow the log stream of the pod. Defaults to false. | [optional] + **insecure_skip_tls_verify_backend** | **bool**| insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet). | [optional] **limit_bytes** | **int**| 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. | [optional] **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **previous** | **bool**| Return previous terminated container logs. Defaults to false. | [optional] diff --git a/kubernetes/docs/DiscoveryV1alpha1Api.md b/kubernetes/docs/DiscoveryV1beta1Api.md similarity index 91% rename from kubernetes/docs/DiscoveryV1alpha1Api.md rename to kubernetes/docs/DiscoveryV1beta1Api.md index 5b934d7167..15792affda 100644 --- a/kubernetes/docs/DiscoveryV1alpha1Api.md +++ b/kubernetes/docs/DiscoveryV1beta1Api.md @@ -1,22 +1,22 @@ -# kubernetes.client.DiscoveryV1alpha1Api +# kubernetes.client.DiscoveryV1beta1Api All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**create_namespaced_endpoint_slice**](DiscoveryV1alpha1Api.md#create_namespaced_endpoint_slice) | **POST** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices | -[**delete_collection_namespaced_endpoint_slice**](DiscoveryV1alpha1Api.md#delete_collection_namespaced_endpoint_slice) | **DELETE** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices | -[**delete_namespaced_endpoint_slice**](DiscoveryV1alpha1Api.md#delete_namespaced_endpoint_slice) | **DELETE** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name} | -[**get_api_resources**](DiscoveryV1alpha1Api.md#get_api_resources) | **GET** /apis/discovery.k8s.io/v1alpha1/ | -[**list_endpoint_slice_for_all_namespaces**](DiscoveryV1alpha1Api.md#list_endpoint_slice_for_all_namespaces) | **GET** /apis/discovery.k8s.io/v1alpha1/endpointslices | -[**list_namespaced_endpoint_slice**](DiscoveryV1alpha1Api.md#list_namespaced_endpoint_slice) | **GET** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices | -[**patch_namespaced_endpoint_slice**](DiscoveryV1alpha1Api.md#patch_namespaced_endpoint_slice) | **PATCH** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name} | -[**read_namespaced_endpoint_slice**](DiscoveryV1alpha1Api.md#read_namespaced_endpoint_slice) | **GET** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name} | -[**replace_namespaced_endpoint_slice**](DiscoveryV1alpha1Api.md#replace_namespaced_endpoint_slice) | **PUT** /apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name} | +[**create_namespaced_endpoint_slice**](DiscoveryV1beta1Api.md#create_namespaced_endpoint_slice) | **POST** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices | +[**delete_collection_namespaced_endpoint_slice**](DiscoveryV1beta1Api.md#delete_collection_namespaced_endpoint_slice) | **DELETE** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices | +[**delete_namespaced_endpoint_slice**](DiscoveryV1beta1Api.md#delete_namespaced_endpoint_slice) | **DELETE** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} | +[**get_api_resources**](DiscoveryV1beta1Api.md#get_api_resources) | **GET** /apis/discovery.k8s.io/v1beta1/ | +[**list_endpoint_slice_for_all_namespaces**](DiscoveryV1beta1Api.md#list_endpoint_slice_for_all_namespaces) | **GET** /apis/discovery.k8s.io/v1beta1/endpointslices | +[**list_namespaced_endpoint_slice**](DiscoveryV1beta1Api.md#list_namespaced_endpoint_slice) | **GET** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices | +[**patch_namespaced_endpoint_slice**](DiscoveryV1beta1Api.md#patch_namespaced_endpoint_slice) | **PATCH** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} | +[**read_namespaced_endpoint_slice**](DiscoveryV1beta1Api.md#read_namespaced_endpoint_slice) | **GET** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} | +[**replace_namespaced_endpoint_slice**](DiscoveryV1beta1Api.md#replace_namespaced_endpoint_slice) | **PUT** /apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name} | # **create_namespaced_endpoint_slice** -> V1alpha1EndpointSlice create_namespaced_endpoint_slice(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) +> V1beta1EndpointSlice create_namespaced_endpoint_slice(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) @@ -43,9 +43,9 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha1EndpointSlice() # V1alpha1EndpointSlice | +body = kubernetes.client.V1beta1EndpointSlice() # V1beta1EndpointSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -54,7 +54,7 @@ field_manager = 'field_manager_example' # str | fieldManager is a name associate api_response = api_instance.create_namespaced_endpoint_slice(namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->create_namespaced_endpoint_slice: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->create_namespaced_endpoint_slice: %s\n" % e) ``` ### Parameters @@ -62,14 +62,14 @@ field_manager = 'field_manager_example' # str | fieldManager is a name associate Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha1EndpointSlice**](V1alpha1EndpointSlice.md)| | + **body** | [**V1beta1EndpointSlice**](V1beta1EndpointSlice.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] ### Return type -[**V1alpha1EndpointSlice**](V1alpha1EndpointSlice.md) +[**V1beta1EndpointSlice**](V1beta1EndpointSlice.md) ### Authorization @@ -118,7 +118,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) @@ -137,7 +137,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_collection_namespaced_endpoint_slice(namespace, pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->delete_collection_namespaced_endpoint_slice: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->delete_collection_namespaced_endpoint_slice: %s\n" % e) ``` ### Parameters @@ -207,7 +207,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) name = 'name_example' # str | name of the EndpointSlice namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) @@ -221,7 +221,7 @@ body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) api_response = api_instance.delete_namespaced_endpoint_slice(name, namespace, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->delete_namespaced_endpoint_slice: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->delete_namespaced_endpoint_slice: %s\n" % e) ``` ### Parameters @@ -287,13 +287,13 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) try: api_response = api_instance.get_api_resources() pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->get_api_resources: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->get_api_resources: %s\n" % e) ``` ### Parameters @@ -321,7 +321,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_endpoint_slice_for_all_namespaces** -> V1alpha1EndpointSliceList list_endpoint_slice_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1beta1EndpointSliceList list_endpoint_slice_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -348,8 +348,8 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -363,14 +363,14 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_endpoint_slice_for_all_namespaces(allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, pretty=pretty, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->list_endpoint_slice_for_all_namespaces: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->list_endpoint_slice_for_all_namespaces: %s\n" % e) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -382,7 +382,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1EndpointSliceList**](V1alpha1EndpointSliceList.md) +[**V1beta1EndpointSliceList**](V1beta1EndpointSliceList.md) ### Authorization @@ -402,7 +402,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list_namespaced_endpoint_slice** -> V1alpha1EndpointSliceList list_namespaced_endpoint_slice(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) +> V1beta1EndpointSliceList list_namespaced_endpoint_slice(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -429,10 +429,10 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -445,7 +445,7 @@ watch = True # bool | Watch for changes to the described resources and return th api_response = api_instance.list_namespaced_endpoint_slice(namespace, pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->list_namespaced_endpoint_slice: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->list_namespaced_endpoint_slice: %s\n" % e) ``` ### Parameters @@ -454,7 +454,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -465,7 +465,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1EndpointSliceList**](V1alpha1EndpointSliceList.md) +[**V1beta1EndpointSliceList**](V1beta1EndpointSliceList.md) ### Authorization @@ -485,7 +485,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **patch_namespaced_endpoint_slice** -> V1alpha1EndpointSlice patch_namespaced_endpoint_slice(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) +> V1beta1EndpointSlice patch_namespaced_endpoint_slice(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) @@ -512,7 +512,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) name = 'name_example' # str | name of the EndpointSlice namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects body = None # object | @@ -525,7 +525,7 @@ force = True # bool | Force is going to \"force\" Apply requests. It means user api_response = api_instance.patch_namespaced_endpoint_slice(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->patch_namespaced_endpoint_slice: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->patch_namespaced_endpoint_slice: %s\n" % e) ``` ### Parameters @@ -542,7 +542,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1EndpointSlice**](V1alpha1EndpointSlice.md) +[**V1beta1EndpointSlice**](V1beta1EndpointSlice.md) ### Authorization @@ -562,7 +562,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **read_namespaced_endpoint_slice** -> V1alpha1EndpointSlice read_namespaced_endpoint_slice(name, namespace, pretty=pretty, exact=exact, export=export) +> V1beta1EndpointSlice read_namespaced_endpoint_slice(name, namespace, pretty=pretty, exact=exact, export=export) @@ -589,7 +589,7 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) name = 'name_example' # str | name of the EndpointSlice namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) @@ -600,7 +600,7 @@ export = True # bool | Should this value be exported. Export strips fields that api_response = api_instance.read_namespaced_endpoint_slice(name, namespace, pretty=pretty, exact=exact, export=export) pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->read_namespaced_endpoint_slice: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->read_namespaced_endpoint_slice: %s\n" % e) ``` ### Parameters @@ -615,7 +615,7 @@ Name | Type | Description | Notes ### Return type -[**V1alpha1EndpointSlice**](V1alpha1EndpointSlice.md) +[**V1beta1EndpointSlice**](V1beta1EndpointSlice.md) ### Authorization @@ -635,7 +635,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **replace_namespaced_endpoint_slice** -> V1alpha1EndpointSlice replace_namespaced_endpoint_slice(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) +> V1beta1EndpointSlice replace_namespaced_endpoint_slice(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) @@ -662,10 +662,10 @@ configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class - api_instance = kubernetes.client.DiscoveryV1alpha1Api(api_client) + api_instance = kubernetes.client.DiscoveryV1beta1Api(api_client) name = 'name_example' # str | name of the EndpointSlice namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects -body = kubernetes.client.V1alpha1EndpointSlice() # V1alpha1EndpointSlice | +body = kubernetes.client.V1beta1EndpointSlice() # V1beta1EndpointSlice | pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) @@ -674,7 +674,7 @@ field_manager = 'field_manager_example' # str | fieldManager is a name associate api_response = api_instance.replace_namespaced_endpoint_slice(name, namespace, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) pprint(api_response) except ApiException as e: - print("Exception when calling DiscoveryV1alpha1Api->replace_namespaced_endpoint_slice: %s\n" % e) + print("Exception when calling DiscoveryV1beta1Api->replace_namespaced_endpoint_slice: %s\n" % e) ``` ### Parameters @@ -683,14 +683,14 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **name** | **str**| name of the EndpointSlice | **namespace** | **str**| object name and auth scope, such as for teams and projects | - **body** | [**V1alpha1EndpointSlice**](V1alpha1EndpointSlice.md)| | + **body** | [**V1beta1EndpointSlice**](V1beta1EndpointSlice.md)| | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] ### Return type -[**V1alpha1EndpointSlice**](V1alpha1EndpointSlice.md) +[**V1beta1EndpointSlice**](V1beta1EndpointSlice.md) ### Authorization diff --git a/kubernetes/docs/EventsV1beta1Api.md b/kubernetes/docs/EventsV1beta1Api.md index 25a310332a..916bc8dc60 100644 --- a/kubernetes/docs/EventsV1beta1Api.md +++ b/kubernetes/docs/EventsV1beta1Api.md @@ -349,7 +349,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.EventsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -370,7 +370,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -432,7 +432,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.EventsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -454,7 +454,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/ExtensionsV1beta1Api.md b/kubernetes/docs/ExtensionsV1beta1Api.md index 09fcb47841..86c290f1b0 100644 --- a/kubernetes/docs/ExtensionsV1beta1Api.md +++ b/kubernetes/docs/ExtensionsV1beta1Api.md @@ -1701,7 +1701,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1722,7 +1722,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1782,7 +1782,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1803,7 +1803,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1863,7 +1863,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1884,7 +1884,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1946,7 +1946,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1968,7 +1968,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2029,7 +2029,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2051,7 +2051,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2112,7 +2112,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2134,7 +2134,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2195,7 +2195,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2217,7 +2217,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2278,7 +2278,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2300,7 +2300,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2359,7 +2359,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2380,7 +2380,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2441,7 +2441,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2462,7 +2462,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -2521,7 +2521,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.ExtensionsV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -2542,7 +2542,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/FlowcontrolApiserverApi.md b/kubernetes/docs/FlowcontrolApiserverApi.md new file mode 100644 index 0000000000..9b9a17aff1 --- /dev/null +++ b/kubernetes/docs/FlowcontrolApiserverApi.md @@ -0,0 +1,70 @@ +# kubernetes.client.FlowcontrolApiserverApi + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_api_group**](FlowcontrolApiserverApi.md#get_api_group) | **GET** /apis/flowcontrol.apiserver.k8s.io/ | + + +# **get_api_group** +> V1APIGroup get_api_group() + + + +get information of a group + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverApi(api_client) + + try: + api_response = api_instance.get_api_group() + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverApi->get_api_group: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIGroup**](V1APIGroup.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/kubernetes/docs/FlowcontrolApiserverV1alpha1Api.md b/kubernetes/docs/FlowcontrolApiserverV1alpha1Api.md new file mode 100644 index 0000000000..d98f66e483 --- /dev/null +++ b/kubernetes/docs/FlowcontrolApiserverV1alpha1Api.md @@ -0,0 +1,1600 @@ +# kubernetes.client.FlowcontrolApiserverV1alpha1Api + +All URIs are relative to *http://localhost* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**create_flow_schema**](FlowcontrolApiserverV1alpha1Api.md#create_flow_schema) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas | +[**create_priority_level_configuration**](FlowcontrolApiserverV1alpha1Api.md#create_priority_level_configuration) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations | +[**delete_collection_flow_schema**](FlowcontrolApiserverV1alpha1Api.md#delete_collection_flow_schema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas | +[**delete_collection_priority_level_configuration**](FlowcontrolApiserverV1alpha1Api.md#delete_collection_priority_level_configuration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations | +[**delete_flow_schema**](FlowcontrolApiserverV1alpha1Api.md#delete_flow_schema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name} | +[**delete_priority_level_configuration**](FlowcontrolApiserverV1alpha1Api.md#delete_priority_level_configuration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name} | +[**get_api_resources**](FlowcontrolApiserverV1alpha1Api.md#get_api_resources) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/ | +[**list_flow_schema**](FlowcontrolApiserverV1alpha1Api.md#list_flow_schema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas | +[**list_priority_level_configuration**](FlowcontrolApiserverV1alpha1Api.md#list_priority_level_configuration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations | +[**patch_flow_schema**](FlowcontrolApiserverV1alpha1Api.md#patch_flow_schema) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name} | +[**patch_flow_schema_status**](FlowcontrolApiserverV1alpha1Api.md#patch_flow_schema_status) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status | +[**patch_priority_level_configuration**](FlowcontrolApiserverV1alpha1Api.md#patch_priority_level_configuration) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name} | +[**patch_priority_level_configuration_status**](FlowcontrolApiserverV1alpha1Api.md#patch_priority_level_configuration_status) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status | +[**read_flow_schema**](FlowcontrolApiserverV1alpha1Api.md#read_flow_schema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name} | +[**read_flow_schema_status**](FlowcontrolApiserverV1alpha1Api.md#read_flow_schema_status) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status | +[**read_priority_level_configuration**](FlowcontrolApiserverV1alpha1Api.md#read_priority_level_configuration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name} | +[**read_priority_level_configuration_status**](FlowcontrolApiserverV1alpha1Api.md#read_priority_level_configuration_status) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status | +[**replace_flow_schema**](FlowcontrolApiserverV1alpha1Api.md#replace_flow_schema) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name} | +[**replace_flow_schema_status**](FlowcontrolApiserverV1alpha1Api.md#replace_flow_schema_status) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status | +[**replace_priority_level_configuration**](FlowcontrolApiserverV1alpha1Api.md#replace_priority_level_configuration) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name} | +[**replace_priority_level_configuration_status**](FlowcontrolApiserverV1alpha1Api.md#replace_priority_level_configuration_status) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status | + + +# **create_flow_schema** +> V1alpha1FlowSchema create_flow_schema(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + + + +create a FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + body = kubernetes.client.V1alpha1FlowSchema() # V1alpha1FlowSchema | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + + try: + api_response = api_instance.create_flow_schema(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->create_flow_schema: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha1FlowSchema**](V1alpha1FlowSchema.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] + +### Return type + +[**V1alpha1FlowSchema**](V1alpha1FlowSchema.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **create_priority_level_configuration** +> V1alpha1PriorityLevelConfiguration create_priority_level_configuration(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + + + +create a PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + body = kubernetes.client.V1alpha1PriorityLevelConfiguration() # V1alpha1PriorityLevelConfiguration | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + + try: + api_response = api_instance.create_priority_level_configuration(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->create_priority_level_configuration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] + +### Return type + +[**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_collection_flow_schema** +> V1Status delete_collection_flow_schema(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, body=body) + + + +delete collection of FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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) +orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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 = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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 = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) + + try: + api_response = api_instance.delete_collection_flow_schema(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->delete_collection_flow_schema: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_collection_priority_level_configuration** +> V1Status delete_collection_priority_level_configuration(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, body=body) + + + +delete collection of PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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) +orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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 = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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 = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) + + try: + api_response = api_instance.delete_collection_priority_level_configuration(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->delete_collection_priority_level_configuration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_flow_schema** +> V1Status delete_flow_schema(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + + + +delete a FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the FlowSchema +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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 = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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 = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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 = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) + + try: + api_response = api_instance.delete_flow_schema(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->delete_flow_schema: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the FlowSchema | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **delete_priority_level_configuration** +> V1Status delete_priority_level_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + + + +delete a PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the PriorityLevelConfiguration +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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 = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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 = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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 = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) + + try: + api_response = api_instance.delete_priority_level_configuration(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->delete_priority_level_configuration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityLevelConfiguration | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **get_api_resources** +> V1APIResourceList get_api_resources() + + + +get available resources + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + + try: + api_response = api_instance.get_api_resources() + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->get_api_resources: %s\n" % e) +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**V1APIResourceList**](V1APIResourceList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_flow_schema** +> V1alpha1FlowSchemaList list_flow_schema(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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 = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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 = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + + try: + api_response = api_instance.list_flow_schema(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->list_flow_schema: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1FlowSchemaList**](V1alpha1FlowSchemaList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **list_priority_level_configuration** +> V1alpha1PriorityLevelConfigurationList list_priority_level_configuration(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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 = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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 = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + + try: + api_response = api_instance.list_priority_level_configuration(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->list_priority_level_configuration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1alpha1PriorityLevelConfigurationList**](V1alpha1PriorityLevelConfigurationList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_flow_schema** +> V1alpha1FlowSchema patch_flow_schema(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + + + +partially update the specified FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the FlowSchema +body = None # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) +force = True # bool | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + + try: + api_response = api_instance.patch_flow_schema(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->patch_flow_schema: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the FlowSchema | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] + **force** | **bool**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[**V1alpha1FlowSchema**](V1alpha1FlowSchema.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_flow_schema_status** +> V1alpha1FlowSchema patch_flow_schema_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + + + +partially update status of the specified FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the FlowSchema +body = None # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) +force = True # bool | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + + try: + api_response = api_instance.patch_flow_schema_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->patch_flow_schema_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the FlowSchema | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] + **force** | **bool**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[**V1alpha1FlowSchema**](V1alpha1FlowSchema.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_priority_level_configuration** +> V1alpha1PriorityLevelConfiguration patch_priority_level_configuration(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + + + +partially update the specified PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the PriorityLevelConfiguration +body = None # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) +force = True # bool | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + + try: + api_response = api_instance.patch_priority_level_configuration(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->patch_priority_level_configuration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityLevelConfiguration | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] + **force** | **bool**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **patch_priority_level_configuration_status** +> V1alpha1PriorityLevelConfiguration patch_priority_level_configuration_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + + + +partially update status of the specified PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the PriorityLevelConfiguration +body = None # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) +force = True # bool | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + + try: + api_response = api_instance.patch_priority_level_configuration_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->patch_priority_level_configuration_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityLevelConfiguration | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] + **force** | **bool**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_flow_schema** +> V1alpha1FlowSchema read_flow_schema(name, pretty=pretty, exact=exact, export=export) + + + +read the specified FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the FlowSchema +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = True # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. (optional) +export = True # bool | Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. (optional) + + try: + api_response = api_instance.read_flow_schema(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->read_flow_schema: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the FlowSchema | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. | [optional] + +### Return type + +[**V1alpha1FlowSchema**](V1alpha1FlowSchema.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_flow_schema_status** +> V1alpha1FlowSchema read_flow_schema_status(name, pretty=pretty) + + + +read status of the specified FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the FlowSchema +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + + try: + api_response = api_instance.read_flow_schema_status(name, pretty=pretty) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->read_flow_schema_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the FlowSchema | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1FlowSchema**](V1alpha1FlowSchema.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_priority_level_configuration** +> V1alpha1PriorityLevelConfiguration read_priority_level_configuration(name, pretty=pretty, exact=exact, export=export) + + + +read the specified PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the PriorityLevelConfiguration +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = True # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. (optional) +export = True # bool | Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. (optional) + + try: + api_response = api_instance.read_priority_level_configuration(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->read_priority_level_configuration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityLevelConfiguration | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. | [optional] + +### Return type + +[**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **read_priority_level_configuration_status** +> V1alpha1PriorityLevelConfiguration read_priority_level_configuration_status(name, pretty=pretty) + + + +read status of the specified PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the PriorityLevelConfiguration +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) + + try: + api_response = api_instance.read_priority_level_configuration_status(name, pretty=pretty) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->read_priority_level_configuration_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityLevelConfiguration | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + +### Return type + +[**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_flow_schema** +> V1alpha1FlowSchema replace_flow_schema(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + + + +replace the specified FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the FlowSchema +body = kubernetes.client.V1alpha1FlowSchema() # V1alpha1FlowSchema | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + + try: + api_response = api_instance.replace_flow_schema(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->replace_flow_schema: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the FlowSchema | + **body** | [**V1alpha1FlowSchema**](V1alpha1FlowSchema.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] + +### Return type + +[**V1alpha1FlowSchema**](V1alpha1FlowSchema.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_flow_schema_status** +> V1alpha1FlowSchema replace_flow_schema_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + + + +replace status of the specified FlowSchema + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the FlowSchema +body = kubernetes.client.V1alpha1FlowSchema() # V1alpha1FlowSchema | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + + try: + api_response = api_instance.replace_flow_schema_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->replace_flow_schema_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the FlowSchema | + **body** | [**V1alpha1FlowSchema**](V1alpha1FlowSchema.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] + +### Return type + +[**V1alpha1FlowSchema**](V1alpha1FlowSchema.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_priority_level_configuration** +> V1alpha1PriorityLevelConfiguration replace_priority_level_configuration(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + + + +replace the specified PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the PriorityLevelConfiguration +body = kubernetes.client.V1alpha1PriorityLevelConfiguration() # V1alpha1PriorityLevelConfiguration | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + + try: + api_response = api_instance.replace_priority_level_configuration(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->replace_priority_level_configuration: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityLevelConfiguration | + **body** | [**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] + +### Return type + +[**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **replace_priority_level_configuration_status** +> V1alpha1PriorityLevelConfiguration replace_priority_level_configuration_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + + + +replace status of the specified PriorityLevelConfiguration + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.FlowcontrolApiserverV1alpha1Api(api_client) + name = 'name_example' # str | name of the PriorityLevelConfiguration +body = kubernetes.client.V1alpha1PriorityLevelConfiguration() # V1alpha1PriorityLevelConfiguration | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + + try: + api_response = api_instance.replace_priority_level_configuration_status(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + pprint(api_response) + except ApiException as e: + print("Exception when calling FlowcontrolApiserverV1alpha1Api->replace_priority_level_configuration_status: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the PriorityLevelConfiguration | + **body** | [**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] + +### Return type + +[**V1alpha1PriorityLevelConfiguration**](V1alpha1PriorityLevelConfiguration.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + diff --git a/kubernetes/docs/FlowcontrolV1alpha1Subject.md b/kubernetes/docs/FlowcontrolV1alpha1Subject.md new file mode 100644 index 0000000000..33a47301ca --- /dev/null +++ b/kubernetes/docs/FlowcontrolV1alpha1Subject.md @@ -0,0 +1,14 @@ +# FlowcontrolV1alpha1Subject + +Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**group** | [**V1alpha1GroupSubject**](V1alpha1GroupSubject.md) | | [optional] +**kind** | **str** | Required | +**service_account** | [**V1alpha1ServiceAccountSubject**](V1alpha1ServiceAccountSubject.md) | | [optional] +**user** | [**V1alpha1UserSubject**](V1alpha1UserSubject.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/NetworkingV1Api.md b/kubernetes/docs/NetworkingV1Api.md index e367914b5f..fe07d87af2 100644 --- a/kubernetes/docs/NetworkingV1Api.md +++ b/kubernetes/docs/NetworkingV1Api.md @@ -351,7 +351,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.NetworkingV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -432,7 +432,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.NetworkingV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -453,7 +453,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/NetworkingV1beta1Api.md b/kubernetes/docs/NetworkingV1beta1Api.md index 91ccfe0b93..eb14297db0 100644 --- a/kubernetes/docs/NetworkingV1beta1Api.md +++ b/kubernetes/docs/NetworkingV1beta1Api.md @@ -352,7 +352,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.NetworkingV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -435,7 +435,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.NetworkingV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -457,7 +457,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/NodeV1alpha1Api.md b/kubernetes/docs/NodeV1alpha1Api.md index 8eccd4a5d5..d13d8abbba 100644 --- a/kubernetes/docs/NodeV1alpha1Api.md +++ b/kubernetes/docs/NodeV1alpha1Api.md @@ -343,7 +343,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.NodeV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -364,7 +364,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/NodeV1beta1Api.md b/kubernetes/docs/NodeV1beta1Api.md index fc360b9b0c..06a1e7c4d0 100644 --- a/kubernetes/docs/NodeV1beta1Api.md +++ b/kubernetes/docs/NodeV1beta1Api.md @@ -343,7 +343,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.NodeV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -364,7 +364,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/PolicyV1beta1Api.md b/kubernetes/docs/PolicyV1beta1Api.md index b7e7326b24..359748a031 100644 --- a/kubernetes/docs/PolicyV1beta1Api.md +++ b/kubernetes/docs/PolicyV1beta1Api.md @@ -599,7 +599,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.PolicyV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -621,7 +621,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -680,7 +680,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.PolicyV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -701,7 +701,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -762,7 +762,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.PolicyV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -783,7 +783,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/RbacAuthorizationV1Api.md b/kubernetes/docs/RbacAuthorizationV1Api.md index be081058fd..b8ad401ac7 100644 --- a/kubernetes/docs/RbacAuthorizationV1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1Api.md @@ -1092,7 +1092,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1113,7 +1113,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1173,7 +1173,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1194,7 +1194,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1255,7 +1255,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.RbacAuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1277,7 +1277,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1338,7 +1338,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.RbacAuthorizationV1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1360,7 +1360,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1419,7 +1419,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1440,7 +1440,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1500,7 +1500,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1521,7 +1521,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/RbacAuthorizationV1alpha1Api.md b/kubernetes/docs/RbacAuthorizationV1alpha1Api.md index 48b63b752a..fad8e371bc 100644 --- a/kubernetes/docs/RbacAuthorizationV1alpha1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1alpha1Api.md @@ -1092,7 +1092,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1113,7 +1113,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1173,7 +1173,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1194,7 +1194,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1255,7 +1255,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1277,7 +1277,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1338,7 +1338,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1360,7 +1360,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1419,7 +1419,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1440,7 +1440,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1500,7 +1500,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1alpha1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1521,7 +1521,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/RbacAuthorizationV1beta1Api.md b/kubernetes/docs/RbacAuthorizationV1beta1Api.md index 832731f3c7..e0a274e51c 100644 --- a/kubernetes/docs/RbacAuthorizationV1beta1Api.md +++ b/kubernetes/docs/RbacAuthorizationV1beta1Api.md @@ -1092,7 +1092,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1113,7 +1113,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1173,7 +1173,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1194,7 +1194,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1255,7 +1255,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1277,7 +1277,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1338,7 +1338,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1360,7 +1360,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1419,7 +1419,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1440,7 +1440,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1500,7 +1500,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.RbacAuthorizationV1beta1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1521,7 +1521,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/V1alpha1Subject.md b/kubernetes/docs/RbacV1alpha1Subject.md similarity index 98% rename from kubernetes/docs/V1alpha1Subject.md rename to kubernetes/docs/RbacV1alpha1Subject.md index 1e1d5153bc..78056f61b6 100644 --- a/kubernetes/docs/V1alpha1Subject.md +++ b/kubernetes/docs/RbacV1alpha1Subject.md @@ -1,4 +1,4 @@ -# V1alpha1Subject +# RbacV1alpha1Subject Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names. ## Properties diff --git a/kubernetes/docs/SchedulingV1Api.md b/kubernetes/docs/SchedulingV1Api.md index 925d73dbf4..182d20c565 100644 --- a/kubernetes/docs/SchedulingV1Api.md +++ b/kubernetes/docs/SchedulingV1Api.md @@ -343,7 +343,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.SchedulingV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -364,7 +364,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/SchedulingV1alpha1Api.md b/kubernetes/docs/SchedulingV1alpha1Api.md index 64c0574cba..6f615b0c1f 100644 --- a/kubernetes/docs/SchedulingV1alpha1Api.md +++ b/kubernetes/docs/SchedulingV1alpha1Api.md @@ -343,7 +343,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.SchedulingV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -364,7 +364,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/SchedulingV1beta1Api.md b/kubernetes/docs/SchedulingV1beta1Api.md index d919499c0e..28be5bcb54 100644 --- a/kubernetes/docs/SchedulingV1beta1Api.md +++ b/kubernetes/docs/SchedulingV1beta1Api.md @@ -343,7 +343,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.SchedulingV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -364,7 +364,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/SettingsV1alpha1Api.md b/kubernetes/docs/SettingsV1alpha1Api.md index 4182562b45..dd8a36f7b1 100644 --- a/kubernetes/docs/SettingsV1alpha1Api.md +++ b/kubernetes/docs/SettingsV1alpha1Api.md @@ -351,7 +351,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: api_instance = kubernetes.client.SettingsV1alpha1Api(api_client) namespace = 'namespace_example' # str | object name and auth scope, such as for teams and projects pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -373,7 +373,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **namespace** | **str**| object name and auth scope, such as for teams and projects | **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -432,7 +432,7 @@ configuration.host = "http://localhost" with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.SettingsV1alpha1Api(api_client) - allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) + allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -453,7 +453,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/StorageV1Api.md b/kubernetes/docs/StorageV1Api.md index ffd9ba5f71..4251b107db 100644 --- a/kubernetes/docs/StorageV1Api.md +++ b/kubernetes/docs/StorageV1Api.md @@ -4,26 +4,106 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- +[**create_csi_node**](StorageV1Api.md#create_csi_node) | **POST** /apis/storage.k8s.io/v1/csinodes | [**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_csi_node**](StorageV1Api.md#delete_collection_csi_node) | **DELETE** /apis/storage.k8s.io/v1/csinodes | [**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_csi_node**](StorageV1Api.md#delete_csi_node) | **DELETE** /apis/storage.k8s.io/v1/csinodes/{name} | [**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_csi_node**](StorageV1Api.md#list_csi_node) | **GET** /apis/storage.k8s.io/v1/csinodes | [**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_csi_node**](StorageV1Api.md#patch_csi_node) | **PATCH** /apis/storage.k8s.io/v1/csinodes/{name} | [**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_csi_node**](StorageV1Api.md#read_csi_node) | **GET** /apis/storage.k8s.io/v1/csinodes/{name} | [**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_csi_node**](StorageV1Api.md#replace_csi_node) | **PUT** /apis/storage.k8s.io/v1/csinodes/{name} | [**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_csi_node** +> V1CSINode create_csi_node(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + + + +create a CSINode + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1Api(api_client) + body = kubernetes.client.V1CSINode() # V1CSINode | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + + try: + api_response = api_instance.create_csi_node(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1Api->create_csi_node: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**V1CSINode**](V1CSINode.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] + +### Return type + +[**V1CSINode**](V1CSINode.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **create_storage_class** > V1StorageClass create_storage_class(body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) @@ -170,6 +250,93 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_collection_csi_node** +> V1Status delete_collection_csi_node(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, body=body) + + + +delete collection of CSINode + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1Api(api_client) + pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_selector = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +grace_period_seconds = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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) +orphan_dependents = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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 = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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) +resource_version = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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 = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) + + try: + api_response = api_instance.delete_collection_csi_node(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1Api->delete_collection_csi_node: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_selector** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **grace_period_seconds** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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] + **orphan_dependents** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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] + **resource_version** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_collection_storage_class** > V1Status delete_collection_storage_class(pretty=pretty, _continue=_continue, dry_run=dry_run, field_selector=field_selector, grace_period_seconds=grace_period_seconds, label_selector=label_selector, limit=limit, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, resource_version=resource_version, timeout_seconds=timeout_seconds, body=body) @@ -344,6 +511,84 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_csi_node** +> V1Status delete_csi_node(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + + + +delete a CSINode + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1Api(api_client) + name = 'name_example' # str | name of the CSINode +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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 = 56 # int | The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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 = True # bool | Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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 = 'propagation_policy_example' # str | Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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) +body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions | (optional) + + try: + api_response = api_instance.delete_csi_node(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1Api->delete_csi_node: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the CSINode | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will 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** | **int**| The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, 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** | **bool**| Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the \"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** | **str**| Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the 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] + **body** | [**V1DeleteOptions**](V1DeleteOptions.md)| | [optional] + +### Return type + +[**V1Status**](V1Status.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**202** | Accepted | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_storage_class** > V1Status delete_storage_class(name, pretty=pretty, dry_run=dry_run, grace_period_seconds=grace_period_seconds, orphan_dependents=orphan_dependents, propagation_policy=propagation_policy, body=body) @@ -561,6 +806,87 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **list_csi_node** +> V1CSINodeList list_csi_node(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + + + +list or watch objects of kind CSINode + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1Api(api_client) + pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) +_continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) +label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) +limit = 56 # int | limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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 = 'resource_version_example' # str | When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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 = 56 # int | Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. (optional) +watch = True # bool | Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. (optional) + + try: + api_response = api_instance.list_csi_node(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1Api->list_csi_node: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] + **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] + **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] + **limit** | **int**| limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and kubernetes.clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, kubernetes.clients may assume that no more results are available. This field is not supported if watch is true. The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a kubernetes.client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are 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** | **str**| When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return 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** | **int**| Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. | [optional] + **watch** | **bool**| Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. | [optional] + +### Return type + +[**V1CSINodeList**](V1CSINodeList.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf, application/json;stream=watch, application/vnd.kubernetes.protobuf;stream=watch + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **list_storage_class** > V1StorageClassList list_storage_class(pretty=pretty, allow_watch_bookmarks=allow_watch_bookmarks, _continue=_continue, field_selector=field_selector, label_selector=label_selector, limit=limit, resource_version=resource_version, timeout_seconds=timeout_seconds, watch=watch) @@ -591,7 +917,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -612,7 +938,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -672,7 +998,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.StorageV1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -693,7 +1019,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -723,6 +1049,81 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **patch_csi_node** +> V1CSINode patch_csi_node(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + + + +partially update the specified CSINode + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1Api(api_client) + name = 'name_example' # str | name of the CSINode +body = None # object | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). (optional) +force = True # bool | Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. (optional) + + try: + api_response = api_instance.patch_csi_node(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1Api->patch_csi_node: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the CSINode | + **body** | **object**| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | [optional] + **force** | **bool**| Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | [optional] + +### Return type + +[**V1CSINode**](V1CSINode.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: application/json-patch+json, application/merge-patch+json, application/strategic-merge-patch+json, application/apply-patch+yaml + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **patch_storage_class** > V1StorageClass patch_storage_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager, force=force) @@ -948,6 +1349,77 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **read_csi_node** +> V1CSINode read_csi_node(name, pretty=pretty, exact=exact, export=export) + + + +read the specified CSINode + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1Api(api_client) + name = 'name_example' # str | name of the CSINode +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +exact = True # bool | Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. (optional) +export = True # bool | Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. (optional) + + try: + api_response = api_instance.read_csi_node(name, pretty=pretty, exact=exact, export=export) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1Api->read_csi_node: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the CSINode | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **exact** | **bool**| Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18. | [optional] + **export** | **bool**| Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18. | [optional] + +### Return type + +[**V1CSINode**](V1CSINode.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **read_storage_class** > V1StorageClass read_storage_class(name, pretty=pretty, exact=exact, export=export) @@ -1157,6 +1629,80 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **replace_csi_node** +> V1CSINode replace_csi_node(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + + + +replace the specified CSINode + +### Example + +* Api Key Authentication (BearerToken): +```python +from __future__ import print_function +import time +import kubernetes.client +from kubernetes.client.rest import ApiException +from pprint import pprint +configuration = kubernetes.client.Configuration() +# Configure API key authorization: BearerToken +configuration.api_key['authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['authorization'] = 'Bearer' + +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" + +# Enter a context with an instance of the API kubernetes.client +with kubernetes.client.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = kubernetes.client.StorageV1Api(api_client) + name = 'name_example' # str | name of the CSINode +body = kubernetes.client.V1CSINode() # V1CSINode | +pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) +dry_run = 'dry_run_example' # str | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed (optional) +field_manager = 'field_manager_example' # str | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. (optional) + + try: + api_response = api_instance.replace_csi_node(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) + pprint(api_response) + except ApiException as e: + print("Exception when calling StorageV1Api->replace_csi_node: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **str**| name of the CSINode | + **body** | [**V1CSINode**](V1CSINode.md)| | + **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] + **dry_run** | **str**| When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | [optional] + **field_manager** | **str**| fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. | [optional] + +### Return type + +[**V1CSINode**](V1CSINode.md) + +### Authorization + +[BearerToken](../README.md#BearerToken) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, application/yaml, application/vnd.kubernetes.protobuf + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | +**201** | Created | - | +**401** | Unauthorized | - | + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **replace_storage_class** > V1StorageClass replace_storage_class(name, body, pretty=pretty, dry_run=dry_run, field_manager=field_manager) diff --git a/kubernetes/docs/StorageV1alpha1Api.md b/kubernetes/docs/StorageV1alpha1Api.md index 062441a279..35e61e1c98 100644 --- a/kubernetes/docs/StorageV1alpha1Api.md +++ b/kubernetes/docs/StorageV1alpha1Api.md @@ -343,7 +343,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.StorageV1alpha1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -364,7 +364,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/StorageV1beta1Api.md b/kubernetes/docs/StorageV1beta1Api.md index 3e28389ad8..32cb3fa8c8 100644 --- a/kubernetes/docs/StorageV1beta1Api.md +++ b/kubernetes/docs/StorageV1beta1Api.md @@ -1078,7 +1078,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.StorageV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1099,7 +1099,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1159,7 +1159,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.StorageV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1180,7 +1180,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1240,7 +1240,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.StorageV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1261,7 +1261,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] @@ -1321,7 +1321,7 @@ with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = kubernetes.client.StorageV1beta1Api(api_client) pretty = 'pretty_example' # str | If 'true', then the output is pretty printed. (optional) -allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. (optional) +allow_watch_bookmarks = True # bool | allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. (optional) _continue = '_continue_example' # str | The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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 = 'field_selector_example' # str | A selector to restrict the list of returned objects by their fields. Defaults to everything. (optional) label_selector = 'label_selector_example' # str | A selector to restrict the list of returned objects by their labels. Defaults to everything. (optional) @@ -1342,7 +1342,7 @@ watch = True # bool | Watch for changes to the described resources and return th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **pretty** | **str**| If 'true', then the output is pretty printed. | [optional] - **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. This field is beta. | [optional] + **allow_watch_bookmarks** | **bool**| allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored. | [optional] **_continue** | **str**| The continue option should be set when retrieving more results from the server. Since this value is server defined, kubernetes.clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the kubernetes.client needs a consistent list, it must restart their list without the continue field. Otherwise, the kubernetes.client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\". This field is not supported 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** | **str**| A selector to restrict the list of returned objects by their fields. Defaults to everything. | [optional] **label_selector** | **str**| A selector to restrict the list of returned objects by their labels. Defaults to everything. | [optional] diff --git a/kubernetes/docs/V1CSINode.md b/kubernetes/docs/V1CSINode.md new file mode 100644 index 0000000000..ba507cfe7f --- /dev/null +++ b/kubernetes/docs/V1CSINode.md @@ -0,0 +1,14 @@ +# V1CSINode + +CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | 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/sig-architecture/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1CSINodeSpec**](V1CSINodeSpec.md) | | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1CSINodeDriver.md b/kubernetes/docs/V1CSINodeDriver.md new file mode 100644 index 0000000000..8202fe52fb --- /dev/null +++ b/kubernetes/docs/V1CSINodeDriver.md @@ -0,0 +1,14 @@ +# V1CSINodeDriver + +CSINodeDriver holds information about the specification of one CSI driver installed on a node +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allocatable** | [**V1VolumeNodeResources**](V1VolumeNodeResources.md) | | [optional] +**name** | **str** | This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver. | +**node_id** | **str** | nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required. | +**topology_keys** | **list[str]** | topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1CSINodeList.md b/kubernetes/docs/V1CSINodeList.md new file mode 100644 index 0000000000..46b7c79d07 --- /dev/null +++ b/kubernetes/docs/V1CSINodeList.md @@ -0,0 +1,14 @@ +# V1CSINodeList + +CSINodeList is a collection of CSINode objects. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | 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/sig-architecture/api-conventions.md#resources | [optional] +**items** | [**list[V1CSINode]**](V1CSINode.md) | items is the list of CSINode | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1CSINodeSpec.md b/kubernetes/docs/V1CSINodeSpec.md new file mode 100644 index 0000000000..cc276b00c4 --- /dev/null +++ b/kubernetes/docs/V1CSINodeSpec.md @@ -0,0 +1,11 @@ +# V1CSINodeSpec + +CSINodeSpec holds information about the specification of all CSI drivers installed on a node +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**drivers** | [**list[V1CSINodeDriver]**](V1CSINodeDriver.md) | drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1CustomResourceDefinitionSpec.md b/kubernetes/docs/V1CustomResourceDefinitionSpec.md index 0c81ff817d..519279537a 100644 --- a/kubernetes/docs/V1CustomResourceDefinitionSpec.md +++ b/kubernetes/docs/V1CustomResourceDefinitionSpec.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **group** | **str** | group is the API group of the defined custom resource. The custom resources are served under `/apis/<group>/...`. Must match the name of the CustomResourceDefinition (in the form `<names.plural>.<group>`). | **names** | [**V1CustomResourceDefinitionNames**](V1CustomResourceDefinitionNames.md) | | **preserve_unknown_fields** | **bool** | preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. This field is deprecated in favor of setting `x-preserve-unknown-fields` to true in `spec.versions[*].schema.openAPIV3Schema`. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details. | [optional] -**scope** | **str** | scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`. | +**scope** | **str** | scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. | **versions** | [**list[V1CustomResourceDefinitionVersion]**](V1CustomResourceDefinitionVersion.md) | versions is the list of all API versions of the defined custom resource. Version names are used to compute the order in which served versions are listed in API discovery. 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. | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1JSONSchemaProps.md b/kubernetes/docs/V1JSONSchemaProps.md index 37cd75b579..d35d81f5c4 100644 --- a/kubernetes/docs/V1JSONSchemaProps.md +++ b/kubernetes/docs/V1JSONSchemaProps.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **exclusive_maximum** | **bool** | | [optional] **exclusive_minimum** | **bool** | | [optional] **external_docs** | [**V1ExternalDocumentation**](V1ExternalDocumentation.md) | | [optional] -**format** | **str** | | [optional] +**format** | **str** | format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. | [optional] **id** | **str** | | [optional] **items** | [**object**](.md) | JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. | [optional] **max_items** | **int** | | [optional] @@ -45,6 +45,7 @@ Name | Type | Description | Notes **x_kubernetes_int_or_string** | **bool** | x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns: 1) anyOf: - type: integer - type: string 2) allOf: - anyOf: - type: integer - type: string - ... zero or more | [optional] **x_kubernetes_list_map_keys** | **list[str]** | x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map. This tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). | [optional] **x_kubernetes_list_type** | **str** | x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values: 1) `atomic`: the list is treated as a single entity, like a scalar. Atomic lists will be entirely replaced when updated. This extension may be used on any type of list (struct, scalar, ...). 2) `set`: Sets are lists that must not have multiple items with the same value. Each value must be a scalar, an object with x-kubernetes-map-type `atomic` or an array with x-kubernetes-list-type `atomic`. 3) `map`: These lists are like maps in that their elements have a non-index key used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays. | [optional] +**x_kubernetes_map_type** | **str** | x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. | [optional] **x_kubernetes_preserve_unknown_fields** | **bool** | x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1ObjectMeta.md b/kubernetes/docs/V1ObjectMeta.md index b76fe8ece0..b97b6c1f9b 100644 --- a/kubernetes/docs/V1ObjectMeta.md +++ b/kubernetes/docs/V1ObjectMeta.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **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/sig-architecture/api-conventions.md#metadata | [optional] **deletion_grace_period_seconds** | **int** | 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 kubernetes.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/sig-architecture/api-conventions.md#metadata | [optional] -**finalizers** | **list[str]** | 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] +**finalizers** | **list[str]** | 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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list. | [optional] **generate_name** | **str** | 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 kubernetes.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 kubernetes.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/sig-architecture/api-conventions.md#idempotency | [optional] **generation** | **int** | A sequence number representing a specific generation of the desired state. Populated by the system. Read-only. | [optional] **labels** | **dict(str, str)** | Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels | [optional] diff --git a/kubernetes/docs/V1PodSpec.md b/kubernetes/docs/V1PodSpec.md index 63916ebab1..e6cba35c85 100644 --- a/kubernetes/docs/V1PodSpec.md +++ b/kubernetes/docs/V1PodSpec.md @@ -32,7 +32,7 @@ Name | Type | Description | Notes **security_context** | [**V1PodSecurityContext**](V1PodSecurityContext.md) | | [optional] **service_account** | **str** | DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead. | [optional] **service_account_name** | **str** | 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** | **bool** | 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] +**share_process_namespace** | **bool** | 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. | [optional] **subdomain** | **str** | 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** | **int** | 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** | [**list[V1Toleration]**](V1Toleration.md) | If specified, the pod's tolerations. | [optional] diff --git a/kubernetes/docs/V1ServiceSpec.md b/kubernetes/docs/V1ServiceSpec.md index 9ea470ea86..6a9814eccc 100644 --- a/kubernetes/docs/V1ServiceSpec.md +++ b/kubernetes/docs/V1ServiceSpec.md @@ -17,6 +17,7 @@ Name | Type | Description | Notes **selector** | **dict(str, str)** | 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** | **str** | Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable kubernetes.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) | | [optional] +**topology_keys** | **list[str]** | topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the kubernetes.client, the service has no backends for that kubernetes.client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied. | [optional] **type** | **str** | type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1VolumeMount.md b/kubernetes/docs/V1VolumeMount.md index 8d15b17791..fde0b8527b 100644 --- a/kubernetes/docs/V1VolumeMount.md +++ b/kubernetes/docs/V1VolumeMount.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **name** | **str** | This must match the Name of a Volume. | **read_only** | **bool** | Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false. | [optional] **sub_path** | **str** | Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root). | [optional] -**sub_path_expr** | **str** | Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15. | [optional] +**sub_path_expr** | **str** | Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1VolumeNodeResources.md b/kubernetes/docs/V1VolumeNodeResources.md new file mode 100644 index 0000000000..931bfe0b8d --- /dev/null +++ b/kubernetes/docs/V1VolumeNodeResources.md @@ -0,0 +1,11 @@ +# V1VolumeNodeResources + +VolumeNodeResources is a set of resource limits for scheduling of volumes. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**count** | **int** | Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1WindowsSecurityContextOptions.md b/kubernetes/docs/V1WindowsSecurityContextOptions.md index 29e8e17182..a46da303b0 100644 --- a/kubernetes/docs/V1WindowsSecurityContextOptions.md +++ b/kubernetes/docs/V1WindowsSecurityContextOptions.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **gmsa_credential_spec** | **str** | GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag. | [optional] **gmsa_credential_spec_name** | **str** | GMSACredentialSpecName is the name of the GMSA credential spec to use. This field is alpha-level and is only honored by servers that enable the WindowsGMSA feature flag. | [optional] -**run_as_user_name** | **str** | The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag. | [optional] +**run_as_user_name** | **str** | The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is beta-level and may be disabled with the WindowsRunAsUserName feature flag. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1alpha1ClusterRole.md b/kubernetes/docs/V1alpha1ClusterRole.md index 3de290ec9f..b2a4d44dab 100644 --- a/kubernetes/docs/V1alpha1ClusterRole.md +++ b/kubernetes/docs/V1alpha1ClusterRole.md @@ -1,6 +1,6 @@ # V1alpha1ClusterRole -ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. +ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1alpha1ClusterRoleBinding.md b/kubernetes/docs/V1alpha1ClusterRoleBinding.md index 1ae894332a..2f1115826c 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleBinding.md +++ b/kubernetes/docs/V1alpha1ClusterRoleBinding.md @@ -1,6 +1,6 @@ # V1alpha1ClusterRoleBinding -ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. +ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -8,7 +8,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **role_ref** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | | -**subjects** | [**list[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] +**subjects** | [**list[RbacV1alpha1Subject]**](RbacV1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1alpha1ClusterRoleBindingList.md b/kubernetes/docs/V1alpha1ClusterRoleBindingList.md index 77f29baee4..67f3254199 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleBindingList.md +++ b/kubernetes/docs/V1alpha1ClusterRoleBindingList.md @@ -1,6 +1,6 @@ # V1alpha1ClusterRoleBindingList -ClusterRoleBindingList is a collection of ClusterRoleBindings +ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1alpha1ClusterRoleList.md b/kubernetes/docs/V1alpha1ClusterRoleList.md index b52881d004..827cd90a6c 100644 --- a/kubernetes/docs/V1alpha1ClusterRoleList.md +++ b/kubernetes/docs/V1alpha1ClusterRoleList.md @@ -1,6 +1,6 @@ # V1alpha1ClusterRoleList -ClusterRoleList is a collection of ClusterRoles +ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1alpha1FlowDistinguisherMethod.md b/kubernetes/docs/V1alpha1FlowDistinguisherMethod.md new file mode 100644 index 0000000000..89bd376a4a --- /dev/null +++ b/kubernetes/docs/V1alpha1FlowDistinguisherMethod.md @@ -0,0 +1,11 @@ +# V1alpha1FlowDistinguisherMethod + +FlowDistinguisherMethod specifies the method of a flow distinguisher. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | `type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1FlowSchema.md b/kubernetes/docs/V1alpha1FlowSchema.md new file mode 100644 index 0000000000..9325fab076 --- /dev/null +++ b/kubernetes/docs/V1alpha1FlowSchema.md @@ -0,0 +1,15 @@ +# V1alpha1FlowSchema + +FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\". +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | 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/sig-architecture/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1alpha1FlowSchemaSpec**](V1alpha1FlowSchemaSpec.md) | | [optional] +**status** | [**V1alpha1FlowSchemaStatus**](V1alpha1FlowSchemaStatus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1FlowSchemaCondition.md b/kubernetes/docs/V1alpha1FlowSchemaCondition.md new file mode 100644 index 0000000000..1f83a069a9 --- /dev/null +++ b/kubernetes/docs/V1alpha1FlowSchemaCondition.md @@ -0,0 +1,15 @@ +# V1alpha1FlowSchemaCondition + +FlowSchemaCondition describes conditions for a FlowSchema. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **datetime** | `lastTransitionTime` is the last time the condition transitioned from one status to another. | [optional] +**message** | **str** | `message` is a human-readable message indicating details about last transition. | [optional] +**reason** | **str** | `reason` is a unique, one-word, CamelCase reason for the condition's last transition. | [optional] +**status** | **str** | `status` is the status of the condition. Can be True, False, Unknown. Required. | [optional] +**type** | **str** | `type` is the type of the condition. Required. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1FlowSchemaList.md b/kubernetes/docs/V1alpha1FlowSchemaList.md new file mode 100644 index 0000000000..3ea71dc0bc --- /dev/null +++ b/kubernetes/docs/V1alpha1FlowSchemaList.md @@ -0,0 +1,14 @@ +# V1alpha1FlowSchemaList + +FlowSchemaList is a list of FlowSchema objects. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | 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/sig-architecture/api-conventions.md#resources | [optional] +**items** | [**list[V1alpha1FlowSchema]**](V1alpha1FlowSchema.md) | `items` is a list of FlowSchemas. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1FlowSchemaSpec.md b/kubernetes/docs/V1alpha1FlowSchemaSpec.md new file mode 100644 index 0000000000..8cdf6333f8 --- /dev/null +++ b/kubernetes/docs/V1alpha1FlowSchemaSpec.md @@ -0,0 +1,14 @@ +# V1alpha1FlowSchemaSpec + +FlowSchemaSpec describes how the FlowSchema's specification looks like. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**distinguisher_method** | [**V1alpha1FlowDistinguisherMethod**](V1alpha1FlowDistinguisherMethod.md) | | [optional] +**matching_precedence** | **int** | `matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default. | [optional] +**priority_level_configuration** | [**V1alpha1PriorityLevelConfigurationReference**](V1alpha1PriorityLevelConfigurationReference.md) | | +**rules** | [**list[V1alpha1PolicyRulesWithSubjects]**](V1alpha1PolicyRulesWithSubjects.md) | `rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1FlowSchemaStatus.md b/kubernetes/docs/V1alpha1FlowSchemaStatus.md new file mode 100644 index 0000000000..1a4f755a36 --- /dev/null +++ b/kubernetes/docs/V1alpha1FlowSchemaStatus.md @@ -0,0 +1,11 @@ +# V1alpha1FlowSchemaStatus + +FlowSchemaStatus represents the current state of a FlowSchema. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**list[V1alpha1FlowSchemaCondition]**](V1alpha1FlowSchemaCondition.md) | `conditions` is a list of the current states of FlowSchema. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1GroupSubject.md b/kubernetes/docs/V1alpha1GroupSubject.md new file mode 100644 index 0000000000..9e9f4ea2be --- /dev/null +++ b/kubernetes/docs/V1alpha1GroupSubject.md @@ -0,0 +1,11 @@ +# V1alpha1GroupSubject + +GroupSubject holds detailed information for group-kind subject. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1LimitResponse.md b/kubernetes/docs/V1alpha1LimitResponse.md new file mode 100644 index 0000000000..2b1d290f23 --- /dev/null +++ b/kubernetes/docs/V1alpha1LimitResponse.md @@ -0,0 +1,12 @@ +# V1alpha1LimitResponse + +LimitResponse defines how to handle requests that can not be executed right now. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**queuing** | [**V1alpha1QueuingConfiguration**](V1alpha1QueuingConfiguration.md) | | [optional] +**type** | **str** | `type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1LimitedPriorityLevelConfiguration.md b/kubernetes/docs/V1alpha1LimitedPriorityLevelConfiguration.md new file mode 100644 index 0000000000..adaf52cf72 --- /dev/null +++ b/kubernetes/docs/V1alpha1LimitedPriorityLevelConfiguration.md @@ -0,0 +1,12 @@ +# V1alpha1LimitedPriorityLevelConfiguration + +LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues: * How are requests for this priority level limited? * What should be done with requests that exceed the limit? +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**assured_concurrency_shares** | **int** | `assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level: ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) ) bigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30. | [optional] +**limit_response** | [**V1alpha1LimitResponse**](V1alpha1LimitResponse.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1NonResourcePolicyRule.md b/kubernetes/docs/V1alpha1NonResourcePolicyRule.md new file mode 100644 index 0000000000..b9924161f1 --- /dev/null +++ b/kubernetes/docs/V1alpha1NonResourcePolicyRule.md @@ -0,0 +1,12 @@ +# V1alpha1NonResourcePolicyRule + +NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**non_resource_ur_ls** | **list[str]** | `nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example: - \"/healthz\" is legal - \"/hea*\" is illegal - \"/hea\" is legal but matches nothing - \"/hea/*\" also matches nothing - \"/healthz/*\" matches all per-component health checks. \"*\" matches all non-resource urls. if it is present, it must be the only entry. Required. | +**verbs** | **list[str]** | `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1PolicyRulesWithSubjects.md b/kubernetes/docs/V1alpha1PolicyRulesWithSubjects.md new file mode 100644 index 0000000000..ca616b4822 --- /dev/null +++ b/kubernetes/docs/V1alpha1PolicyRulesWithSubjects.md @@ -0,0 +1,13 @@ +# V1alpha1PolicyRulesWithSubjects + +PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**non_resource_rules** | [**list[V1alpha1NonResourcePolicyRule]**](V1alpha1NonResourcePolicyRule.md) | `nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL. | [optional] +**resource_rules** | [**list[V1alpha1ResourcePolicyRule]**](V1alpha1ResourcePolicyRule.md) | `resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty. | [optional] +**subjects** | [**list[FlowcontrolV1alpha1Subject]**](FlowcontrolV1alpha1Subject.md) | subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1PriorityLevelConfiguration.md b/kubernetes/docs/V1alpha1PriorityLevelConfiguration.md new file mode 100644 index 0000000000..c664d8fc1f --- /dev/null +++ b/kubernetes/docs/V1alpha1PriorityLevelConfiguration.md @@ -0,0 +1,15 @@ +# V1alpha1PriorityLevelConfiguration + +PriorityLevelConfiguration represents the configuration of a priority level. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | 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/sig-architecture/api-conventions.md#resources | [optional] +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] +**spec** | [**V1alpha1PriorityLevelConfigurationSpec**](V1alpha1PriorityLevelConfigurationSpec.md) | | [optional] +**status** | [**V1alpha1PriorityLevelConfigurationStatus**](V1alpha1PriorityLevelConfigurationStatus.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1PriorityLevelConfigurationCondition.md b/kubernetes/docs/V1alpha1PriorityLevelConfigurationCondition.md new file mode 100644 index 0000000000..741e98f2e3 --- /dev/null +++ b/kubernetes/docs/V1alpha1PriorityLevelConfigurationCondition.md @@ -0,0 +1,15 @@ +# V1alpha1PriorityLevelConfigurationCondition + +PriorityLevelConfigurationCondition defines the condition of priority level. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**last_transition_time** | **datetime** | `lastTransitionTime` is the last time the condition transitioned from one status to another. | [optional] +**message** | **str** | `message` is a human-readable message indicating details about last transition. | [optional] +**reason** | **str** | `reason` is a unique, one-word, CamelCase reason for the condition's last transition. | [optional] +**status** | **str** | `status` is the status of the condition. Can be True, False, Unknown. Required. | [optional] +**type** | **str** | `type` is the type of the condition. Required. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1PriorityLevelConfigurationList.md b/kubernetes/docs/V1alpha1PriorityLevelConfigurationList.md new file mode 100644 index 0000000000..0d9f249180 --- /dev/null +++ b/kubernetes/docs/V1alpha1PriorityLevelConfigurationList.md @@ -0,0 +1,14 @@ +# V1alpha1PriorityLevelConfigurationList + +PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_version** | **str** | 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/sig-architecture/api-conventions.md#resources | [optional] +**items** | [**list[V1alpha1PriorityLevelConfiguration]**](V1alpha1PriorityLevelConfiguration.md) | `items` is a list of request-priorities. | +**kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] +**metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1PriorityLevelConfigurationReference.md b/kubernetes/docs/V1alpha1PriorityLevelConfigurationReference.md new file mode 100644 index 0000000000..f4afbb55df --- /dev/null +++ b/kubernetes/docs/V1alpha1PriorityLevelConfigurationReference.md @@ -0,0 +1,11 @@ +# V1alpha1PriorityLevelConfigurationReference + +PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | `name` is the name of the priority level configuration being referenced Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1PriorityLevelConfigurationSpec.md b/kubernetes/docs/V1alpha1PriorityLevelConfigurationSpec.md new file mode 100644 index 0000000000..47ea4b44ef --- /dev/null +++ b/kubernetes/docs/V1alpha1PriorityLevelConfigurationSpec.md @@ -0,0 +1,12 @@ +# V1alpha1PriorityLevelConfigurationSpec + +PriorityLevelConfigurationSpec specifies the configuration of a priority level. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**limited** | [**V1alpha1LimitedPriorityLevelConfiguration**](V1alpha1LimitedPriorityLevelConfiguration.md) | | [optional] +**type** | **str** | `type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1PriorityLevelConfigurationStatus.md b/kubernetes/docs/V1alpha1PriorityLevelConfigurationStatus.md new file mode 100644 index 0000000000..4b9242ddd3 --- /dev/null +++ b/kubernetes/docs/V1alpha1PriorityLevelConfigurationStatus.md @@ -0,0 +1,11 @@ +# V1alpha1PriorityLevelConfigurationStatus + +PriorityLevelConfigurationStatus represents the current state of a \"request-priority\". +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**conditions** | [**list[V1alpha1PriorityLevelConfigurationCondition]**](V1alpha1PriorityLevelConfigurationCondition.md) | `conditions` is the current state of \"request-priority\". | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1QueuingConfiguration.md b/kubernetes/docs/V1alpha1QueuingConfiguration.md new file mode 100644 index 0000000000..9a81363349 --- /dev/null +++ b/kubernetes/docs/V1alpha1QueuingConfiguration.md @@ -0,0 +1,13 @@ +# V1alpha1QueuingConfiguration + +QueuingConfiguration holds the configuration parameters for queuing +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hand_size** | **int** | `handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8. | [optional] +**queue_length_limit** | **int** | `queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50. | [optional] +**queues** | **int** | `queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1ResourcePolicyRule.md b/kubernetes/docs/V1alpha1ResourcePolicyRule.md new file mode 100644 index 0000000000..b6140ced9e --- /dev/null +++ b/kubernetes/docs/V1alpha1ResourcePolicyRule.md @@ -0,0 +1,15 @@ +# V1alpha1ResourcePolicyRule + +ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**api_groups** | **list[str]** | `apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required. | +**cluster_scope** | **bool** | `clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list. | [optional] +**namespaces** | **list[str]** | `namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true. | [optional] +**resources** | **list[str]** | `resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required. | +**verbs** | **list[str]** | `verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1Role.md b/kubernetes/docs/V1alpha1Role.md index 369bf3ea3b..755640f15d 100644 --- a/kubernetes/docs/V1alpha1Role.md +++ b/kubernetes/docs/V1alpha1Role.md @@ -1,6 +1,6 @@ # V1alpha1Role -Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. +Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1alpha1RoleBinding.md b/kubernetes/docs/V1alpha1RoleBinding.md index eb4492833b..5b3ac0185d 100644 --- a/kubernetes/docs/V1alpha1RoleBinding.md +++ b/kubernetes/docs/V1alpha1RoleBinding.md @@ -1,6 +1,6 @@ # V1alpha1RoleBinding -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. +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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- @@ -8,7 +8,7 @@ Name | Type | Description | Notes **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] **role_ref** | [**V1alpha1RoleRef**](V1alpha1RoleRef.md) | | -**subjects** | [**list[V1alpha1Subject]**](V1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] +**subjects** | [**list[RbacV1alpha1Subject]**](RbacV1alpha1Subject.md) | Subjects holds references to the objects the role applies to. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1alpha1RoleBindingList.md b/kubernetes/docs/V1alpha1RoleBindingList.md index f08727f7e8..6ff115cb5c 100644 --- a/kubernetes/docs/V1alpha1RoleBindingList.md +++ b/kubernetes/docs/V1alpha1RoleBindingList.md @@ -1,6 +1,6 @@ # V1alpha1RoleBindingList -RoleBindingList is a collection of RoleBindings +RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1alpha1RoleList.md b/kubernetes/docs/V1alpha1RoleList.md index 067e1a09c6..987bb161b3 100644 --- a/kubernetes/docs/V1alpha1RoleList.md +++ b/kubernetes/docs/V1alpha1RoleList.md @@ -1,6 +1,6 @@ # V1alpha1RoleList -RoleList is a collection of Roles +RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1alpha1ServiceAccountSubject.md b/kubernetes/docs/V1alpha1ServiceAccountSubject.md new file mode 100644 index 0000000000..e319a0e0a2 --- /dev/null +++ b/kubernetes/docs/V1alpha1ServiceAccountSubject.md @@ -0,0 +1,12 @@ +# V1alpha1ServiceAccountSubject + +ServiceAccountSubject holds detailed information for service-account-kind subject. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | `name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required. | +**namespace** | **str** | `namespace` is the namespace of matching ServiceAccount objects. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1alpha1UserSubject.md b/kubernetes/docs/V1alpha1UserSubject.md new file mode 100644 index 0000000000..d0982a4428 --- /dev/null +++ b/kubernetes/docs/V1alpha1UserSubject.md @@ -0,0 +1,11 @@ +# V1alpha1UserSubject + +UserSubject holds detailed information for user-kind subject. +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | `name` is the username that matches, or \"*\" to match all usernames. Required. | + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/kubernetes/docs/V1beta1CSINode.md b/kubernetes/docs/V1beta1CSINode.md index c0dd406ea0..4f3616ce56 100644 --- a/kubernetes/docs/V1beta1CSINode.md +++ b/kubernetes/docs/V1beta1CSINode.md @@ -1,6 +1,6 @@ # V1beta1CSINode -CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. +DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1beta1ClusterRole.md b/kubernetes/docs/V1beta1ClusterRole.md index d8da72b876..38d52d8667 100644 --- a/kubernetes/docs/V1beta1ClusterRole.md +++ b/kubernetes/docs/V1beta1ClusterRole.md @@ -1,6 +1,6 @@ # V1beta1ClusterRole -ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. +ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1beta1ClusterRoleBinding.md b/kubernetes/docs/V1beta1ClusterRoleBinding.md index c33b8acdfb..01aa83e1b7 100644 --- a/kubernetes/docs/V1beta1ClusterRoleBinding.md +++ b/kubernetes/docs/V1beta1ClusterRoleBinding.md @@ -1,6 +1,6 @@ # V1beta1ClusterRoleBinding -ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. +ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1beta1ClusterRoleBindingList.md b/kubernetes/docs/V1beta1ClusterRoleBindingList.md index 0fcdbddd5d..c8a53aee81 100644 --- a/kubernetes/docs/V1beta1ClusterRoleBindingList.md +++ b/kubernetes/docs/V1beta1ClusterRoleBindingList.md @@ -1,6 +1,6 @@ # V1beta1ClusterRoleBindingList -ClusterRoleBindingList is a collection of ClusterRoleBindings +ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1beta1ClusterRoleList.md b/kubernetes/docs/V1beta1ClusterRoleList.md index ce577617de..54d3143ab5 100644 --- a/kubernetes/docs/V1beta1ClusterRoleList.md +++ b/kubernetes/docs/V1beta1ClusterRoleList.md @@ -1,6 +1,6 @@ # V1beta1ClusterRoleList -ClusterRoleList is a collection of ClusterRoles +ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1alpha1Endpoint.md b/kubernetes/docs/V1beta1Endpoint.md similarity index 81% rename from kubernetes/docs/V1alpha1Endpoint.md rename to kubernetes/docs/V1beta1Endpoint.md index 9e5bfcb5c0..2f5d4d1543 100644 --- a/kubernetes/docs/V1alpha1Endpoint.md +++ b/kubernetes/docs/V1beta1Endpoint.md @@ -1,11 +1,11 @@ -# V1alpha1Endpoint +# V1beta1Endpoint Endpoint represents a single logical \"backend\" implementing a service. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**addresses** | **list[str]** | addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. This allows for cases like dual-stack (IPv4 and IPv6) networking. Consumers (e.g. kube-proxy) must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. | -**conditions** | [**V1alpha1EndpointConditions**](V1alpha1EndpointConditions.md) | | [optional] +**addresses** | **list[str]** | addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100. | +**conditions** | [**V1beta1EndpointConditions**](V1beta1EndpointConditions.md) | | [optional] **hostname** | **str** | hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation. | [optional] **target_ref** | [**V1ObjectReference**](V1ObjectReference.md) | | [optional] **topology** | **dict(str, str)** | topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/zone: the value indicates the zone where the endpoint is located. This should match the corresponding node label. * topology.kubernetes.io/region: the value indicates the region where the endpoint is located. This should match the corresponding node label. | [optional] diff --git a/kubernetes/docs/V1alpha1EndpointConditions.md b/kubernetes/docs/V1beta1EndpointConditions.md similarity index 95% rename from kubernetes/docs/V1alpha1EndpointConditions.md rename to kubernetes/docs/V1beta1EndpointConditions.md index 15e6d730ff..2ee7ff6410 100644 --- a/kubernetes/docs/V1alpha1EndpointConditions.md +++ b/kubernetes/docs/V1beta1EndpointConditions.md @@ -1,4 +1,4 @@ -# V1alpha1EndpointConditions +# V1beta1EndpointConditions EndpointConditions represents the current condition of an endpoint. ## Properties diff --git a/kubernetes/docs/V1alpha1EndpointPort.md b/kubernetes/docs/V1beta1EndpointPort.md similarity index 55% rename from kubernetes/docs/V1alpha1EndpointPort.md rename to kubernetes/docs/V1beta1EndpointPort.md index 9c36401ad5..356b78b9e2 100644 --- a/kubernetes/docs/V1alpha1EndpointPort.md +++ b/kubernetes/docs/V1beta1EndpointPort.md @@ -1,10 +1,11 @@ -# V1alpha1EndpointPort +# V1beta1EndpointPort EndpointPort represents a Port used by an EndpointSlice ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**name** | **str** | The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass IANA_SVC_NAME validation: * must be no more than 15 characters long * may contain only [-a-z0-9] * must contain at least one letter [a-z] * it must not start or end with a hyphen, nor contain adjacent hyphens Default is empty string. | [optional] +**app_protocol** | **str** | The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names. Default is empty string. | [optional] +**name** | **str** | The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string. | [optional] **port** | **int** | The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer. | [optional] **protocol** | **str** | The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. | [optional] diff --git a/kubernetes/docs/V1alpha1EndpointSlice.md b/kubernetes/docs/V1beta1EndpointSlice.md similarity index 61% rename from kubernetes/docs/V1alpha1EndpointSlice.md rename to kubernetes/docs/V1beta1EndpointSlice.md index c1db16fcd4..6203fffb9e 100644 --- a/kubernetes/docs/V1alpha1EndpointSlice.md +++ b/kubernetes/docs/V1beta1EndpointSlice.md @@ -1,15 +1,15 @@ -# V1alpha1EndpointSlice +# V1beta1EndpointSlice EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**address_type** | **str** | addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. Default is IP | [optional] +**address_type** | **str** | addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name. | **api_version** | **str** | 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/sig-architecture/api-conventions.md#resources | [optional] -**endpoints** | [**list[V1alpha1Endpoint]**](V1alpha1Endpoint.md) | endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. | +**endpoints** | [**list[V1beta1Endpoint]**](V1beta1Endpoint.md) | endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints. | **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ObjectMeta**](V1ObjectMeta.md) | | [optional] -**ports** | [**list[V1alpha1EndpointPort]**](V1alpha1EndpointPort.md) | ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports. | [optional] +**ports** | [**list[V1beta1EndpointPort]**](V1beta1EndpointPort.md) | ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1alpha1EndpointSliceList.md b/kubernetes/docs/V1beta1EndpointSliceList.md similarity index 89% rename from kubernetes/docs/V1alpha1EndpointSliceList.md rename to kubernetes/docs/V1beta1EndpointSliceList.md index 0b40581ca9..68c3eb4262 100644 --- a/kubernetes/docs/V1alpha1EndpointSliceList.md +++ b/kubernetes/docs/V1beta1EndpointSliceList.md @@ -1,11 +1,11 @@ -# V1alpha1EndpointSliceList +# V1beta1EndpointSliceList EndpointSliceList represents a list of endpoint slices ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_version** | **str** | 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/sig-architecture/api-conventions.md#resources | [optional] -**items** | [**list[V1alpha1EndpointSlice]**](V1alpha1EndpointSlice.md) | List of endpoint slices | +**items** | [**list[V1beta1EndpointSlice]**](V1beta1EndpointSlice.md) | List of endpoint slices | **kind** | **str** | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the kubernetes.client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds | [optional] **metadata** | [**V1ListMeta**](V1ListMeta.md) | | [optional] diff --git a/kubernetes/docs/V1beta1JSONSchemaProps.md b/kubernetes/docs/V1beta1JSONSchemaProps.md index 7139adc722..5e1f7c9408 100644 --- a/kubernetes/docs/V1beta1JSONSchemaProps.md +++ b/kubernetes/docs/V1beta1JSONSchemaProps.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **exclusive_maximum** | **bool** | | [optional] **exclusive_minimum** | **bool** | | [optional] **external_docs** | [**V1beta1ExternalDocumentation**](V1beta1ExternalDocumentation.md) | | [optional] -**format** | **str** | | [optional] +**format** | **str** | format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated: - bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339. | [optional] **id** | **str** | | [optional] **items** | [**object**](.md) | JSONSchemaPropsOrArray represents a value that can either be a JSONSchemaProps or an array of JSONSchemaProps. Mainly here for serialization purposes. | [optional] **max_items** | **int** | | [optional] @@ -45,6 +45,7 @@ Name | Type | Description | Notes **x_kubernetes_int_or_string** | **bool** | x-kubernetes-int-or-string specifies that this value is either an integer or a string. If this is true, an empty type is allowed and type as child of anyOf is permitted if following one of the following patterns: 1) anyOf: - type: integer - type: string 2) allOf: - anyOf: - type: integer - type: string - ... zero or more | [optional] **x_kubernetes_list_map_keys** | **list[str]** | x-kubernetes-list-map-keys annotates an array with the x-kubernetes-list-type `map` by specifying the keys used as the index of the map. This tag MUST only be used on lists that have the \"x-kubernetes-list-type\" extension set to \"map\". Also, the values specified for this attribute must be a scalar typed field of the child structure (no nesting is supported). | [optional] **x_kubernetes_list_type** | **str** | x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values: 1) `atomic`: the list is treated as a single entity, like a scalar. Atomic lists will be entirely replaced when updated. This extension may be used on any type of list (struct, scalar, ...). 2) `set`: Sets are lists that must not have multiple items with the same value. Each value must be a scalar, an object with x-kubernetes-map-type `atomic` or an array with x-kubernetes-list-type `atomic`. 3) `map`: These lists are like maps in that their elements have a non-index key used to identify them. Order is preserved upon merge. The map tag must only be used on a list with elements of type object. Defaults to atomic for arrays. | [optional] +**x_kubernetes_map_type** | **str** | x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: 1) `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. 2) `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. | [optional] **x_kubernetes_preserve_unknown_fields** | **bool** | x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1MutatingWebhook.md b/kubernetes/docs/V1beta1MutatingWebhook.md index b42c63dcbb..0096ee87b3 100644 --- a/kubernetes/docs/V1beta1MutatingWebhook.md +++ b/kubernetes/docs/V1beta1MutatingWebhook.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **object_selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] **reinvocation_policy** | **str** | reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\". Never: the webhook will not be called more than once in a single admission evaluation. IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted. Note: * the number of additional invocations is not guaranteed to be exactly one. * if additional invocations result in further modifications to the object, webhooks are not guaranteed to be invoked again. * webhooks that use this option may be reordered to minimize the number of additional invocations. * to validate an object after all mutations are guaranteed complete, use a validating admission webhook instead. Defaults to \"Never\". | [optional] **rules** | [**list[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** | **str** | 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] +**side_effects** | **str** | SideEffects states whether this webhook 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] **timeout_seconds** | **int** | TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md b/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md index 830349f74e..371eb1a92d 100644 --- a/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md +++ b/kubernetes/docs/V1beta1PodDisruptionBudgetStatus.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **disrupted_pods** | **dict(str, 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** | **int** | Number of pod disruptions that are currently allowed. | **expected_pods** | **int** | total number of pods counted by this disruption budget | -**observed_generation** | **int** | 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] +**observed_generation** | **int** | Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/docs/V1beta1Role.md b/kubernetes/docs/V1beta1Role.md index 688c77125a..983b29d76c 100644 --- a/kubernetes/docs/V1beta1Role.md +++ b/kubernetes/docs/V1beta1Role.md @@ -1,6 +1,6 @@ # V1beta1Role -Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. +Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1beta1RoleBinding.md b/kubernetes/docs/V1beta1RoleBinding.md index 8eaf0f499f..f05228cc5f 100644 --- a/kubernetes/docs/V1beta1RoleBinding.md +++ b/kubernetes/docs/V1beta1RoleBinding.md @@ -1,6 +1,6 @@ # V1beta1RoleBinding -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. +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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1beta1RoleBindingList.md b/kubernetes/docs/V1beta1RoleBindingList.md index 6c08172256..4c1302b6da 100644 --- a/kubernetes/docs/V1beta1RoleBindingList.md +++ b/kubernetes/docs/V1beta1RoleBindingList.md @@ -1,6 +1,6 @@ # V1beta1RoleBindingList -RoleBindingList is a collection of RoleBindings +RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1beta1RoleList.md b/kubernetes/docs/V1beta1RoleList.md index cc06d62b50..a1a95fda99 100644 --- a/kubernetes/docs/V1beta1RoleList.md +++ b/kubernetes/docs/V1beta1RoleList.md @@ -1,6 +1,6 @@ # V1beta1RoleList -RoleList is a collection of Roles +RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- diff --git a/kubernetes/docs/V1beta1ValidatingWebhook.md b/kubernetes/docs/V1beta1ValidatingWebhook.md index 75b2754f26..377a1a8ad0 100644 --- a/kubernetes/docs/V1beta1ValidatingWebhook.md +++ b/kubernetes/docs/V1beta1ValidatingWebhook.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **namespace_selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] **object_selector** | [**V1LabelSelector**](V1LabelSelector.md) | | [optional] **rules** | [**list[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** | **str** | 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] +**side_effects** | **str** | SideEffects states whether this webhook 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] **timeout_seconds** | **int** | TimeoutSeconds specifies the timeout for this webhook. After the timeout passes, the webhook call will be ignored or the API call will fail based on the failure policy. The timeout value must be between 1 and 30 seconds. Default to 30 seconds. | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/kubernetes/swagger.json.unprocessed b/kubernetes/swagger.json.unprocessed index 5b6f61a777..66886966be 100644 --- a/kubernetes/swagger.json.unprocessed +++ b/kubernetes/swagger.json.unprocessed @@ -390,7 +390,7 @@ "type": "array" }, "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.", + "description": "SideEffects states whether this webhook 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" }, "timeoutSeconds": { @@ -581,7 +581,7 @@ "type": "array" }, "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.", + "description": "SideEffects states whether this webhook 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" }, "timeoutSeconds": { @@ -7668,7 +7668,7 @@ }, "fieldRef": { "$ref": "#/definitions/io.k8s.api.core.v1.ObjectFieldSelector", - "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP." + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." }, "resourceFieldRef": { "$ref": "#/definitions/io.k8s.api.core.v1.ResourceFieldSelector", @@ -10086,7 +10086,7 @@ "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.", + "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.", "type": "boolean" }, "subdomain": { @@ -11499,6 +11499,13 @@ "$ref": "#/definitions/io.k8s.api.core.v1.SessionAffinityConfig", "description": "sessionAffinityConfig contains the configurations of session affinity." }, + "topologyKeys": { + "description": "topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.", + "items": { + "type": "string" + }, + "type": "array" + }, "type": { "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types", "type": "string" @@ -11917,7 +11924,7 @@ "type": "string" }, "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15.", + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", "type": "string" } }, @@ -12015,17 +12022,17 @@ "type": "string" }, "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag.", + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is beta-level and may be disabled with the WindowsRunAsUserName feature flag.", "type": "string" } }, "type": "object" }, - "io.k8s.api.discovery.v1alpha1.Endpoint": { + "io.k8s.api.discovery.v1beta1.Endpoint": { "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { "addresses": { - "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. This allows for cases like dual-stack (IPv4 and IPv6) networking. Consumers (e.g. kube-proxy) must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", + "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", "items": { "type": "string" }, @@ -12033,7 +12040,7 @@ "x-kubernetes-list-type": "set" }, "conditions": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointConditions", + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointConditions", "description": "conditions contains information about the current status of the endpoint." }, "hostname": { @@ -12057,7 +12064,7 @@ ], "type": "object" }, - "io.k8s.api.discovery.v1alpha1.EndpointConditions": { + "io.k8s.api.discovery.v1beta1.EndpointConditions": { "description": "EndpointConditions represents the current condition of an endpoint.", "properties": { "ready": { @@ -12067,11 +12074,15 @@ }, "type": "object" }, - "io.k8s.api.discovery.v1alpha1.EndpointPort": { + "io.k8s.api.discovery.v1beta1.EndpointPort": { "description": "EndpointPort represents a Port used by an EndpointSlice", "properties": { + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names. Default is empty string.", + "type": "string" + }, "name": { - "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass IANA_SVC_NAME validation: * must be no more than 15 characters long * may contain only [-a-z0-9] * must contain at least one letter [a-z] * it must not start or end with a hyphen, nor contain adjacent hyphens Default is empty string.", + "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", "type": "string" }, "port": { @@ -12086,11 +12097,11 @@ }, "type": "object" }, - "io.k8s.api.discovery.v1alpha1.EndpointSlice": { + "io.k8s.api.discovery.v1beta1.EndpointSlice": { "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", "properties": { "addressType": { - "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. Default is IP", + "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.", "type": "string" }, "apiVersion": { @@ -12100,7 +12111,7 @@ "endpoints": { "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.Endpoint" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.Endpoint" }, "type": "array", "x-kubernetes-list-type": "atomic" @@ -12116,13 +12127,14 @@ "ports": { "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointPort" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointPort" }, "type": "array", "x-kubernetes-list-type": "atomic" } }, "required": [ + "addressType", "endpoints" ], "type": "object", @@ -12130,11 +12142,11 @@ { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } ] }, - "io.k8s.api.discovery.v1alpha1.EndpointSliceList": { + "io.k8s.api.discovery.v1beta1.EndpointSliceList": { "description": "EndpointSliceList represents a list of endpoint slices", "properties": { "apiVersion": { @@ -12144,7 +12156,7 @@ "items": { "description": "List of endpoint slices", "items": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" }, "type": "array", "x-kubernetes-list-type": "set" @@ -12166,7 +12178,7 @@ { "group": "discovery.k8s.io", "kind": "EndpointSliceList", - "version": "v1alpha1" + "version": "v1beta1" } ] }, @@ -13820,6 +13832,554 @@ }, "type": "object" }, + "io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod": { + "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", + "properties": { + "type": { + "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.FlowSchema": { + "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec", + "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus", + "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition": { + "description": "FlowSchemaCondition describes conditions for a FlowSchema.", + "properties": { + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." + }, + "message": { + "description": "`message` is a human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "`reason` is a 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. Required.", + "type": "string" + }, + "type": { + "description": "`type` is the type of the condition. Required.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList": { + "description": "FlowSchemaList is a list of FlowSchema objects.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "`items` is a list of FlowSchemas.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + }, + "type": "array", + "x-kubernetes-list-type": "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchemaList", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaSpec": { + "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", + "properties": { + "distinguisherMethod": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowDistinguisherMethod", + "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." + }, + "matchingPrecedence": { + "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default.", + "format": "int32", + "type": "integer" + }, + "priorityLevelConfiguration": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference", + "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." + }, + "rules": { + "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "priorityLevelConfiguration" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.FlowSchemaStatus": { + "description": "FlowSchemaStatus represents the current state of a FlowSchema.", + "properties": { + "conditions": { + "description": "`conditions` is a list of the current states of FlowSchema.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaCondition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.GroupSubject": { + "description": "GroupSubject holds detailed information for group-kind subject.", + "properties": { + "name": { + "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.LimitResponse": { + "description": "LimitResponse defines how to handle requests that can not be executed right now.", + "properties": { + "queuing": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration", + "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." + }, + "type": { + "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "queuing": "Queuing" + } + } + ] + }, + "io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration": { + "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?", + "properties": { + "assuredConcurrencyShares": { + "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.", + "format": "int32", + "type": "integer" + }, + "limitResponse": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.LimitResponse", + "description": "`limitResponse` indicates what to do with requests that can not be executed right now" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule": { + "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", + "properties": { + "nonResourceURLs": { + "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "verbs", + "nonResourceURLs" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.PolicyRulesWithSubjects": { + "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", + "properties": { + "nonResourceRules": { + "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.NonResourcePolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "resourceRules": { + "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "subjects": { + "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.Subject" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "subjects" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration": { + "description": "PriorityLevelConfiguration represents the configuration of a priority level.", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec", + "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus", + "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition": { + "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", + "properties": { + "lastTransitionTime": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time", + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another." + }, + "message": { + "description": "`message` is a human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "`reason` is a 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. Required.", + "type": "string" + }, + "type": { + "description": "`type` is the type of the condition. Required.", + "type": "string" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList": { + "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "`items` is a list of request-priorities.", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfigurationList", + "version": "v1alpha1" + } + ] + }, + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationReference": { + "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", + "properties": { + "name": { + "description": "`name` is the name of the priority level configuration being referenced Required.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationSpec": { + "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", + "properties": { + "limited": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.LimitedPriorityLevelConfiguration", + "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." + }, + "type": { + "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "limited": "Limited" + } + } + ] + }, + "io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationStatus": { + "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", + "properties": { + "conditions": { + "description": "`conditions` is the current state of \"request-priority\".", + "items": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationCondition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.QueuingConfiguration": { + "description": "QueuingConfiguration holds the configuration parameters for queuing", + "properties": { + "handSize": { + "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", + "format": "int32", + "type": "integer" + }, + "queueLengthLimit": { + "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", + "format": "int32", + "type": "integer" + }, + "queues": { + "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.ResourcePolicyRule": { + "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", + "properties": { + "apiGroups": { + "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "clusterScope": { + "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", + "type": "boolean" + }, + "namespaces": { + "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "resources": { + "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "verbs", + "apiGroups", + "resources" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject": { + "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", + "properties": { + "name": { + "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", + "type": "string" + }, + "namespace": { + "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", + "type": "string" + } + }, + "required": [ + "namespace", + "name" + ], + "type": "object" + }, + "io.k8s.api.flowcontrol.v1alpha1.Subject": { + "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", + "properties": { + "group": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.GroupSubject" + }, + "kind": { + "description": "Required", + "type": "string" + }, + "serviceAccount": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.ServiceAccountSubject" + }, + "user": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.UserSubject" + } + }, + "required": [ + "kind" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "kind", + "fields-to-discriminateBy": { + "group": "Group", + "serviceAccount": "ServiceAccount", + "user": "User" + } + } + ] + }, + "io.k8s.api.flowcontrol.v1alpha1.UserSubject": { + "description": "UserSubject holds detailed information for user-kind subject.", + "properties": { + "name": { + "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "io.k8s.api.networking.v1.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.", "properties": { @@ -14664,7 +15224,7 @@ "type": "integer" }, "observedGeneration": { - "description": "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.", + "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", "format": "int64", "type": "integer" } @@ -15382,7 +15942,7 @@ "type": "object" }, "io.k8s.api.rbac.v1alpha1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.AggregationRule", @@ -15418,7 +15978,7 @@ ] }, "io.k8s.api.rbac.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.", + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15457,7 +16017,7 @@ ] }, "io.k8s.api.rbac.v1alpha1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15492,7 +16052,7 @@ ] }, "io.k8s.api.rbac.v1alpha1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15571,7 +16131,7 @@ "type": "object" }, "io.k8s.api.rbac.v1alpha1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15603,7 +16163,7 @@ ] }, "io.k8s.api.rbac.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.", + "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15642,7 +16202,7 @@ ] }, "io.k8s.api.rbac.v1alpha1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15677,7 +16237,7 @@ ] }, "io.k8s.api.rbac.v1alpha1.RoleList": { - "description": "RoleList is a collection of Roles", + "description": "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15774,7 +16334,7 @@ "type": "object" }, "io.k8s.api.rbac.v1beta1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.AggregationRule", @@ -15810,7 +16370,7 @@ ] }, "io.k8s.api.rbac.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.", + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15849,7 +16409,7 @@ ] }, "io.k8s.api.rbac.v1beta1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15884,7 +16444,7 @@ ] }, "io.k8s.api.rbac.v1beta1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15963,7 +16523,7 @@ "type": "object" }, "io.k8s.api.rbac.v1beta1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -15995,7 +16555,7 @@ ] }, "io.k8s.api.rbac.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.", + "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -16034,7 +16594,7 @@ ] }, "io.k8s.api.rbac.v1beta1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -16069,7 +16629,7 @@ ] }, "io.k8s.api.rbac.v1beta1.RoleList": { - "description": "RoleList is a collection of Roles", + "description": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -16492,6 +17052,120 @@ }, "type": "object" }, + "io.k8s.api.storage.v1.CSINode": { + "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta", + "description": "metadata.name must be the Kubernetes node name." + }, + "spec": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeSpec", + "description": "spec is the specification of CSINode" + } + }, + "required": [ + "spec" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSINodeDriver": { + "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", + "properties": { + "allocatable": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeNodeResources", + "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta." + }, + "name": { + "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", + "type": "string" + }, + "nodeID": { + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", + "type": "string" + }, + "topologyKeys": { + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "name", + "nodeID" + ], + "type": "object" + }, + "io.k8s.api.storage.v1.CSINodeList": { + "description": "CSINodeList is a collection of CSINode objects.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of CSINode", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSINodeList", + "version": "v1" + } + ] + }, + "io.k8s.api.storage.v1.CSINodeSpec": { + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", + "properties": { + "drivers": { + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", + "items": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeDriver" + }, + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + } + }, + "required": [ + "drivers" + ], + "type": "object" + }, "io.k8s.api.storage.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.", "properties": { @@ -16742,6 +17416,17 @@ }, "type": "object" }, + "io.k8s.api.storage.v1.VolumeNodeResources": { + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", + "properties": { + "count": { + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, "io.k8s.api.storage.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.", "properties": { @@ -16981,7 +17666,7 @@ "type": "object" }, "io.k8s.api.storage.v1beta1.CSINode": { - "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", + "description": "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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/sig-architecture/api-conventions.md#resources", @@ -17567,7 +18252,7 @@ "type": "boolean" }, "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.", "type": "string" }, "versions": { @@ -17782,6 +18467,7 @@ "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.ExternalDocumentation" }, "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -17887,6 +18573,10 @@ "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", "type": "string" }, + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", + "type": "string" + }, "x-kubernetes-preserve-unknown-fields": { "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", "type": "boolean" @@ -18421,6 +19111,7 @@ "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.ExternalDocumentation" }, "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -18526,6 +19217,10 @@ "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", "type": "string" }, + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", + "type": "string" + }, "x-kubernetes-preserve-unknown-fields": { "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", "type": "boolean" @@ -18980,6 +19675,11 @@ "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "DeleteOptions", @@ -18990,6 +19690,11 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "imagepolicy.k8s.io", "kind": "DeleteOptions", @@ -19227,7 +19932,7 @@ "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/sig-architecture/api-conventions.md#metadata" }, "finalizers": { - "description": "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.", + "description": "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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", "items": { "type": "string" }, @@ -19616,6 +20321,11 @@ "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "discovery.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "WatchEvent", @@ -19626,6 +20336,11 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "imagepolicy.k8s.io", "kind": "WatchEvent", @@ -20215,7 +20930,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20373,7 +21088,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20477,7 +21192,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20581,7 +21296,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20685,7 +21400,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20758,7 +21473,7 @@ "operationId": "listCoreV1Namespace", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21025,7 +21740,7 @@ "operationId": "deleteCoreV1CollectionNamespacedConfigMap", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21153,7 +21868,7 @@ "operationId": "listCoreV1NamespacedConfigMap", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21628,7 +22343,7 @@ "operationId": "deleteCoreV1CollectionNamespacedEndpoints", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21756,7 +22471,7 @@ "operationId": "listCoreV1NamespacedEndpoints", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22231,7 +22946,7 @@ "operationId": "deleteCoreV1CollectionNamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22359,7 +23074,7 @@ "operationId": "listCoreV1NamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22834,7 +23549,7 @@ "operationId": "deleteCoreV1CollectionNamespacedLimitRange", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22962,7 +23677,7 @@ "operationId": "listCoreV1NamespacedLimitRange", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -23437,7 +24152,7 @@ "operationId": "deleteCoreV1CollectionNamespacedPersistentVolumeClaim", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -23565,7 +24280,7 @@ "operationId": "listCoreV1NamespacedPersistentVolumeClaim", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -24236,7 +24951,7 @@ "operationId": "deleteCoreV1CollectionNamespacedPod", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -24364,7 +25079,7 @@ "operationId": "listCoreV1NamespacedPod", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -25327,6 +26042,13 @@ "type": "boolean", "uniqueItems": true }, + { + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).", + "in": "query", + "name": "insecureSkipTLSVerifyBackend", + "type": "boolean", + "uniqueItems": true + }, { "description": "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.", "in": "query", @@ -26209,7 +26931,7 @@ "operationId": "deleteCoreV1CollectionNamespacedPodTemplate", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -26337,7 +27059,7 @@ "operationId": "listCoreV1NamespacedPodTemplate", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -26812,7 +27534,7 @@ "operationId": "deleteCoreV1CollectionNamespacedReplicationController", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -26940,7 +27662,7 @@ "operationId": "listCoreV1NamespacedReplicationController", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -27807,7 +28529,7 @@ "operationId": "deleteCoreV1CollectionNamespacedResourceQuota", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -27935,7 +28657,7 @@ "operationId": "listCoreV1NamespacedResourceQuota", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -28606,7 +29328,7 @@ "operationId": "deleteCoreV1CollectionNamespacedSecret", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -28734,7 +29456,7 @@ "operationId": "listCoreV1NamespacedSecret", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -29209,7 +29931,7 @@ "operationId": "deleteCoreV1CollectionNamespacedServiceAccount", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -29337,7 +30059,7 @@ "operationId": "listCoreV1NamespacedServiceAccount", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -29910,7 +30632,7 @@ "operationId": "listCoreV1NamespacedService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -31659,7 +32381,7 @@ "operationId": "deleteCoreV1CollectionNode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -31787,7 +32509,7 @@ "operationId": "listCoreV1Node", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -32973,7 +33695,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33046,7 +33768,7 @@ "operationId": "deleteCoreV1CollectionPersistentVolume", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33174,7 +33896,7 @@ "operationId": "listCoreV1PersistentVolume", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33852,7 +34574,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33956,7 +34678,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34060,7 +34782,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34164,7 +34886,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34268,7 +34990,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34372,7 +35094,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34476,7 +35198,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34580,7 +35302,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34684,7 +35406,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34788,7 +35510,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34892,7 +35614,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34996,7 +35718,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35100,7 +35822,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35212,7 +35934,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35332,7 +36054,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35444,7 +36166,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35564,7 +36286,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35676,7 +36398,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35796,7 +36518,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35908,7 +36630,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36028,7 +36750,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36140,7 +36862,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36260,7 +36982,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36372,7 +37094,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36492,7 +37214,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36604,7 +37326,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36724,7 +37446,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36836,7 +37558,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36956,7 +37678,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37068,7 +37790,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37188,7 +37910,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37300,7 +38022,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37420,7 +38142,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37532,7 +38254,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37652,7 +38374,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37764,7 +38486,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37884,7 +38606,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37996,7 +38718,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38100,7 +38822,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38212,7 +38934,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38316,7 +39038,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38420,7 +39142,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38532,7 +39254,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38636,7 +39358,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38740,7 +39462,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38844,7 +39566,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38948,7 +39670,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39052,7 +39774,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39156,7 +39878,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39328,7 +40050,7 @@ "operationId": "deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39456,7 +40178,7 @@ "operationId": "listAdmissionregistrationV1MutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39915,7 +40637,7 @@ "operationId": "deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40043,7 +40765,7 @@ "operationId": "listAdmissionregistrationV1ValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40533,7 +41255,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40637,7 +41359,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40749,7 +41471,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40853,7 +41575,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40967,7 +41689,7 @@ "operationId": "deleteAdmissionregistrationV1beta1CollectionMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41095,7 +41817,7 @@ "operationId": "listAdmissionregistrationV1beta1MutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41554,7 +42276,7 @@ "operationId": "deleteAdmissionregistrationV1beta1CollectionValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41682,7 +42404,7 @@ "operationId": "listAdmissionregistrationV1beta1ValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42172,7 +42894,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42276,7 +42998,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42388,7 +43110,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42492,7 +43214,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42639,7 +43361,7 @@ "operationId": "deleteApiextensionsV1CollectionCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42767,7 +43489,7 @@ "operationId": "listApiextensionsV1CustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43445,7 +44167,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43549,7 +44271,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43663,7 +44385,7 @@ "operationId": "deleteApiextensionsV1beta1CollectionCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43791,7 +44513,7 @@ "operationId": "listApiextensionsV1beta1CustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44469,7 +45191,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44573,7 +45295,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44720,7 +45442,7 @@ "operationId": "deleteApiregistrationV1CollectionAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44848,7 +45570,7 @@ "operationId": "listApiregistrationV1APIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45526,7 +46248,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45630,7 +46352,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45744,7 +46466,7 @@ "operationId": "deleteApiregistrationV1beta1CollectionAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45872,7 +46594,7 @@ "operationId": "listApiregistrationV1beta1APIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -46550,7 +47272,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -46654,7 +47376,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -46832,7 +47554,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -46936,7 +47658,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47040,7 +47762,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47113,7 +47835,7 @@ "operationId": "deleteAppsV1CollectionNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47241,7 +47963,7 @@ "operationId": "listAppsV1NamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47716,7 +48438,7 @@ "operationId": "deleteAppsV1CollectionNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47844,7 +48566,7 @@ "operationId": "listAppsV1NamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -48515,7 +49237,7 @@ "operationId": "deleteAppsV1CollectionNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -48643,7 +49365,7 @@ "operationId": "listAppsV1NamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49510,7 +50232,7 @@ "operationId": "deleteAppsV1CollectionNamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49638,7 +50360,7 @@ "operationId": "listAppsV1NamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50505,7 +51227,7 @@ "operationId": "deleteAppsV1CollectionNamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50633,7 +51355,7 @@ "operationId": "listAppsV1NamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51531,7 +52253,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51635,7 +52357,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51739,7 +52461,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51843,7 +52565,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51947,7 +52669,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52051,7 +52773,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52163,7 +52885,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52283,7 +53005,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52395,7 +53117,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52515,7 +53237,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52627,7 +53349,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52747,7 +53469,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52859,7 +53581,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52979,7 +53701,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53091,7 +53813,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53211,7 +53933,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53315,7 +54037,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53452,7 +54174,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53556,7 +54278,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53629,7 +54351,7 @@ "operationId": "deleteAppsV1beta1CollectionNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53757,7 +54479,7 @@ "operationId": "listAppsV1beta1NamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54232,7 +54954,7 @@ "operationId": "deleteAppsV1beta1CollectionNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54360,7 +55082,7 @@ "operationId": "listAppsV1beta1NamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -55325,7 +56047,7 @@ "operationId": "deleteAppsV1beta1CollectionNamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -55453,7 +56175,7 @@ "operationId": "listAppsV1beta1NamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56351,7 +57073,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56455,7 +57177,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56559,7 +57281,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56663,7 +57385,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56775,7 +57497,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56895,7 +57617,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57007,7 +57729,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57127,7 +57849,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57239,7 +57961,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57359,7 +58081,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57496,7 +58218,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57600,7 +58322,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57704,7 +58426,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57777,7 +58499,7 @@ "operationId": "deleteAppsV1beta2CollectionNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57905,7 +58627,7 @@ "operationId": "listAppsV1beta2NamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -58380,7 +59102,7 @@ "operationId": "deleteAppsV1beta2CollectionNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -58508,7 +59230,7 @@ "operationId": "listAppsV1beta2NamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59179,7 +59901,7 @@ "operationId": "deleteAppsV1beta2CollectionNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59307,7 +60029,7 @@ "operationId": "listAppsV1beta2NamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60174,7 +60896,7 @@ "operationId": "deleteAppsV1beta2CollectionNamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60302,7 +61024,7 @@ "operationId": "listAppsV1beta2NamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -61169,7 +61891,7 @@ "operationId": "deleteAppsV1beta2CollectionNamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -61297,7 +62019,7 @@ "operationId": "listAppsV1beta2NamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62195,7 +62917,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62299,7 +63021,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62403,7 +63125,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62507,7 +63229,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62611,7 +63333,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62715,7 +63437,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62827,7 +63549,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62947,7 +63669,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63059,7 +63781,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63179,7 +63901,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63291,7 +64013,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63411,7 +64133,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63523,7 +64245,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63643,7 +64365,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63755,7 +64477,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63875,7 +64597,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63979,7 +64701,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64118,7 +64840,7 @@ "operationId": "deleteAuditregistrationV1alpha1CollectionAuditSink", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64246,7 +64968,7 @@ "operationId": "listAuditregistrationV1alpha1AuditSink", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64736,7 +65458,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64840,7 +65562,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66052,7 +66774,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66125,7 +66847,7 @@ "operationId": "deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66253,7 +66975,7 @@ "operationId": "listAutoscalingV1NamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66955,7 +67677,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67059,7 +67781,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67171,7 +67893,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67324,7 +68046,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67397,7 +68119,7 @@ "operationId": "deleteAutoscalingV2beta1CollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67525,7 +68247,7 @@ "operationId": "listAutoscalingV2beta1NamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68227,7 +68949,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68331,7 +69053,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68443,7 +69165,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68596,7 +69318,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68669,7 +69391,7 @@ "operationId": "deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68797,7 +69519,7 @@ "operationId": "listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69499,7 +70221,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69603,7 +70325,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69715,7 +70437,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69901,7 +70623,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69974,7 +70696,7 @@ "operationId": "deleteBatchV1CollectionNamespacedJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70102,7 +70824,7 @@ "operationId": "listBatchV1NamespacedJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70804,7 +71526,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70908,7 +71630,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71020,7 +71742,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71173,7 +71895,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71246,7 +71968,7 @@ "operationId": "deleteBatchV1beta1CollectionNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71374,7 +72096,7 @@ "operationId": "listBatchV1beta1NamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72076,7 +72798,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72180,7 +72902,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72292,7 +73014,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72445,7 +73167,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72518,7 +73240,7 @@ "operationId": "deleteBatchV2alpha1CollectionNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72646,7 +73368,7 @@ "operationId": "listBatchV2alpha1NamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73348,7 +74070,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73452,7 +74174,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73564,7 +74286,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73719,7 +74441,7 @@ "operationId": "deleteCertificatesV1beta1CollectionCertificateSigningRequest", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73847,7 +74569,7 @@ "operationId": "listCertificatesV1beta1CertificateSigningRequest", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74609,7 +75331,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74713,7 +75435,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74891,7 +75613,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74964,7 +75686,7 @@ "operationId": "deleteCoordinationV1CollectionNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75092,7 +75814,7 @@ "operationId": "listCoordinationV1NamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75598,7 +76320,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75702,7 +76424,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75814,7 +76536,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75967,7 +76689,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76040,7 +76762,7 @@ "operationId": "deleteCoordinationV1beta1CollectionNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76168,7 +76890,7 @@ "operationId": "listCoordinationV1beta1NamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76674,7 +77396,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76778,7 +77500,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76890,7 +77612,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77003,7 +77725,7 @@ ] } }, - "/apis/discovery.k8s.io/v1alpha1/": { + "/apis/discovery.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -77011,7 +77733,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getDiscoveryV1alpha1APIResources", + "operationId": "getDiscoveryV1beta1APIResources", "produces": [ "application/json", "application/yaml", @@ -77032,17 +77754,17 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ] } }, - "/apis/discovery.k8s.io/v1alpha1/endpointslices": { + "/apis/discovery.k8s.io/v1beta1/endpointslices": { "get": { "consumes": [ "*/*" ], "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1alpha1EndpointSliceForAllNamespaces", + "operationId": "listDiscoveryV1beta1EndpointSliceForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -77054,7 +77776,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSliceList" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" } }, "401": { @@ -77065,18 +77787,18 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77140,16 +77862,16 @@ } ] }, - "/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices": { "delete": { "consumes": [ "*/*" ], "description": "delete collection of EndpointSlice", - "operationId": "deleteDiscoveryV1alpha1CollectionNamespacedEndpointSlice", + "operationId": "deleteDiscoveryV1beta1CollectionNamespacedEndpointSlice", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77260,13 +77982,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -77274,10 +77996,10 @@ "*/*" ], "description": "list or watch objects of kind EndpointSlice", - "operationId": "listDiscoveryV1alpha1NamespacedEndpointSlice", + "operationId": "listDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77344,7 +78066,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSliceList" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSliceList" } }, "401": { @@ -77355,13 +78077,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -77386,14 +78108,14 @@ "*/*" ], "description": "create an EndpointSlice", - "operationId": "createDiscoveryV1alpha1NamespacedEndpointSlice", + "operationId": "createDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, { @@ -77420,19 +78142,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -77443,23 +78165,23 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}": { "delete": { "consumes": [ "*/*" ], "description": "delete an EndpointSlice", - "operationId": "deleteDiscoveryV1alpha1NamespacedEndpointSlice", + "operationId": "deleteDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -77523,13 +78245,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "get": { @@ -77537,7 +78259,7 @@ "*/*" ], "description": "read the specified EndpointSlice", - "operationId": "readDiscoveryV1alpha1NamespacedEndpointSlice", + "operationId": "readDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -77563,7 +78285,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -77574,13 +78296,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -77616,7 +78338,7 @@ "application/apply-patch+yaml" ], "description": "partially update the specified EndpointSlice", - "operationId": "patchDiscoveryV1alpha1NamespacedEndpointSlice", + "operationId": "patchDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", @@ -77657,7 +78379,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -77668,13 +78390,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "put": { @@ -77682,14 +78404,14 @@ "*/*" ], "description": "replace the specified EndpointSlice", - "operationId": "replaceDiscoveryV1alpha1NamespacedEndpointSlice", + "operationId": "replaceDiscoveryV1beta1NamespacedEndpointSlice", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, { @@ -77716,13 +78438,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.discovery.v1alpha1.EndpointSlice" + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, "401": { @@ -77733,23 +78455,23 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } } }, - "/apis/discovery.k8s.io/v1alpha1/watch/endpointslices": { + "/apis/discovery.k8s.io/v1beta1/watch/endpointslices": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1alpha1EndpointSliceListForAllNamespaces", + "operationId": "watchDiscoveryV1beta1EndpointSliceListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -77772,18 +78494,18 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77847,13 +78569,13 @@ } ] }, - "/apis/discovery.k8s.io/v1alpha1/watch/namespaces/{namespace}/endpointslices": { + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchDiscoveryV1alpha1NamespacedEndpointSliceList", + "operationId": "watchDiscoveryV1beta1NamespacedEndpointSliceList", "produces": [ "application/json", "application/yaml", @@ -77876,18 +78598,18 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "watchlist", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77959,13 +78681,13 @@ } ] }, - "/apis/discovery.k8s.io/v1alpha1/watch/namespaces/{namespace}/endpointslices/{name}": { + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}": { "get": { "consumes": [ "*/*" ], "description": "watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchDiscoveryV1alpha1NamespacedEndpointSlice", + "operationId": "watchDiscoveryV1beta1NamespacedEndpointSlice", "produces": [ "application/json", "application/yaml", @@ -77988,18 +78710,18 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78185,7 +78907,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78258,7 +78980,7 @@ "operationId": "deleteEventsV1beta1CollectionNamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78386,7 +79108,7 @@ "operationId": "listEventsV1beta1NamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78892,7 +79614,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -78996,7 +79718,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79108,7 +79830,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79294,7 +80016,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79398,7 +80120,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79502,7 +80224,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79575,7 +80297,7 @@ "operationId": "deleteExtensionsV1beta1CollectionNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79703,7 +80425,7 @@ "operationId": "listExtensionsV1beta1NamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80374,7 +81096,7 @@ "operationId": "deleteExtensionsV1beta1CollectionNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80502,7 +81224,7 @@ "operationId": "listExtensionsV1beta1NamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81467,7 +82189,7 @@ "operationId": "deleteExtensionsV1beta1CollectionNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81595,7 +82317,7 @@ "operationId": "listExtensionsV1beta1NamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82266,7 +82988,7 @@ "operationId": "deleteExtensionsV1beta1CollectionNamespacedNetworkPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82394,7 +83116,7 @@ "operationId": "listExtensionsV1beta1NamespacedNetworkPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82869,7 +83591,7 @@ "operationId": "deleteExtensionsV1beta1CollectionNamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82997,7 +83719,7 @@ "operationId": "listExtensionsV1beta1NamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84091,7 +84813,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84164,7 +84886,7 @@ "operationId": "deleteExtensionsV1beta1CollectionPodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84292,7 +85014,7 @@ "operationId": "listExtensionsV1beta1PodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84782,7 +85504,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84886,7 +85608,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84990,7 +85712,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85094,7 +85816,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85198,7 +85920,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85310,7 +86032,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85430,7 +86152,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85542,7 +86264,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85662,7 +86384,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85774,7 +86496,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85894,7 +86616,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86006,7 +86728,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86126,7 +86848,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86238,7 +86960,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86358,7 +87080,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86462,7 +87184,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86566,7 +87288,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86678,7 +87400,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86742,7 +87464,7 @@ } ] }, - "/apis/networking.k8s.io/": { + "/apis/flowcontrol.apiserver.k8s.io/": { "get": { "consumes": [ "application/json", @@ -86750,7 +87472,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get information of a group", - "operationId": "getNetworkingAPIGroup", + "operationId": "getFlowcontrolApiserverAPIGroup", "produces": [ "application/json", "application/yaml", @@ -86771,11 +87493,11 @@ "https" ], "tags": [ - "networking" + "flowcontrolApiserver" ] } }, - "/apis/networking.k8s.io/v1/": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/": { "get": { "consumes": [ "application/json", @@ -86783,7 +87505,7 @@ "application/vnd.kubernetes.protobuf" ], "description": "get available resources", - "operationId": "getNetworkingV1APIResources", + "operationId": "getFlowcontrolApiserverV1alpha1APIResources", "produces": [ "application/json", "application/yaml", @@ -86804,20 +87526,20 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ] } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", + "description": "delete collection of FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1alpha1CollectionFlowSchema", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86928,24 +87650,24 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNetworkingV1NamespacedNetworkPolicy", + "description": "list or watch objects of kind FlowSchema", + "operationId": "listFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87012,7 +87734,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchemaList" } }, "401": { @@ -87023,24 +87745,16 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -87053,15 +87767,15 @@ "consumes": [ "*/*" ], - "description": "create a NetworkPolicy", - "operationId": "createNetworkingV1NamespacedNetworkPolicy", + "description": "create a FlowSchema", + "operationId": "createFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, { @@ -87088,19 +87802,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87111,23 +87825,23 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a NetworkPolicy", - "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", + "description": "delete a FlowSchema", + "operationId": "deleteFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "in": "body", @@ -87191,21 +87905,21 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "get": { "consumes": [ "*/*" ], - "description": "read the specified NetworkPolicy", - "operationId": "readNetworkingV1NamespacedNetworkPolicy", + "description": "read the specified FlowSchema", + "operationId": "readFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -87231,7 +87945,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87242,32 +87956,24 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the NetworkPolicy", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, "type": "string", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -87283,8 +87989,8 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchNetworkingV1NamespacedNetworkPolicy", + "description": "partially update the specified FlowSchema", + "operationId": "patchFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "in": "body", @@ -87325,7 +88031,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" } }, "401": { @@ -87336,28 +88042,2092 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "put": { "consumes": [ "*/*" ], - "description": "replace the specified NetworkPolicy", - "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", + "description": "replace the specified FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1alpha1FlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified FlowSchema", + "operationId": "readFlowcontrolApiserverV1alpha1FlowSchemaStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the FlowSchema", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified FlowSchema", + "operationId": "patchFlowcontrolApiserverV1alpha1FlowSchemaStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified FlowSchema", + "operationId": "replaceFlowcontrolApiserverV1alpha1FlowSchemaStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1alpha1CollectionPriorityLevelConfiguration", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": 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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind PriorityLevelConfiguration", + "operationId": "listFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a PriorityLevelConfiguration", + "operationId": "createFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a PriorityLevelConfiguration", + "operationId": "deleteFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified PriorityLevelConfiguration", + "operationId": "readFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified PriorityLevelConfiguration", + "operationId": "patchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified PriorityLevelConfiguration", + "operationId": "replaceFlowcontrolApiserverV1alpha1PriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of FlowSchema. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchFlowcontrolApiserverV1alpha1FlowSchemaList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind FlowSchema. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchFlowcontrolApiserverV1alpha1FlowSchema", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the FlowSchema", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchFlowcontrolApiserverV1alpha1PriorityLevelConfigurationList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind PriorityLevelConfiguration. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchFlowcontrolApiserverV1alpha1PriorityLevelConfiguration", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getNetworkingAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking" + ] + } + }, + "/apis/networking.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getNetworkingV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ] + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of NetworkPolicy", + "operationId": "deleteNetworkingV1CollectionNamespacedNetworkPolicy", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": 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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a NetworkPolicy", + "operationId": "createNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a NetworkPolicy", + "operationId": "deleteNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified NetworkPolicy", + "operationId": "readNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the NetworkPolicy", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified NetworkPolicy", + "operationId": "patchNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified NetworkPolicy", + "operationId": "replaceNetworkingV1NamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, { @@ -87451,7 +90221,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87555,7 +90325,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87667,7 +90437,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87787,7 +90557,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87924,7 +90694,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87997,7 +90767,7 @@ "operationId": "deleteNetworkingV1beta1CollectionNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88125,7 +90895,7 @@ "operationId": "listNetworkingV1beta1NamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88827,7 +91597,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88931,7 +91701,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89043,7 +91813,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89198,7 +91968,7 @@ "operationId": "deleteNodeV1alpha1CollectionRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89326,7 +92096,7 @@ "operationId": "listNodeV1alpha1RuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89816,7 +92586,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89920,7 +92690,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90034,7 +92804,7 @@ "operationId": "deleteNodeV1beta1CollectionRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90162,7 +92932,7 @@ "operationId": "listNodeV1beta1RuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90652,7 +93422,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90756,7 +93526,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90903,7 +93673,7 @@ "operationId": "deletePolicyV1beta1CollectionNamespacedPodDisruptionBudget", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91031,7 +93801,7 @@ "operationId": "listPolicyV1beta1NamespacedPodDisruptionBudget", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91733,7 +94503,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91806,7 +94576,7 @@ "operationId": "deletePolicyV1beta1CollectionPodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91934,7 +94704,7 @@ "operationId": "listPolicyV1beta1PodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92424,7 +95194,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92536,7 +95306,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92656,7 +95426,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92760,7 +95530,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92864,7 +95634,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93011,7 +95781,7 @@ "operationId": "deleteRbacAuthorizationV1CollectionClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93139,7 +95909,7 @@ "operationId": "listRbacAuthorizationV1ClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93582,7 +96352,7 @@ "operationId": "deleteRbacAuthorizationV1CollectionClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93710,7 +96480,7 @@ "operationId": "listRbacAuthorizationV1ClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94153,7 +96923,7 @@ "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94281,7 +97051,7 @@ "operationId": "listRbacAuthorizationV1NamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94740,7 +97510,7 @@ "operationId": "deleteRbacAuthorizationV1CollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94868,7 +97638,7 @@ "operationId": "listRbacAuthorizationV1NamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95358,7 +98128,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95462,7 +98232,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95566,7 +98336,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95670,7 +98440,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95782,7 +98552,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95886,7 +98656,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95998,7 +98768,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96110,7 +98880,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96230,7 +99000,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96342,7 +99112,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96462,7 +99232,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96566,7 +99336,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96672,7 +99442,7 @@ "operationId": "deleteRbacAuthorizationV1alpha1CollectionClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96800,7 +99570,7 @@ "operationId": "listRbacAuthorizationV1alpha1ClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97243,7 +100013,7 @@ "operationId": "deleteRbacAuthorizationV1alpha1CollectionClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97371,7 +100141,7 @@ "operationId": "listRbacAuthorizationV1alpha1ClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97814,7 +100584,7 @@ "operationId": "deleteRbacAuthorizationV1alpha1CollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97942,7 +100712,7 @@ "operationId": "listRbacAuthorizationV1alpha1NamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98401,7 +101171,7 @@ "operationId": "deleteRbacAuthorizationV1alpha1CollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98529,7 +101299,7 @@ "operationId": "listRbacAuthorizationV1alpha1NamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99019,7 +101789,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99123,7 +101893,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99227,7 +101997,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99331,7 +102101,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99443,7 +102213,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99547,7 +102317,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99659,7 +102429,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99771,7 +102541,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99891,7 +102661,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100003,7 +102773,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100123,7 +102893,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100227,7 +102997,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100333,7 +103103,7 @@ "operationId": "deleteRbacAuthorizationV1beta1CollectionClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100461,7 +103231,7 @@ "operationId": "listRbacAuthorizationV1beta1ClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100904,7 +103674,7 @@ "operationId": "deleteRbacAuthorizationV1beta1CollectionClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101032,7 +103802,7 @@ "operationId": "listRbacAuthorizationV1beta1ClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101475,7 +104245,7 @@ "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101603,7 +104373,7 @@ "operationId": "listRbacAuthorizationV1beta1NamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102062,7 +104832,7 @@ "operationId": "deleteRbacAuthorizationV1beta1CollectionNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102190,7 +104960,7 @@ "operationId": "listRbacAuthorizationV1beta1NamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102680,7 +105450,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102784,7 +105554,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102888,7 +105658,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102992,7 +105762,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103104,7 +105874,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103208,7 +105978,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103320,7 +106090,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103432,7 +106202,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103552,7 +106322,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103664,7 +106434,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103784,7 +106554,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103888,7 +106658,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104027,7 +106797,7 @@ "operationId": "deleteSchedulingV1CollectionPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104155,7 +106925,7 @@ "operationId": "listSchedulingV1PriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104645,7 +107415,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104749,7 +107519,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104863,7 +107633,7 @@ "operationId": "deleteSchedulingV1alpha1CollectionPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104991,7 +107761,7 @@ "operationId": "listSchedulingV1alpha1PriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105481,7 +108251,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105585,7 +108355,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105699,7 +108469,7 @@ "operationId": "deleteSchedulingV1beta1CollectionPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105827,7 +108597,7 @@ "operationId": "listSchedulingV1beta1PriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106317,7 +109087,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106421,7 +109191,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106568,7 +109338,7 @@ "operationId": "deleteSettingsV1alpha1CollectionNamespacedPodPreset", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -106696,7 +109466,7 @@ "operationId": "listSettingsV1alpha1NamespacedPodPreset", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -107160,15 +109930,231 @@ "kind": "PodPreset", "version": "v1alpha1" } - } + } + }, + "/apis/settings.k8s.io/v1alpha1/podpresets": { + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind PodPreset", + "operationId": "listSettingsV1alpha1PodPresetForAllNamespaces", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchSettingsV1alpha1NamespacedPodPresetList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "settings_v1alpha1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "settings.k8s.io", + "kind": "PodPreset", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] }, - "/apis/settings.k8s.io/v1alpha1/podpresets": { + "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { "get": { "consumes": [ "*/*" ], - "description": "list or watch objects of kind PodPreset", - "operationId": "listSettingsV1alpha1PodPresetForAllNamespaces", + "description": "watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchSettingsV1alpha1NamespacedPodPreset", "produces": [ "application/json", "application/yaml", @@ -107180,7 +110166,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.api.settings.v1alpha1.PodPresetList" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" } }, "401": { @@ -107193,7 +110179,7 @@ "tags": [ "settings_v1alpha1" ], - "x-kubernetes-action": "list", + "x-kubernetes-action": "watch", "x-kubernetes-group-version-kind": { "group": "settings.k8s.io", "kind": "PodPreset", @@ -107202,7 +110188,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -107236,6 +110222,22 @@ "type": "integer", "uniqueItems": true }, + { + "description": "name of the PodPreset", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -107266,13 +110268,13 @@ } ] }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { + "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { "get": { "consumes": [ "*/*" ], "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSettingsV1alpha1NamespacedPodPresetList", + "operationId": "watchSettingsV1alpha1PodPresetListForAllNamespaces", "produces": [ "application/json", "application/yaml", @@ -107306,7 +110308,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -107340,14 +110342,6 @@ "type": "integer", "uniqueItems": true }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -107378,25 +110372,437 @@ } ] }, - "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { + "/apis/storage.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getStorageAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage" + ] + } + }, + "/apis/storage.k8s.io/v1/": { "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getStorageV1APIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ] + } + }, + "/apis/storage.k8s.io/v1/csinodes": { + "delete": { "consumes": [ "*/*" ], - "description": "watch changes to an object of kind PodPreset. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", - "operationId": "watchSettingsV1alpha1NamespacedPodPreset", + "description": "delete collection of CSINode", + "operationId": "deleteStorageV1CollectionCSINode", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": true + }, + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": 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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind CSINode", + "operationId": "listStorageV1CSINode", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINodeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a CSINode", + "operationId": "createStorageV1CSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + } + }, + "/apis/storage.k8s.io/v1/csinodes/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a CSINode", + "operationId": "deleteStorageV1CSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Status" } }, "401": { @@ -107407,116 +110813,47 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], - "x-kubernetes-action": "watch", + "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, - "parameters": [ - { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, - { - "description": "name of the PodPreset", - "in": "path", - "name": "name", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true - } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { "get": { "consumes": [ "*/*" ], - "description": "watch individual changes to a list of PodPreset. deprecated: use the 'watch' parameter with a list operation instead.", - "operationId": "watchSettingsV1alpha1PodPresetListForAllNamespaces", + "description": "read the specified CSINode", + "operationId": "readStorageV1CSINode", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], "produces": [ "application/json", "application/yaml", - "application/vnd.kubernetes.protobuf", - "application/json;stream=watch", - "application/vnd.kubernetes.protobuf;stream=watch" + "application/vnd.kubernetes.protobuf" ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -107527,90 +110864,72 @@ "https" ], "tags": [ - "settings_v1alpha1" + "storage_v1" ], - "x-kubernetes-action": "watchlist", + "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "settings.k8s.io", - "kind": "PodPreset", - "version": "v1alpha1" + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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.", - "in": "query", - "name": "continue", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true - }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", + "description": "name of the CSINode", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", "name": "pretty", "type": "string", "uniqueItems": 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.", - "in": "query", - "name": "resourceVersion", - "type": "string", - "uniqueItems": true - }, - { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "in": "query", - "name": "watch", - "type": "boolean", - "uniqueItems": true } - ] - }, - "/apis/storage.k8s.io/": { - "get": { + ], + "patch": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified CSINode", + "operationId": "patchStorageV1CSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Patch" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get information of a group", - "operationId": "getStorageAPIGroup", "produces": [ "application/json", "application/yaml", @@ -107620,7 +110939,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIGroup" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -107631,19 +110950,45 @@ "https" ], "tags": [ - "storage" - ] - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { + "storage_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified CSINode", + "operationId": "replaceStorageV1CSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getStorageV1APIResources", "produces": [ "application/json", "application/yaml", @@ -107653,7 +110998,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, "401": { @@ -107665,7 +111016,13 @@ ], "tags": [ "storage_v1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } } }, "/apis/storage.k8s.io/v1/storageclasses": { @@ -107677,7 +111034,7 @@ "operationId": "deleteStorageV1CollectionStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -107805,7 +111162,7 @@ "operationId": "listStorageV1StorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -108264,7 +111621,7 @@ "operationId": "deleteStorageV1CollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -108392,7 +111749,7 @@ "operationId": "listStorageV1VolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109030,6 +112387,222 @@ } } }, + "/apis/storage.k8s.io/v1/watch/csinodes": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch individual changes to a list of CSINode. deprecated: use the 'watch' parameter with a list operation instead.", + "operationId": "watchStorageV1CSINodeList", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watchlist", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { + "get": { + "consumes": [ + "*/*" + ], + "description": "watch changes to an object of kind CSINode. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.", + "operationId": "watchStorageV1CSINode", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.WatchEvent" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "watch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CSINode", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, "/apis/storage.k8s.io/v1/watch/storageclasses": { "get": { "consumes": [ @@ -109070,7 +112643,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109174,7 +112747,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109286,7 +112859,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109390,7 +112963,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109504,7 +113077,7 @@ "operationId": "deleteStorageV1alpha1CollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -109632,7 +113205,7 @@ "operationId": "listStorageV1alpha1VolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110122,7 +113695,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110226,7 +113799,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110340,7 +113913,7 @@ "operationId": "deleteStorageV1beta1CollectionCSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110468,7 +114041,7 @@ "operationId": "listStorageV1beta1CSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -110927,7 +114500,7 @@ "operationId": "deleteStorageV1beta1CollectionCSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -111055,7 +114628,7 @@ "operationId": "listStorageV1beta1CSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -111514,7 +115087,7 @@ "operationId": "deleteStorageV1beta1CollectionStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -111642,7 +115215,7 @@ "operationId": "listStorageV1beta1StorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112101,7 +115674,7 @@ "operationId": "deleteStorageV1beta1CollectionVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112229,7 +115802,7 @@ "operationId": "listStorageV1beta1VolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112719,7 +116292,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112823,7 +116396,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -112935,7 +116508,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113039,7 +116612,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113151,7 +116724,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113255,7 +116828,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113367,7 +116940,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -113471,7 +117044,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", diff --git a/kubernetes/test/__init__.py b/kubernetes/test/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/kubernetes/test/test_admissionregistration_api.py b/kubernetes/test/test_admissionregistration_api.py new file mode 100644 index 0000000000..fb52b6ec57 --- /dev/null +++ b/kubernetes/test/test_admissionregistration_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAdmissionregistrationApi(unittest.TestCase): + """AdmissionregistrationApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.admissionregistration_api.AdmissionregistrationApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1_api.py b/kubernetes/test/test_admissionregistration_v1_api.py new file mode 100644 index 0000000000..425885637c --- /dev/null +++ b/kubernetes/test/test_admissionregistration_v1_api.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAdmissionregistrationV1Api(unittest.TestCase): + """AdmissionregistrationV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.admissionregistration_v1_api.AdmissionregistrationV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_mutating_webhook_configuration(self): + """Test case for create_mutating_webhook_configuration + + """ + pass + + def test_create_validating_webhook_configuration(self): + """Test case for create_validating_webhook_configuration + + """ + pass + + def test_delete_collection_mutating_webhook_configuration(self): + """Test case for delete_collection_mutating_webhook_configuration + + """ + pass + + def test_delete_collection_validating_webhook_configuration(self): + """Test case for delete_collection_validating_webhook_configuration + + """ + pass + + def test_delete_mutating_webhook_configuration(self): + """Test case for delete_mutating_webhook_configuration + + """ + pass + + def test_delete_validating_webhook_configuration(self): + """Test case for delete_validating_webhook_configuration + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_mutating_webhook_configuration(self): + """Test case for list_mutating_webhook_configuration + + """ + pass + + def test_list_validating_webhook_configuration(self): + """Test case for list_validating_webhook_configuration + + """ + pass + + def test_patch_mutating_webhook_configuration(self): + """Test case for patch_mutating_webhook_configuration + + """ + pass + + def test_patch_validating_webhook_configuration(self): + """Test case for patch_validating_webhook_configuration + + """ + pass + + def test_read_mutating_webhook_configuration(self): + """Test case for read_mutating_webhook_configuration + + """ + pass + + def test_read_validating_webhook_configuration(self): + """Test case for read_validating_webhook_configuration + + """ + pass + + def test_replace_mutating_webhook_configuration(self): + """Test case for replace_mutating_webhook_configuration + + """ + pass + + def test_replace_validating_webhook_configuration(self): + """Test case for replace_validating_webhook_configuration + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1_service_reference.py b/kubernetes/test/test_admissionregistration_v1_service_reference.py new file mode 100644 index 0000000000..c988ef208e --- /dev/null +++ b/kubernetes/test/test_admissionregistration_v1_service_reference.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.admissionregistration_v1_service_reference import AdmissionregistrationV1ServiceReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAdmissionregistrationV1ServiceReference(unittest.TestCase): + """AdmissionregistrationV1ServiceReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AdmissionregistrationV1ServiceReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.admissionregistration_v1_service_reference.AdmissionregistrationV1ServiceReference() # noqa: E501 + if include_optional : + return AdmissionregistrationV1ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56 + ) + else : + return AdmissionregistrationV1ServiceReference( + name = '0', + namespace = '0', + ) + + def testAdmissionregistrationV1ServiceReference(self): + """Test AdmissionregistrationV1ServiceReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py b/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py new file mode 100644 index 0000000000..0d0715cd2b --- /dev/null +++ b/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.admissionregistration_v1_webhook_client_config import AdmissionregistrationV1WebhookClientConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAdmissionregistrationV1WebhookClientConfig(unittest.TestCase): + """AdmissionregistrationV1WebhookClientConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AdmissionregistrationV1WebhookClientConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.admissionregistration_v1_webhook_client_config.AdmissionregistrationV1WebhookClientConfig() # noqa: E501 + if include_optional : + return AdmissionregistrationV1WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0' + ) + else : + return AdmissionregistrationV1WebhookClientConfig( + ) + + def testAdmissionregistrationV1WebhookClientConfig(self): + """Test AdmissionregistrationV1WebhookClientConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_api.py b/kubernetes/test/test_admissionregistration_v1beta1_api.py new file mode 100644 index 0000000000..ca98dd9660 --- /dev/null +++ b/kubernetes/test/test_admissionregistration_v1beta1_api.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAdmissionregistrationV1beta1Api(unittest.TestCase): + """AdmissionregistrationV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.admissionregistration_v1beta1_api.AdmissionregistrationV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_mutating_webhook_configuration(self): + """Test case for create_mutating_webhook_configuration + + """ + pass + + def test_create_validating_webhook_configuration(self): + """Test case for create_validating_webhook_configuration + + """ + pass + + def test_delete_collection_mutating_webhook_configuration(self): + """Test case for delete_collection_mutating_webhook_configuration + + """ + pass + + def test_delete_collection_validating_webhook_configuration(self): + """Test case for delete_collection_validating_webhook_configuration + + """ + pass + + def test_delete_mutating_webhook_configuration(self): + """Test case for delete_mutating_webhook_configuration + + """ + pass + + def test_delete_validating_webhook_configuration(self): + """Test case for delete_validating_webhook_configuration + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_mutating_webhook_configuration(self): + """Test case for list_mutating_webhook_configuration + + """ + pass + + def test_list_validating_webhook_configuration(self): + """Test case for list_validating_webhook_configuration + + """ + pass + + def test_patch_mutating_webhook_configuration(self): + """Test case for patch_mutating_webhook_configuration + + """ + pass + + def test_patch_validating_webhook_configuration(self): + """Test case for patch_validating_webhook_configuration + + """ + pass + + def test_read_mutating_webhook_configuration(self): + """Test case for read_mutating_webhook_configuration + + """ + pass + + def test_read_validating_webhook_configuration(self): + """Test case for read_validating_webhook_configuration + + """ + pass + + def test_replace_mutating_webhook_configuration(self): + """Test case for replace_mutating_webhook_configuration + + """ + pass + + def test_replace_validating_webhook_configuration(self): + """Test case for replace_validating_webhook_configuration + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py b/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py new file mode 100644 index 0000000000..8da192efc2 --- /dev/null +++ b/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.admissionregistration_v1beta1_service_reference import AdmissionregistrationV1beta1ServiceReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAdmissionregistrationV1beta1ServiceReference(unittest.TestCase): + """AdmissionregistrationV1beta1ServiceReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AdmissionregistrationV1beta1ServiceReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.admissionregistration_v1beta1_service_reference.AdmissionregistrationV1beta1ServiceReference() # noqa: E501 + if include_optional : + return AdmissionregistrationV1beta1ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56 + ) + else : + return AdmissionregistrationV1beta1ServiceReference( + name = '0', + namespace = '0', + ) + + def testAdmissionregistrationV1beta1ServiceReference(self): + """Test AdmissionregistrationV1beta1ServiceReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py b/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py new file mode 100644 index 0000000000..ba55eeba3f --- /dev/null +++ b/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.admissionregistration_v1beta1_webhook_client_config import AdmissionregistrationV1beta1WebhookClientConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAdmissionregistrationV1beta1WebhookClientConfig(unittest.TestCase): + """AdmissionregistrationV1beta1WebhookClientConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AdmissionregistrationV1beta1WebhookClientConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.admissionregistration_v1beta1_webhook_client_config.AdmissionregistrationV1beta1WebhookClientConfig() # noqa: E501 + if include_optional : + return AdmissionregistrationV1beta1WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0' + ) + else : + return AdmissionregistrationV1beta1WebhookClientConfig( + ) + + def testAdmissionregistrationV1beta1WebhookClientConfig(self): + """Test AdmissionregistrationV1beta1WebhookClientConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_api_client.py b/kubernetes/test/test_api_client.py deleted file mode 100644 index f0a9416cf7..0000000000 --- a/kubernetes/test/test_api_client.py +++ /dev/null @@ -1,25 +0,0 @@ -# coding: utf-8 - - -import atexit -import weakref -import unittest - -import kubernetes - - -class TestApiClient(unittest.TestCase): - - def test_context_manager_closes_threadpool(self): - with kubernetes.client.ApiClient() as client: - self.assertIsNotNone(client.pool) - pool_ref = weakref.ref(client._pool) - self.assertIsNotNone(pool_ref()) - self.assertIsNone(pool_ref()) - - def test_atexit_closes_threadpool(self): - client = kubernetes.client.ApiClient() - self.assertIsNotNone(client.pool) - self.assertIsNotNone(client._pool) - atexit._run_exitfuncs() - self.assertIsNone(client._pool) diff --git a/kubernetes/test/test_apiextensions_api.py b/kubernetes/test/test_apiextensions_api.py new file mode 100644 index 0000000000..537c02d02c --- /dev/null +++ b/kubernetes/test/test_apiextensions_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apiextensions_api import ApiextensionsApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestApiextensionsApi(unittest.TestCase): + """ApiextensionsApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apiextensions_api.ApiextensionsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1_api.py b/kubernetes/test/test_apiextensions_v1_api.py new file mode 100644 index 0000000000..200eb56658 --- /dev/null +++ b/kubernetes/test/test_apiextensions_v1_api.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apiextensions_v1_api import ApiextensionsV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestApiextensionsV1Api(unittest.TestCase): + """ApiextensionsV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apiextensions_v1_api.ApiextensionsV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_custom_resource_definition(self): + """Test case for create_custom_resource_definition + + """ + pass + + def test_delete_collection_custom_resource_definition(self): + """Test case for delete_collection_custom_resource_definition + + """ + pass + + def test_delete_custom_resource_definition(self): + """Test case for delete_custom_resource_definition + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_custom_resource_definition(self): + """Test case for list_custom_resource_definition + + """ + pass + + def test_patch_custom_resource_definition(self): + """Test case for patch_custom_resource_definition + + """ + pass + + def test_patch_custom_resource_definition_status(self): + """Test case for patch_custom_resource_definition_status + + """ + pass + + def test_read_custom_resource_definition(self): + """Test case for read_custom_resource_definition + + """ + pass + + def test_read_custom_resource_definition_status(self): + """Test case for read_custom_resource_definition_status + + """ + pass + + def test_replace_custom_resource_definition(self): + """Test case for replace_custom_resource_definition + + """ + pass + + def test_replace_custom_resource_definition_status(self): + """Test case for replace_custom_resource_definition_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1_service_reference.py b/kubernetes/test/test_apiextensions_v1_service_reference.py new file mode 100644 index 0000000000..d89426e98f --- /dev/null +++ b/kubernetes/test/test_apiextensions_v1_service_reference.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestApiextensionsV1ServiceReference(unittest.TestCase): + """ApiextensionsV1ServiceReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ApiextensionsV1ServiceReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apiextensions_v1_service_reference.ApiextensionsV1ServiceReference() # noqa: E501 + if include_optional : + return ApiextensionsV1ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56 + ) + else : + return ApiextensionsV1ServiceReference( + name = '0', + namespace = '0', + ) + + def testApiextensionsV1ServiceReference(self): + """Test ApiextensionsV1ServiceReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1_webhook_client_config.py b/kubernetes/test/test_apiextensions_v1_webhook_client_config.py new file mode 100644 index 0000000000..3a1436ae08 --- /dev/null +++ b/kubernetes/test/test_apiextensions_v1_webhook_client_config.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apiextensions_v1_webhook_client_config import ApiextensionsV1WebhookClientConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestApiextensionsV1WebhookClientConfig(unittest.TestCase): + """ApiextensionsV1WebhookClientConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ApiextensionsV1WebhookClientConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apiextensions_v1_webhook_client_config.ApiextensionsV1WebhookClientConfig() # noqa: E501 + if include_optional : + return ApiextensionsV1WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0' + ) + else : + return ApiextensionsV1WebhookClientConfig( + ) + + def testApiextensionsV1WebhookClientConfig(self): + """Test ApiextensionsV1WebhookClientConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_api.py b/kubernetes/test/test_apiextensions_v1beta1_api.py new file mode 100644 index 0000000000..991ddb4686 --- /dev/null +++ b/kubernetes/test/test_apiextensions_v1beta1_api.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apiextensions_v1beta1_api import ApiextensionsV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestApiextensionsV1beta1Api(unittest.TestCase): + """ApiextensionsV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apiextensions_v1beta1_api.ApiextensionsV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_custom_resource_definition(self): + """Test case for create_custom_resource_definition + + """ + pass + + def test_delete_collection_custom_resource_definition(self): + """Test case for delete_collection_custom_resource_definition + + """ + pass + + def test_delete_custom_resource_definition(self): + """Test case for delete_custom_resource_definition + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_custom_resource_definition(self): + """Test case for list_custom_resource_definition + + """ + pass + + def test_patch_custom_resource_definition(self): + """Test case for patch_custom_resource_definition + + """ + pass + + def test_patch_custom_resource_definition_status(self): + """Test case for patch_custom_resource_definition_status + + """ + pass + + def test_read_custom_resource_definition(self): + """Test case for read_custom_resource_definition + + """ + pass + + def test_read_custom_resource_definition_status(self): + """Test case for read_custom_resource_definition_status + + """ + pass + + def test_replace_custom_resource_definition(self): + """Test case for replace_custom_resource_definition + + """ + pass + + def test_replace_custom_resource_definition_status(self): + """Test case for replace_custom_resource_definition_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_service_reference.py b/kubernetes/test/test_apiextensions_v1beta1_service_reference.py new file mode 100644 index 0000000000..2500cea777 --- /dev/null +++ b/kubernetes/test/test_apiextensions_v1beta1_service_reference.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apiextensions_v1beta1_service_reference import ApiextensionsV1beta1ServiceReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestApiextensionsV1beta1ServiceReference(unittest.TestCase): + """ApiextensionsV1beta1ServiceReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ApiextensionsV1beta1ServiceReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apiextensions_v1beta1_service_reference.ApiextensionsV1beta1ServiceReference() # noqa: E501 + if include_optional : + return ApiextensionsV1beta1ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56 + ) + else : + return ApiextensionsV1beta1ServiceReference( + name = '0', + namespace = '0', + ) + + def testApiextensionsV1beta1ServiceReference(self): + """Test ApiextensionsV1beta1ServiceReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py b/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py new file mode 100644 index 0000000000..92df257a79 --- /dev/null +++ b/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apiextensions_v1beta1_webhook_client_config import ApiextensionsV1beta1WebhookClientConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestApiextensionsV1beta1WebhookClientConfig(unittest.TestCase): + """ApiextensionsV1beta1WebhookClientConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ApiextensionsV1beta1WebhookClientConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apiextensions_v1beta1_webhook_client_config.ApiextensionsV1beta1WebhookClientConfig() # noqa: E501 + if include_optional : + return ApiextensionsV1beta1WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0' + ) + else : + return ApiextensionsV1beta1WebhookClientConfig( + ) + + def testApiextensionsV1beta1WebhookClientConfig(self): + """Test ApiextensionsV1beta1WebhookClientConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiregistration_api.py b/kubernetes/test/test_apiregistration_api.py new file mode 100644 index 0000000000..52689f152f --- /dev/null +++ b/kubernetes/test/test_apiregistration_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apiregistration_api import ApiregistrationApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestApiregistrationApi(unittest.TestCase): + """ApiregistrationApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apiregistration_api.ApiregistrationApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1_api.py b/kubernetes/test/test_apiregistration_v1_api.py new file mode 100644 index 0000000000..cd13fa5c31 --- /dev/null +++ b/kubernetes/test/test_apiregistration_v1_api.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apiregistration_v1_api import ApiregistrationV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestApiregistrationV1Api(unittest.TestCase): + """ApiregistrationV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apiregistration_v1_api.ApiregistrationV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_api_service(self): + """Test case for create_api_service + + """ + pass + + def test_delete_api_service(self): + """Test case for delete_api_service + + """ + pass + + def test_delete_collection_api_service(self): + """Test case for delete_collection_api_service + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_api_service(self): + """Test case for list_api_service + + """ + pass + + def test_patch_api_service(self): + """Test case for patch_api_service + + """ + pass + + def test_patch_api_service_status(self): + """Test case for patch_api_service_status + + """ + pass + + def test_read_api_service(self): + """Test case for read_api_service + + """ + pass + + def test_read_api_service_status(self): + """Test case for read_api_service_status + + """ + pass + + def test_replace_api_service(self): + """Test case for replace_api_service + + """ + pass + + def test_replace_api_service_status(self): + """Test case for replace_api_service_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1_service_reference.py b/kubernetes/test/test_apiregistration_v1_service_reference.py new file mode 100644 index 0000000000..b9faba7a37 --- /dev/null +++ b/kubernetes/test/test_apiregistration_v1_service_reference.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestApiregistrationV1ServiceReference(unittest.TestCase): + """ApiregistrationV1ServiceReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ApiregistrationV1ServiceReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apiregistration_v1_service_reference.ApiregistrationV1ServiceReference() # noqa: E501 + if include_optional : + return ApiregistrationV1ServiceReference( + name = '0', + namespace = '0', + port = 56 + ) + else : + return ApiregistrationV1ServiceReference( + ) + + def testApiregistrationV1ServiceReference(self): + """Test ApiregistrationV1ServiceReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1beta1_api.py b/kubernetes/test/test_apiregistration_v1beta1_api.py new file mode 100644 index 0000000000..6e8e65710f --- /dev/null +++ b/kubernetes/test/test_apiregistration_v1beta1_api.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apiregistration_v1beta1_api import ApiregistrationV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestApiregistrationV1beta1Api(unittest.TestCase): + """ApiregistrationV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apiregistration_v1beta1_api.ApiregistrationV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_api_service(self): + """Test case for create_api_service + + """ + pass + + def test_delete_api_service(self): + """Test case for delete_api_service + + """ + pass + + def test_delete_collection_api_service(self): + """Test case for delete_collection_api_service + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_api_service(self): + """Test case for list_api_service + + """ + pass + + def test_patch_api_service(self): + """Test case for patch_api_service + + """ + pass + + def test_patch_api_service_status(self): + """Test case for patch_api_service_status + + """ + pass + + def test_read_api_service(self): + """Test case for read_api_service + + """ + pass + + def test_read_api_service_status(self): + """Test case for read_api_service_status + + """ + pass + + def test_replace_api_service(self): + """Test case for replace_api_service + + """ + pass + + def test_replace_api_service_status(self): + """Test case for replace_api_service_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py b/kubernetes/test/test_apiregistration_v1beta1_service_reference.py new file mode 100644 index 0000000000..8db993b140 --- /dev/null +++ b/kubernetes/test/test_apiregistration_v1beta1_service_reference.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apiregistration_v1beta1_service_reference import ApiregistrationV1beta1ServiceReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestApiregistrationV1beta1ServiceReference(unittest.TestCase): + """ApiregistrationV1beta1ServiceReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ApiregistrationV1beta1ServiceReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apiregistration_v1beta1_service_reference.ApiregistrationV1beta1ServiceReference() # noqa: E501 + if include_optional : + return ApiregistrationV1beta1ServiceReference( + name = '0', + namespace = '0', + port = 56 + ) + else : + return ApiregistrationV1beta1ServiceReference( + ) + + def testApiregistrationV1beta1ServiceReference(self): + """Test ApiregistrationV1beta1ServiceReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apis_api.py b/kubernetes/test/test_apis_api.py new file mode 100644 index 0000000000..77b99cfa5f --- /dev/null +++ b/kubernetes/test/test_apis_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apis_api import ApisApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestApisApi(unittest.TestCase): + """ApisApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apis_api.ApisApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_versions(self): + """Test case for get_api_versions + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_api.py b/kubernetes/test/test_apps_api.py new file mode 100644 index 0000000000..6c44798a81 --- /dev/null +++ b/kubernetes/test/test_apps_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apps_api import AppsApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAppsApi(unittest.TestCase): + """AppsApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apps_api.AppsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1_api.py b/kubernetes/test/test_apps_v1_api.py new file mode 100644 index 0000000000..79279ea909 --- /dev/null +++ b/kubernetes/test/test_apps_v1_api.py @@ -0,0 +1,405 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apps_v1_api import AppsV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAppsV1Api(unittest.TestCase): + """AppsV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apps_v1_api.AppsV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_controller_revision(self): + """Test case for create_namespaced_controller_revision + + """ + pass + + def test_create_namespaced_daemon_set(self): + """Test case for create_namespaced_daemon_set + + """ + pass + + def test_create_namespaced_deployment(self): + """Test case for create_namespaced_deployment + + """ + pass + + def test_create_namespaced_replica_set(self): + """Test case for create_namespaced_replica_set + + """ + pass + + def test_create_namespaced_stateful_set(self): + """Test case for create_namespaced_stateful_set + + """ + pass + + def test_delete_collection_namespaced_controller_revision(self): + """Test case for delete_collection_namespaced_controller_revision + + """ + pass + + def test_delete_collection_namespaced_daemon_set(self): + """Test case for delete_collection_namespaced_daemon_set + + """ + pass + + def test_delete_collection_namespaced_deployment(self): + """Test case for delete_collection_namespaced_deployment + + """ + pass + + def test_delete_collection_namespaced_replica_set(self): + """Test case for delete_collection_namespaced_replica_set + + """ + pass + + def test_delete_collection_namespaced_stateful_set(self): + """Test case for delete_collection_namespaced_stateful_set + + """ + pass + + def test_delete_namespaced_controller_revision(self): + """Test case for delete_namespaced_controller_revision + + """ + pass + + def test_delete_namespaced_daemon_set(self): + """Test case for delete_namespaced_daemon_set + + """ + pass + + def test_delete_namespaced_deployment(self): + """Test case for delete_namespaced_deployment + + """ + pass + + def test_delete_namespaced_replica_set(self): + """Test case for delete_namespaced_replica_set + + """ + pass + + def test_delete_namespaced_stateful_set(self): + """Test case for delete_namespaced_stateful_set + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_controller_revision_for_all_namespaces(self): + """Test case for list_controller_revision_for_all_namespaces + + """ + pass + + def test_list_daemon_set_for_all_namespaces(self): + """Test case for list_daemon_set_for_all_namespaces + + """ + pass + + def test_list_deployment_for_all_namespaces(self): + """Test case for list_deployment_for_all_namespaces + + """ + pass + + def test_list_namespaced_controller_revision(self): + """Test case for list_namespaced_controller_revision + + """ + pass + + def test_list_namespaced_daemon_set(self): + """Test case for list_namespaced_daemon_set + + """ + pass + + def test_list_namespaced_deployment(self): + """Test case for list_namespaced_deployment + + """ + pass + + def test_list_namespaced_replica_set(self): + """Test case for list_namespaced_replica_set + + """ + pass + + def test_list_namespaced_stateful_set(self): + """Test case for list_namespaced_stateful_set + + """ + pass + + def test_list_replica_set_for_all_namespaces(self): + """Test case for list_replica_set_for_all_namespaces + + """ + pass + + def test_list_stateful_set_for_all_namespaces(self): + """Test case for list_stateful_set_for_all_namespaces + + """ + pass + + def test_patch_namespaced_controller_revision(self): + """Test case for patch_namespaced_controller_revision + + """ + pass + + def test_patch_namespaced_daemon_set(self): + """Test case for patch_namespaced_daemon_set + + """ + pass + + def test_patch_namespaced_daemon_set_status(self): + """Test case for patch_namespaced_daemon_set_status + + """ + pass + + def test_patch_namespaced_deployment(self): + """Test case for patch_namespaced_deployment + + """ + pass + + def test_patch_namespaced_deployment_scale(self): + """Test case for patch_namespaced_deployment_scale + + """ + pass + + def test_patch_namespaced_deployment_status(self): + """Test case for patch_namespaced_deployment_status + + """ + pass + + def test_patch_namespaced_replica_set(self): + """Test case for patch_namespaced_replica_set + + """ + pass + + def test_patch_namespaced_replica_set_scale(self): + """Test case for patch_namespaced_replica_set_scale + + """ + pass + + def test_patch_namespaced_replica_set_status(self): + """Test case for patch_namespaced_replica_set_status + + """ + pass + + def test_patch_namespaced_stateful_set(self): + """Test case for patch_namespaced_stateful_set + + """ + pass + + def test_patch_namespaced_stateful_set_scale(self): + """Test case for patch_namespaced_stateful_set_scale + + """ + pass + + def test_patch_namespaced_stateful_set_status(self): + """Test case for patch_namespaced_stateful_set_status + + """ + pass + + def test_read_namespaced_controller_revision(self): + """Test case for read_namespaced_controller_revision + + """ + pass + + def test_read_namespaced_daemon_set(self): + """Test case for read_namespaced_daemon_set + + """ + pass + + def test_read_namespaced_daemon_set_status(self): + """Test case for read_namespaced_daemon_set_status + + """ + pass + + def test_read_namespaced_deployment(self): + """Test case for read_namespaced_deployment + + """ + pass + + def test_read_namespaced_deployment_scale(self): + """Test case for read_namespaced_deployment_scale + + """ + pass + + def test_read_namespaced_deployment_status(self): + """Test case for read_namespaced_deployment_status + + """ + pass + + def test_read_namespaced_replica_set(self): + """Test case for read_namespaced_replica_set + + """ + pass + + def test_read_namespaced_replica_set_scale(self): + """Test case for read_namespaced_replica_set_scale + + """ + pass + + def test_read_namespaced_replica_set_status(self): + """Test case for read_namespaced_replica_set_status + + """ + pass + + def test_read_namespaced_stateful_set(self): + """Test case for read_namespaced_stateful_set + + """ + pass + + def test_read_namespaced_stateful_set_scale(self): + """Test case for read_namespaced_stateful_set_scale + + """ + pass + + def test_read_namespaced_stateful_set_status(self): + """Test case for read_namespaced_stateful_set_status + + """ + pass + + def test_replace_namespaced_controller_revision(self): + """Test case for replace_namespaced_controller_revision + + """ + pass + + def test_replace_namespaced_daemon_set(self): + """Test case for replace_namespaced_daemon_set + + """ + pass + + def test_replace_namespaced_daemon_set_status(self): + """Test case for replace_namespaced_daemon_set_status + + """ + pass + + def test_replace_namespaced_deployment(self): + """Test case for replace_namespaced_deployment + + """ + pass + + def test_replace_namespaced_deployment_scale(self): + """Test case for replace_namespaced_deployment_scale + + """ + pass + + def test_replace_namespaced_deployment_status(self): + """Test case for replace_namespaced_deployment_status + + """ + pass + + def test_replace_namespaced_replica_set(self): + """Test case for replace_namespaced_replica_set + + """ + pass + + def test_replace_namespaced_replica_set_scale(self): + """Test case for replace_namespaced_replica_set_scale + + """ + pass + + def test_replace_namespaced_replica_set_status(self): + """Test case for replace_namespaced_replica_set_status + + """ + pass + + def test_replace_namespaced_stateful_set(self): + """Test case for replace_namespaced_stateful_set + + """ + pass + + def test_replace_namespaced_stateful_set_scale(self): + """Test case for replace_namespaced_stateful_set_scale + + """ + pass + + def test_replace_namespaced_stateful_set_status(self): + """Test case for replace_namespaced_stateful_set_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_api.py b/kubernetes/test/test_apps_v1beta1_api.py new file mode 100644 index 0000000000..c8f109a494 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_api.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apps_v1beta1_api import AppsV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAppsV1beta1Api(unittest.TestCase): + """AppsV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apps_v1beta1_api.AppsV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_controller_revision(self): + """Test case for create_namespaced_controller_revision + + """ + pass + + def test_create_namespaced_deployment(self): + """Test case for create_namespaced_deployment + + """ + pass + + def test_create_namespaced_deployment_rollback(self): + """Test case for create_namespaced_deployment_rollback + + """ + pass + + def test_create_namespaced_stateful_set(self): + """Test case for create_namespaced_stateful_set + + """ + pass + + def test_delete_collection_namespaced_controller_revision(self): + """Test case for delete_collection_namespaced_controller_revision + + """ + pass + + def test_delete_collection_namespaced_deployment(self): + """Test case for delete_collection_namespaced_deployment + + """ + pass + + def test_delete_collection_namespaced_stateful_set(self): + """Test case for delete_collection_namespaced_stateful_set + + """ + pass + + def test_delete_namespaced_controller_revision(self): + """Test case for delete_namespaced_controller_revision + + """ + pass + + def test_delete_namespaced_deployment(self): + """Test case for delete_namespaced_deployment + + """ + pass + + def test_delete_namespaced_stateful_set(self): + """Test case for delete_namespaced_stateful_set + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_controller_revision_for_all_namespaces(self): + """Test case for list_controller_revision_for_all_namespaces + + """ + pass + + def test_list_deployment_for_all_namespaces(self): + """Test case for list_deployment_for_all_namespaces + + """ + pass + + def test_list_namespaced_controller_revision(self): + """Test case for list_namespaced_controller_revision + + """ + pass + + def test_list_namespaced_deployment(self): + """Test case for list_namespaced_deployment + + """ + pass + + def test_list_namespaced_stateful_set(self): + """Test case for list_namespaced_stateful_set + + """ + pass + + def test_list_stateful_set_for_all_namespaces(self): + """Test case for list_stateful_set_for_all_namespaces + + """ + pass + + def test_patch_namespaced_controller_revision(self): + """Test case for patch_namespaced_controller_revision + + """ + pass + + def test_patch_namespaced_deployment(self): + """Test case for patch_namespaced_deployment + + """ + pass + + def test_patch_namespaced_deployment_scale(self): + """Test case for patch_namespaced_deployment_scale + + """ + pass + + def test_patch_namespaced_deployment_status(self): + """Test case for patch_namespaced_deployment_status + + """ + pass + + def test_patch_namespaced_stateful_set(self): + """Test case for patch_namespaced_stateful_set + + """ + pass + + def test_patch_namespaced_stateful_set_scale(self): + """Test case for patch_namespaced_stateful_set_scale + + """ + pass + + def test_patch_namespaced_stateful_set_status(self): + """Test case for patch_namespaced_stateful_set_status + + """ + pass + + def test_read_namespaced_controller_revision(self): + """Test case for read_namespaced_controller_revision + + """ + pass + + def test_read_namespaced_deployment(self): + """Test case for read_namespaced_deployment + + """ + pass + + def test_read_namespaced_deployment_scale(self): + """Test case for read_namespaced_deployment_scale + + """ + pass + + def test_read_namespaced_deployment_status(self): + """Test case for read_namespaced_deployment_status + + """ + pass + + def test_read_namespaced_stateful_set(self): + """Test case for read_namespaced_stateful_set + + """ + pass + + def test_read_namespaced_stateful_set_scale(self): + """Test case for read_namespaced_stateful_set_scale + + """ + pass + + def test_read_namespaced_stateful_set_status(self): + """Test case for read_namespaced_stateful_set_status + + """ + pass + + def test_replace_namespaced_controller_revision(self): + """Test case for replace_namespaced_controller_revision + + """ + pass + + def test_replace_namespaced_deployment(self): + """Test case for replace_namespaced_deployment + + """ + pass + + def test_replace_namespaced_deployment_scale(self): + """Test case for replace_namespaced_deployment_scale + + """ + pass + + def test_replace_namespaced_deployment_status(self): + """Test case for replace_namespaced_deployment_status + + """ + pass + + def test_replace_namespaced_stateful_set(self): + """Test case for replace_namespaced_stateful_set + + """ + pass + + def test_replace_namespaced_stateful_set_scale(self): + """Test case for replace_namespaced_stateful_set_scale + + """ + pass + + def test_replace_namespaced_stateful_set_status(self): + """Test case for replace_namespaced_stateful_set_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment.py b/kubernetes/test/test_apps_v1beta1_deployment.py new file mode 100644 index 0000000000..b74341516c --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_deployment.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_deployment import AppsV1beta1Deployment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1Deployment(unittest.TestCase): + """AppsV1beta1Deployment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1Deployment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_deployment.AppsV1beta1Deployment() # noqa: E501 + if include_optional : + return AppsV1beta1Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( + revision = 56, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( + rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ), ), + status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ) + ) + else : + return AppsV1beta1Deployment( + ) + + def testAppsV1beta1Deployment(self): + """Test AppsV1beta1Deployment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_condition.py b/kubernetes/test/test_apps_v1beta1_deployment_condition.py new file mode 100644 index 0000000000..12bbd6ca30 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_deployment_condition.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_deployment_condition import AppsV1beta1DeploymentCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1DeploymentCondition(unittest.TestCase): + """AppsV1beta1DeploymentCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1DeploymentCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_deployment_condition.AppsV1beta1DeploymentCondition() # noqa: E501 + if include_optional : + return AppsV1beta1DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return AppsV1beta1DeploymentCondition( + status = '0', + type = '0', + ) + + def testAppsV1beta1DeploymentCondition(self): + """Test AppsV1beta1DeploymentCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_list.py b/kubernetes/test/test_apps_v1beta1_deployment_list.py new file mode 100644 index 0000000000..f487bd5630 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_deployment_list.py @@ -0,0 +1,232 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_deployment_list import AppsV1beta1DeploymentList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1DeploymentList(unittest.TestCase): + """AppsV1beta1DeploymentList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1DeploymentList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_deployment_list.AppsV1beta1DeploymentList() # noqa: E501 + if include_optional : + return AppsV1beta1DeploymentList( + api_version = '0', + items = [ + kubernetes.client.models.apps/v1beta1/deployment.apps.v1beta1.Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( + revision = 56, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( + rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return AppsV1beta1DeploymentList( + items = [ + kubernetes.client.models.apps/v1beta1/deployment.apps.v1beta1.Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( + revision = 56, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( + rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ), ) + ], + ) + + def testAppsV1beta1DeploymentList(self): + """Test AppsV1beta1DeploymentList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py b/kubernetes/test/test_apps_v1beta1_deployment_rollback.py new file mode 100644 index 0000000000..5449df4f60 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_deployment_rollback.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_deployment_rollback import AppsV1beta1DeploymentRollback # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1DeploymentRollback(unittest.TestCase): + """AppsV1beta1DeploymentRollback unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1DeploymentRollback + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_deployment_rollback.AppsV1beta1DeploymentRollback() # noqa: E501 + if include_optional : + return AppsV1beta1DeploymentRollback( + api_version = '0', + kind = '0', + name = '0', + rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( + revision = 56, ), + updated_annotations = { + 'key' : '0' + } + ) + else : + return AppsV1beta1DeploymentRollback( + name = '0', + rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( + revision = 56, ), + ) + + def testAppsV1beta1DeploymentRollback(self): + """Test AppsV1beta1DeploymentRollback""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_spec.py b/kubernetes/test/test_apps_v1beta1_deployment_spec.py new file mode 100644 index 0000000000..d74e0fd000 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_deployment_spec.py @@ -0,0 +1,1043 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_deployment_spec import AppsV1beta1DeploymentSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1DeploymentSpec(unittest.TestCase): + """AppsV1beta1DeploymentSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1DeploymentSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_deployment_spec.AppsV1beta1DeploymentSpec() # noqa: E501 + if include_optional : + return AppsV1beta1DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( + revision = 56, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( + rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return AppsV1beta1DeploymentSpec( + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testAppsV1beta1DeploymentSpec(self): + """Test AppsV1beta1DeploymentSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_status.py b/kubernetes/test/test_apps_v1beta1_deployment_status.py new file mode 100644 index 0000000000..9fd36122a3 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_deployment_status.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_deployment_status import AppsV1beta1DeploymentStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1DeploymentStatus(unittest.TestCase): + """AppsV1beta1DeploymentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1DeploymentStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_deployment_status.AppsV1beta1DeploymentStatus() # noqa: E501 + if include_optional : + return AppsV1beta1DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56 + ) + else : + return AppsV1beta1DeploymentStatus( + ) + + def testAppsV1beta1DeploymentStatus(self): + """Test AppsV1beta1DeploymentStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py b/kubernetes/test/test_apps_v1beta1_deployment_strategy.py new file mode 100644 index 0000000000..a815888426 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_deployment_strategy.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_deployment_strategy import AppsV1beta1DeploymentStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1DeploymentStrategy(unittest.TestCase): + """AppsV1beta1DeploymentStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1DeploymentStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_deployment_strategy.AppsV1beta1DeploymentStrategy() # noqa: E501 + if include_optional : + return AppsV1beta1DeploymentStrategy( + rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0' + ) + else : + return AppsV1beta1DeploymentStrategy( + ) + + def testAppsV1beta1DeploymentStrategy(self): + """Test AppsV1beta1DeploymentStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_rollback_config.py b/kubernetes/test/test_apps_v1beta1_rollback_config.py new file mode 100644 index 0000000000..f4a4fbdd52 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_rollback_config.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_rollback_config import AppsV1beta1RollbackConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1RollbackConfig(unittest.TestCase): + """AppsV1beta1RollbackConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1RollbackConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_rollback_config.AppsV1beta1RollbackConfig() # noqa: E501 + if include_optional : + return AppsV1beta1RollbackConfig( + revision = 56 + ) + else : + return AppsV1beta1RollbackConfig( + ) + + def testAppsV1beta1RollbackConfig(self): + """Test AppsV1beta1RollbackConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py new file mode 100644 index 0000000000..b262a05b6e --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_rolling_update_deployment import AppsV1beta1RollingUpdateDeployment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1RollingUpdateDeployment(unittest.TestCase): + """AppsV1beta1RollingUpdateDeployment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1RollingUpdateDeployment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_rolling_update_deployment.AppsV1beta1RollingUpdateDeployment() # noqa: E501 + if include_optional : + return AppsV1beta1RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() + ) + else : + return AppsV1beta1RollingUpdateDeployment( + ) + + def testAppsV1beta1RollingUpdateDeployment(self): + """Test AppsV1beta1RollingUpdateDeployment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale.py b/kubernetes/test/test_apps_v1beta1_scale.py new file mode 100644 index 0000000000..ba586ddac7 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_scale.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_scale import AppsV1beta1Scale # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1Scale(unittest.TestCase): + """AppsV1beta1Scale unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1Scale + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_scale.AppsV1beta1Scale() # noqa: E501 + if include_optional : + return AppsV1beta1Scale( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.apps/v1beta1/scale_spec.apps.v1beta1.ScaleSpec( + replicas = 56, ), + status = kubernetes.client.models.apps/v1beta1/scale_status.apps.v1beta1.ScaleStatus( + replicas = 56, + selector = { + 'key' : '0' + }, + target_selector = '0', ) + ) + else : + return AppsV1beta1Scale( + ) + + def testAppsV1beta1Scale(self): + """Test AppsV1beta1Scale""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale_spec.py b/kubernetes/test/test_apps_v1beta1_scale_spec.py new file mode 100644 index 0000000000..6375e19e02 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_scale_spec.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_scale_spec import AppsV1beta1ScaleSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1ScaleSpec(unittest.TestCase): + """AppsV1beta1ScaleSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1ScaleSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_scale_spec.AppsV1beta1ScaleSpec() # noqa: E501 + if include_optional : + return AppsV1beta1ScaleSpec( + replicas = 56 + ) + else : + return AppsV1beta1ScaleSpec( + ) + + def testAppsV1beta1ScaleSpec(self): + """Test AppsV1beta1ScaleSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale_status.py b/kubernetes/test/test_apps_v1beta1_scale_status.py new file mode 100644 index 0000000000..abbad7b0b4 --- /dev/null +++ b/kubernetes/test/test_apps_v1beta1_scale_status.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.apps_v1beta1_scale_status import AppsV1beta1ScaleStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestAppsV1beta1ScaleStatus(unittest.TestCase): + """AppsV1beta1ScaleStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test AppsV1beta1ScaleStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.apps_v1beta1_scale_status.AppsV1beta1ScaleStatus() # noqa: E501 + if include_optional : + return AppsV1beta1ScaleStatus( + replicas = 56, + selector = { + 'key' : '0' + }, + target_selector = '0' + ) + else : + return AppsV1beta1ScaleStatus( + replicas = 56, + ) + + def testAppsV1beta1ScaleStatus(self): + """Test AppsV1beta1ScaleStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_apps_v1beta2_api.py b/kubernetes/test/test_apps_v1beta2_api.py new file mode 100644 index 0000000000..a9d02f744d --- /dev/null +++ b/kubernetes/test/test_apps_v1beta2_api.py @@ -0,0 +1,405 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.apps_v1beta2_api import AppsV1beta2Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAppsV1beta2Api(unittest.TestCase): + """AppsV1beta2Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.apps_v1beta2_api.AppsV1beta2Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_controller_revision(self): + """Test case for create_namespaced_controller_revision + + """ + pass + + def test_create_namespaced_daemon_set(self): + """Test case for create_namespaced_daemon_set + + """ + pass + + def test_create_namespaced_deployment(self): + """Test case for create_namespaced_deployment + + """ + pass + + def test_create_namespaced_replica_set(self): + """Test case for create_namespaced_replica_set + + """ + pass + + def test_create_namespaced_stateful_set(self): + """Test case for create_namespaced_stateful_set + + """ + pass + + def test_delete_collection_namespaced_controller_revision(self): + """Test case for delete_collection_namespaced_controller_revision + + """ + pass + + def test_delete_collection_namespaced_daemon_set(self): + """Test case for delete_collection_namespaced_daemon_set + + """ + pass + + def test_delete_collection_namespaced_deployment(self): + """Test case for delete_collection_namespaced_deployment + + """ + pass + + def test_delete_collection_namespaced_replica_set(self): + """Test case for delete_collection_namespaced_replica_set + + """ + pass + + def test_delete_collection_namespaced_stateful_set(self): + """Test case for delete_collection_namespaced_stateful_set + + """ + pass + + def test_delete_namespaced_controller_revision(self): + """Test case for delete_namespaced_controller_revision + + """ + pass + + def test_delete_namespaced_daemon_set(self): + """Test case for delete_namespaced_daemon_set + + """ + pass + + def test_delete_namespaced_deployment(self): + """Test case for delete_namespaced_deployment + + """ + pass + + def test_delete_namespaced_replica_set(self): + """Test case for delete_namespaced_replica_set + + """ + pass + + def test_delete_namespaced_stateful_set(self): + """Test case for delete_namespaced_stateful_set + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_controller_revision_for_all_namespaces(self): + """Test case for list_controller_revision_for_all_namespaces + + """ + pass + + def test_list_daemon_set_for_all_namespaces(self): + """Test case for list_daemon_set_for_all_namespaces + + """ + pass + + def test_list_deployment_for_all_namespaces(self): + """Test case for list_deployment_for_all_namespaces + + """ + pass + + def test_list_namespaced_controller_revision(self): + """Test case for list_namespaced_controller_revision + + """ + pass + + def test_list_namespaced_daemon_set(self): + """Test case for list_namespaced_daemon_set + + """ + pass + + def test_list_namespaced_deployment(self): + """Test case for list_namespaced_deployment + + """ + pass + + def test_list_namespaced_replica_set(self): + """Test case for list_namespaced_replica_set + + """ + pass + + def test_list_namespaced_stateful_set(self): + """Test case for list_namespaced_stateful_set + + """ + pass + + def test_list_replica_set_for_all_namespaces(self): + """Test case for list_replica_set_for_all_namespaces + + """ + pass + + def test_list_stateful_set_for_all_namespaces(self): + """Test case for list_stateful_set_for_all_namespaces + + """ + pass + + def test_patch_namespaced_controller_revision(self): + """Test case for patch_namespaced_controller_revision + + """ + pass + + def test_patch_namespaced_daemon_set(self): + """Test case for patch_namespaced_daemon_set + + """ + pass + + def test_patch_namespaced_daemon_set_status(self): + """Test case for patch_namespaced_daemon_set_status + + """ + pass + + def test_patch_namespaced_deployment(self): + """Test case for patch_namespaced_deployment + + """ + pass + + def test_patch_namespaced_deployment_scale(self): + """Test case for patch_namespaced_deployment_scale + + """ + pass + + def test_patch_namespaced_deployment_status(self): + """Test case for patch_namespaced_deployment_status + + """ + pass + + def test_patch_namespaced_replica_set(self): + """Test case for patch_namespaced_replica_set + + """ + pass + + def test_patch_namespaced_replica_set_scale(self): + """Test case for patch_namespaced_replica_set_scale + + """ + pass + + def test_patch_namespaced_replica_set_status(self): + """Test case for patch_namespaced_replica_set_status + + """ + pass + + def test_patch_namespaced_stateful_set(self): + """Test case for patch_namespaced_stateful_set + + """ + pass + + def test_patch_namespaced_stateful_set_scale(self): + """Test case for patch_namespaced_stateful_set_scale + + """ + pass + + def test_patch_namespaced_stateful_set_status(self): + """Test case for patch_namespaced_stateful_set_status + + """ + pass + + def test_read_namespaced_controller_revision(self): + """Test case for read_namespaced_controller_revision + + """ + pass + + def test_read_namespaced_daemon_set(self): + """Test case for read_namespaced_daemon_set + + """ + pass + + def test_read_namespaced_daemon_set_status(self): + """Test case for read_namespaced_daemon_set_status + + """ + pass + + def test_read_namespaced_deployment(self): + """Test case for read_namespaced_deployment + + """ + pass + + def test_read_namespaced_deployment_scale(self): + """Test case for read_namespaced_deployment_scale + + """ + pass + + def test_read_namespaced_deployment_status(self): + """Test case for read_namespaced_deployment_status + + """ + pass + + def test_read_namespaced_replica_set(self): + """Test case for read_namespaced_replica_set + + """ + pass + + def test_read_namespaced_replica_set_scale(self): + """Test case for read_namespaced_replica_set_scale + + """ + pass + + def test_read_namespaced_replica_set_status(self): + """Test case for read_namespaced_replica_set_status + + """ + pass + + def test_read_namespaced_stateful_set(self): + """Test case for read_namespaced_stateful_set + + """ + pass + + def test_read_namespaced_stateful_set_scale(self): + """Test case for read_namespaced_stateful_set_scale + + """ + pass + + def test_read_namespaced_stateful_set_status(self): + """Test case for read_namespaced_stateful_set_status + + """ + pass + + def test_replace_namespaced_controller_revision(self): + """Test case for replace_namespaced_controller_revision + + """ + pass + + def test_replace_namespaced_daemon_set(self): + """Test case for replace_namespaced_daemon_set + + """ + pass + + def test_replace_namespaced_daemon_set_status(self): + """Test case for replace_namespaced_daemon_set_status + + """ + pass + + def test_replace_namespaced_deployment(self): + """Test case for replace_namespaced_deployment + + """ + pass + + def test_replace_namespaced_deployment_scale(self): + """Test case for replace_namespaced_deployment_scale + + """ + pass + + def test_replace_namespaced_deployment_status(self): + """Test case for replace_namespaced_deployment_status + + """ + pass + + def test_replace_namespaced_replica_set(self): + """Test case for replace_namespaced_replica_set + + """ + pass + + def test_replace_namespaced_replica_set_scale(self): + """Test case for replace_namespaced_replica_set_scale + + """ + pass + + def test_replace_namespaced_replica_set_status(self): + """Test case for replace_namespaced_replica_set_status + + """ + pass + + def test_replace_namespaced_stateful_set(self): + """Test case for replace_namespaced_stateful_set + + """ + pass + + def test_replace_namespaced_stateful_set_scale(self): + """Test case for replace_namespaced_stateful_set_scale + + """ + pass + + def test_replace_namespaced_stateful_set_status(self): + """Test case for replace_namespaced_stateful_set_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_auditregistration_api.py b/kubernetes/test/test_auditregistration_api.py new file mode 100644 index 0000000000..e2a3f8a4cc --- /dev/null +++ b/kubernetes/test/test_auditregistration_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.auditregistration_api import AuditregistrationApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAuditregistrationApi(unittest.TestCase): + """AuditregistrationApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.auditregistration_api.AuditregistrationApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_auditregistration_v1alpha1_api.py b/kubernetes/test/test_auditregistration_v1alpha1_api.py new file mode 100644 index 0000000000..8e6b7afc93 --- /dev/null +++ b/kubernetes/test/test_auditregistration_v1alpha1_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.auditregistration_v1alpha1_api import AuditregistrationV1alpha1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAuditregistrationV1alpha1Api(unittest.TestCase): + """AuditregistrationV1alpha1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.auditregistration_v1alpha1_api.AuditregistrationV1alpha1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_audit_sink(self): + """Test case for create_audit_sink + + """ + pass + + def test_delete_audit_sink(self): + """Test case for delete_audit_sink + + """ + pass + + def test_delete_collection_audit_sink(self): + """Test case for delete_collection_audit_sink + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_audit_sink(self): + """Test case for list_audit_sink + + """ + pass + + def test_patch_audit_sink(self): + """Test case for patch_audit_sink + + """ + pass + + def test_read_audit_sink(self): + """Test case for read_audit_sink + + """ + pass + + def test_replace_audit_sink(self): + """Test case for replace_audit_sink + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_authentication_api.py b/kubernetes/test/test_authentication_api.py new file mode 100644 index 0000000000..9c61dcf285 --- /dev/null +++ b/kubernetes/test/test_authentication_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.authentication_api import AuthenticationApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAuthenticationApi(unittest.TestCase): + """AuthenticationApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.authentication_api.AuthenticationApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_authentication_v1_api.py b/kubernetes/test/test_authentication_v1_api.py new file mode 100644 index 0000000000..ea743ae5b4 --- /dev/null +++ b/kubernetes/test/test_authentication_v1_api.py @@ -0,0 +1,45 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.authentication_v1_api import AuthenticationV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAuthenticationV1Api(unittest.TestCase): + """AuthenticationV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.authentication_v1_api.AuthenticationV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_token_review(self): + """Test case for create_token_review + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_authentication_v1beta1_api.py b/kubernetes/test/test_authentication_v1beta1_api.py new file mode 100644 index 0000000000..9f9b1432c8 --- /dev/null +++ b/kubernetes/test/test_authentication_v1beta1_api.py @@ -0,0 +1,45 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.authentication_v1beta1_api import AuthenticationV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAuthenticationV1beta1Api(unittest.TestCase): + """AuthenticationV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.authentication_v1beta1_api.AuthenticationV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_token_review(self): + """Test case for create_token_review + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_authorization_api.py b/kubernetes/test/test_authorization_api.py new file mode 100644 index 0000000000..ae905ab73f --- /dev/null +++ b/kubernetes/test/test_authorization_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.authorization_api import AuthorizationApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAuthorizationApi(unittest.TestCase): + """AuthorizationApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.authorization_api.AuthorizationApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_authorization_v1_api.py b/kubernetes/test/test_authorization_v1_api.py new file mode 100644 index 0000000000..ac99b7a1fa --- /dev/null +++ b/kubernetes/test/test_authorization_v1_api.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.authorization_v1_api import AuthorizationV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAuthorizationV1Api(unittest.TestCase): + """AuthorizationV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.authorization_v1_api.AuthorizationV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_local_subject_access_review(self): + """Test case for create_namespaced_local_subject_access_review + + """ + pass + + def test_create_self_subject_access_review(self): + """Test case for create_self_subject_access_review + + """ + pass + + def test_create_self_subject_rules_review(self): + """Test case for create_self_subject_rules_review + + """ + pass + + def test_create_subject_access_review(self): + """Test case for create_subject_access_review + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_authorization_v1beta1_api.py b/kubernetes/test/test_authorization_v1beta1_api.py new file mode 100644 index 0000000000..70d4c7d01d --- /dev/null +++ b/kubernetes/test/test_authorization_v1beta1_api.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.authorization_v1beta1_api import AuthorizationV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAuthorizationV1beta1Api(unittest.TestCase): + """AuthorizationV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.authorization_v1beta1_api.AuthorizationV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_local_subject_access_review(self): + """Test case for create_namespaced_local_subject_access_review + + """ + pass + + def test_create_self_subject_access_review(self): + """Test case for create_self_subject_access_review + + """ + pass + + def test_create_self_subject_rules_review(self): + """Test case for create_self_subject_rules_review + + """ + pass + + def test_create_subject_access_review(self): + """Test case for create_subject_access_review + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_autoscaling_api.py b/kubernetes/test/test_autoscaling_api.py new file mode 100644 index 0000000000..eb33ba47ff --- /dev/null +++ b/kubernetes/test/test_autoscaling_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.autoscaling_api import AutoscalingApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAutoscalingApi(unittest.TestCase): + """AutoscalingApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.autoscaling_api.AutoscalingApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_autoscaling_v1_api.py b/kubernetes/test/test_autoscaling_v1_api.py new file mode 100644 index 0000000000..7ae6c0d2fb --- /dev/null +++ b/kubernetes/test/test_autoscaling_v1_api.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.autoscaling_v1_api import AutoscalingV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAutoscalingV1Api(unittest.TestCase): + """AutoscalingV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.autoscaling_v1_api.AutoscalingV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_horizontal_pod_autoscaler(self): + """Test case for create_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): + """Test case for delete_collection_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_delete_namespaced_horizontal_pod_autoscaler(self): + """Test case for delete_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): + """Test case for list_horizontal_pod_autoscaler_for_all_namespaces + + """ + pass + + def test_list_namespaced_horizontal_pod_autoscaler(self): + """Test case for list_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_patch_namespaced_horizontal_pod_autoscaler(self): + """Test case for patch_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_patch_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for patch_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + def test_read_namespaced_horizontal_pod_autoscaler(self): + """Test case for read_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_read_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for read_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + def test_replace_namespaced_horizontal_pod_autoscaler(self): + """Test case for replace_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_replace_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for replace_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_autoscaling_v2beta1_api.py b/kubernetes/test/test_autoscaling_v2beta1_api.py new file mode 100644 index 0000000000..5604659640 --- /dev/null +++ b/kubernetes/test/test_autoscaling_v2beta1_api.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.autoscaling_v2beta1_api import AutoscalingV2beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAutoscalingV2beta1Api(unittest.TestCase): + """AutoscalingV2beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.autoscaling_v2beta1_api.AutoscalingV2beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_horizontal_pod_autoscaler(self): + """Test case for create_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): + """Test case for delete_collection_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_delete_namespaced_horizontal_pod_autoscaler(self): + """Test case for delete_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): + """Test case for list_horizontal_pod_autoscaler_for_all_namespaces + + """ + pass + + def test_list_namespaced_horizontal_pod_autoscaler(self): + """Test case for list_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_patch_namespaced_horizontal_pod_autoscaler(self): + """Test case for patch_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_patch_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for patch_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + def test_read_namespaced_horizontal_pod_autoscaler(self): + """Test case for read_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_read_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for read_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + def test_replace_namespaced_horizontal_pod_autoscaler(self): + """Test case for replace_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_replace_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for replace_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_autoscaling_v2beta2_api.py b/kubernetes/test/test_autoscaling_v2beta2_api.py new file mode 100644 index 0000000000..95b7a027c3 --- /dev/null +++ b/kubernetes/test/test_autoscaling_v2beta2_api.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.autoscaling_v2beta2_api import AutoscalingV2beta2Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestAutoscalingV2beta2Api(unittest.TestCase): + """AutoscalingV2beta2Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.autoscaling_v2beta2_api.AutoscalingV2beta2Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_horizontal_pod_autoscaler(self): + """Test case for create_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): + """Test case for delete_collection_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_delete_namespaced_horizontal_pod_autoscaler(self): + """Test case for delete_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): + """Test case for list_horizontal_pod_autoscaler_for_all_namespaces + + """ + pass + + def test_list_namespaced_horizontal_pod_autoscaler(self): + """Test case for list_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_patch_namespaced_horizontal_pod_autoscaler(self): + """Test case for patch_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_patch_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for patch_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + def test_read_namespaced_horizontal_pod_autoscaler(self): + """Test case for read_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_read_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for read_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + def test_replace_namespaced_horizontal_pod_autoscaler(self): + """Test case for replace_namespaced_horizontal_pod_autoscaler + + """ + pass + + def test_replace_namespaced_horizontal_pod_autoscaler_status(self): + """Test case for replace_namespaced_horizontal_pod_autoscaler_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_batch_api.py b/kubernetes/test/test_batch_api.py new file mode 100644 index 0000000000..ef15f12c5c --- /dev/null +++ b/kubernetes/test/test_batch_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.batch_api import BatchApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestBatchApi(unittest.TestCase): + """BatchApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.batch_api.BatchApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_batch_v1_api.py b/kubernetes/test/test_batch_v1_api.py new file mode 100644 index 0000000000..c0e2f63596 --- /dev/null +++ b/kubernetes/test/test_batch_v1_api.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.batch_v1_api import BatchV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestBatchV1Api(unittest.TestCase): + """BatchV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.batch_v1_api.BatchV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_job(self): + """Test case for create_namespaced_job + + """ + pass + + def test_delete_collection_namespaced_job(self): + """Test case for delete_collection_namespaced_job + + """ + pass + + def test_delete_namespaced_job(self): + """Test case for delete_namespaced_job + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_job_for_all_namespaces(self): + """Test case for list_job_for_all_namespaces + + """ + pass + + def test_list_namespaced_job(self): + """Test case for list_namespaced_job + + """ + pass + + def test_patch_namespaced_job(self): + """Test case for patch_namespaced_job + + """ + pass + + def test_patch_namespaced_job_status(self): + """Test case for patch_namespaced_job_status + + """ + pass + + def test_read_namespaced_job(self): + """Test case for read_namespaced_job + + """ + pass + + def test_read_namespaced_job_status(self): + """Test case for read_namespaced_job_status + + """ + pass + + def test_replace_namespaced_job(self): + """Test case for replace_namespaced_job + + """ + pass + + def test_replace_namespaced_job_status(self): + """Test case for replace_namespaced_job_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_batch_v1beta1_api.py b/kubernetes/test/test_batch_v1beta1_api.py new file mode 100644 index 0000000000..6e3616df6b --- /dev/null +++ b/kubernetes/test/test_batch_v1beta1_api.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.batch_v1beta1_api import BatchV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestBatchV1beta1Api(unittest.TestCase): + """BatchV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.batch_v1beta1_api.BatchV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_cron_job(self): + """Test case for create_namespaced_cron_job + + """ + pass + + def test_delete_collection_namespaced_cron_job(self): + """Test case for delete_collection_namespaced_cron_job + + """ + pass + + def test_delete_namespaced_cron_job(self): + """Test case for delete_namespaced_cron_job + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_cron_job_for_all_namespaces(self): + """Test case for list_cron_job_for_all_namespaces + + """ + pass + + def test_list_namespaced_cron_job(self): + """Test case for list_namespaced_cron_job + + """ + pass + + def test_patch_namespaced_cron_job(self): + """Test case for patch_namespaced_cron_job + + """ + pass + + def test_patch_namespaced_cron_job_status(self): + """Test case for patch_namespaced_cron_job_status + + """ + pass + + def test_read_namespaced_cron_job(self): + """Test case for read_namespaced_cron_job + + """ + pass + + def test_read_namespaced_cron_job_status(self): + """Test case for read_namespaced_cron_job_status + + """ + pass + + def test_replace_namespaced_cron_job(self): + """Test case for replace_namespaced_cron_job + + """ + pass + + def test_replace_namespaced_cron_job_status(self): + """Test case for replace_namespaced_cron_job_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_batch_v2alpha1_api.py b/kubernetes/test/test_batch_v2alpha1_api.py new file mode 100644 index 0000000000..a09dab8d7a --- /dev/null +++ b/kubernetes/test/test_batch_v2alpha1_api.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.batch_v2alpha1_api import BatchV2alpha1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestBatchV2alpha1Api(unittest.TestCase): + """BatchV2alpha1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.batch_v2alpha1_api.BatchV2alpha1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_cron_job(self): + """Test case for create_namespaced_cron_job + + """ + pass + + def test_delete_collection_namespaced_cron_job(self): + """Test case for delete_collection_namespaced_cron_job + + """ + pass + + def test_delete_namespaced_cron_job(self): + """Test case for delete_namespaced_cron_job + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_cron_job_for_all_namespaces(self): + """Test case for list_cron_job_for_all_namespaces + + """ + pass + + def test_list_namespaced_cron_job(self): + """Test case for list_namespaced_cron_job + + """ + pass + + def test_patch_namespaced_cron_job(self): + """Test case for patch_namespaced_cron_job + + """ + pass + + def test_patch_namespaced_cron_job_status(self): + """Test case for patch_namespaced_cron_job_status + + """ + pass + + def test_read_namespaced_cron_job(self): + """Test case for read_namespaced_cron_job + + """ + pass + + def test_read_namespaced_cron_job_status(self): + """Test case for read_namespaced_cron_job_status + + """ + pass + + def test_replace_namespaced_cron_job(self): + """Test case for replace_namespaced_cron_job + + """ + pass + + def test_replace_namespaced_cron_job_status(self): + """Test case for replace_namespaced_cron_job_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_certificates_api.py b/kubernetes/test/test_certificates_api.py new file mode 100644 index 0000000000..3cfecc5d7b --- /dev/null +++ b/kubernetes/test/test_certificates_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.certificates_api import CertificatesApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestCertificatesApi(unittest.TestCase): + """CertificatesApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.certificates_api.CertificatesApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_certificates_v1beta1_api.py b/kubernetes/test/test_certificates_v1beta1_api.py new file mode 100644 index 0000000000..0750d64c06 --- /dev/null +++ b/kubernetes/test/test_certificates_v1beta1_api.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.certificates_v1beta1_api import CertificatesV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestCertificatesV1beta1Api(unittest.TestCase): + """CertificatesV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.certificates_v1beta1_api.CertificatesV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_certificate_signing_request(self): + """Test case for create_certificate_signing_request + + """ + pass + + def test_delete_certificate_signing_request(self): + """Test case for delete_certificate_signing_request + + """ + pass + + def test_delete_collection_certificate_signing_request(self): + """Test case for delete_collection_certificate_signing_request + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_certificate_signing_request(self): + """Test case for list_certificate_signing_request + + """ + pass + + def test_patch_certificate_signing_request(self): + """Test case for patch_certificate_signing_request + + """ + pass + + def test_patch_certificate_signing_request_status(self): + """Test case for patch_certificate_signing_request_status + + """ + pass + + def test_read_certificate_signing_request(self): + """Test case for read_certificate_signing_request + + """ + pass + + def test_read_certificate_signing_request_status(self): + """Test case for read_certificate_signing_request_status + + """ + pass + + def test_replace_certificate_signing_request(self): + """Test case for replace_certificate_signing_request + + """ + pass + + def test_replace_certificate_signing_request_approval(self): + """Test case for replace_certificate_signing_request_approval + + """ + pass + + def test_replace_certificate_signing_request_status(self): + """Test case for replace_certificate_signing_request_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_coordination_api.py b/kubernetes/test/test_coordination_api.py new file mode 100644 index 0000000000..a7c393534e --- /dev/null +++ b/kubernetes/test/test_coordination_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.coordination_api import CoordinationApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestCoordinationApi(unittest.TestCase): + """CoordinationApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.coordination_api.CoordinationApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_coordination_v1_api.py b/kubernetes/test/test_coordination_v1_api.py new file mode 100644 index 0000000000..4b8f3feb14 --- /dev/null +++ b/kubernetes/test/test_coordination_v1_api.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.coordination_v1_api import CoordinationV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestCoordinationV1Api(unittest.TestCase): + """CoordinationV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.coordination_v1_api.CoordinationV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_lease(self): + """Test case for create_namespaced_lease + + """ + pass + + def test_delete_collection_namespaced_lease(self): + """Test case for delete_collection_namespaced_lease + + """ + pass + + def test_delete_namespaced_lease(self): + """Test case for delete_namespaced_lease + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_lease_for_all_namespaces(self): + """Test case for list_lease_for_all_namespaces + + """ + pass + + def test_list_namespaced_lease(self): + """Test case for list_namespaced_lease + + """ + pass + + def test_patch_namespaced_lease(self): + """Test case for patch_namespaced_lease + + """ + pass + + def test_read_namespaced_lease(self): + """Test case for read_namespaced_lease + + """ + pass + + def test_replace_namespaced_lease(self): + """Test case for replace_namespaced_lease + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_coordination_v1beta1_api.py b/kubernetes/test/test_coordination_v1beta1_api.py new file mode 100644 index 0000000000..5a22960aff --- /dev/null +++ b/kubernetes/test/test_coordination_v1beta1_api.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.coordination_v1beta1_api import CoordinationV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestCoordinationV1beta1Api(unittest.TestCase): + """CoordinationV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.coordination_v1beta1_api.CoordinationV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_lease(self): + """Test case for create_namespaced_lease + + """ + pass + + def test_delete_collection_namespaced_lease(self): + """Test case for delete_collection_namespaced_lease + + """ + pass + + def test_delete_namespaced_lease(self): + """Test case for delete_namespaced_lease + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_lease_for_all_namespaces(self): + """Test case for list_lease_for_all_namespaces + + """ + pass + + def test_list_namespaced_lease(self): + """Test case for list_namespaced_lease + + """ + pass + + def test_patch_namespaced_lease(self): + """Test case for patch_namespaced_lease + + """ + pass + + def test_read_namespaced_lease(self): + """Test case for read_namespaced_lease + + """ + pass + + def test_replace_namespaced_lease(self): + """Test case for replace_namespaced_lease + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_core_api.py b/kubernetes/test/test_core_api.py new file mode 100644 index 0000000000..58f9dec0d9 --- /dev/null +++ b/kubernetes/test/test_core_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.core_api import CoreApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestCoreApi(unittest.TestCase): + """CoreApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.core_api.CoreApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_versions(self): + """Test case for get_api_versions + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_core_v1_api.py b/kubernetes/test/test_core_v1_api.py new file mode 100644 index 0000000000..90c8e424ea --- /dev/null +++ b/kubernetes/test/test_core_v1_api.py @@ -0,0 +1,1227 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.core_v1_api import CoreV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestCoreV1Api(unittest.TestCase): + """CoreV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.core_v1_api.CoreV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_connect_delete_namespaced_pod_proxy(self): + """Test case for connect_delete_namespaced_pod_proxy + + """ + pass + + def test_connect_delete_namespaced_pod_proxy_with_path(self): + """Test case for connect_delete_namespaced_pod_proxy_with_path + + """ + pass + + def test_connect_delete_namespaced_service_proxy(self): + """Test case for connect_delete_namespaced_service_proxy + + """ + pass + + def test_connect_delete_namespaced_service_proxy_with_path(self): + """Test case for connect_delete_namespaced_service_proxy_with_path + + """ + pass + + def test_connect_delete_node_proxy(self): + """Test case for connect_delete_node_proxy + + """ + pass + + def test_connect_delete_node_proxy_with_path(self): + """Test case for connect_delete_node_proxy_with_path + + """ + pass + + def test_connect_get_namespaced_pod_attach(self): + """Test case for connect_get_namespaced_pod_attach + + """ + pass + + def test_connect_get_namespaced_pod_exec(self): + """Test case for connect_get_namespaced_pod_exec + + """ + pass + + def test_connect_get_namespaced_pod_portforward(self): + """Test case for connect_get_namespaced_pod_portforward + + """ + pass + + def test_connect_get_namespaced_pod_proxy(self): + """Test case for connect_get_namespaced_pod_proxy + + """ + pass + + def test_connect_get_namespaced_pod_proxy_with_path(self): + """Test case for connect_get_namespaced_pod_proxy_with_path + + """ + pass + + def test_connect_get_namespaced_service_proxy(self): + """Test case for connect_get_namespaced_service_proxy + + """ + pass + + def test_connect_get_namespaced_service_proxy_with_path(self): + """Test case for connect_get_namespaced_service_proxy_with_path + + """ + pass + + def test_connect_get_node_proxy(self): + """Test case for connect_get_node_proxy + + """ + pass + + def test_connect_get_node_proxy_with_path(self): + """Test case for connect_get_node_proxy_with_path + + """ + pass + + def test_connect_head_namespaced_pod_proxy(self): + """Test case for connect_head_namespaced_pod_proxy + + """ + pass + + def test_connect_head_namespaced_pod_proxy_with_path(self): + """Test case for connect_head_namespaced_pod_proxy_with_path + + """ + pass + + def test_connect_head_namespaced_service_proxy(self): + """Test case for connect_head_namespaced_service_proxy + + """ + pass + + def test_connect_head_namespaced_service_proxy_with_path(self): + """Test case for connect_head_namespaced_service_proxy_with_path + + """ + pass + + def test_connect_head_node_proxy(self): + """Test case for connect_head_node_proxy + + """ + pass + + def test_connect_head_node_proxy_with_path(self): + """Test case for connect_head_node_proxy_with_path + + """ + pass + + def test_connect_options_namespaced_pod_proxy(self): + """Test case for connect_options_namespaced_pod_proxy + + """ + pass + + def test_connect_options_namespaced_pod_proxy_with_path(self): + """Test case for connect_options_namespaced_pod_proxy_with_path + + """ + pass + + def test_connect_options_namespaced_service_proxy(self): + """Test case for connect_options_namespaced_service_proxy + + """ + pass + + def test_connect_options_namespaced_service_proxy_with_path(self): + """Test case for connect_options_namespaced_service_proxy_with_path + + """ + pass + + def test_connect_options_node_proxy(self): + """Test case for connect_options_node_proxy + + """ + pass + + def test_connect_options_node_proxy_with_path(self): + """Test case for connect_options_node_proxy_with_path + + """ + pass + + def test_connect_patch_namespaced_pod_proxy(self): + """Test case for connect_patch_namespaced_pod_proxy + + """ + pass + + def test_connect_patch_namespaced_pod_proxy_with_path(self): + """Test case for connect_patch_namespaced_pod_proxy_with_path + + """ + pass + + def test_connect_patch_namespaced_service_proxy(self): + """Test case for connect_patch_namespaced_service_proxy + + """ + pass + + def test_connect_patch_namespaced_service_proxy_with_path(self): + """Test case for connect_patch_namespaced_service_proxy_with_path + + """ + pass + + def test_connect_patch_node_proxy(self): + """Test case for connect_patch_node_proxy + + """ + pass + + def test_connect_patch_node_proxy_with_path(self): + """Test case for connect_patch_node_proxy_with_path + + """ + pass + + def test_connect_post_namespaced_pod_attach(self): + """Test case for connect_post_namespaced_pod_attach + + """ + pass + + def test_connect_post_namespaced_pod_exec(self): + """Test case for connect_post_namespaced_pod_exec + + """ + pass + + def test_connect_post_namespaced_pod_portforward(self): + """Test case for connect_post_namespaced_pod_portforward + + """ + pass + + def test_connect_post_namespaced_pod_proxy(self): + """Test case for connect_post_namespaced_pod_proxy + + """ + pass + + def test_connect_post_namespaced_pod_proxy_with_path(self): + """Test case for connect_post_namespaced_pod_proxy_with_path + + """ + pass + + def test_connect_post_namespaced_service_proxy(self): + """Test case for connect_post_namespaced_service_proxy + + """ + pass + + def test_connect_post_namespaced_service_proxy_with_path(self): + """Test case for connect_post_namespaced_service_proxy_with_path + + """ + pass + + def test_connect_post_node_proxy(self): + """Test case for connect_post_node_proxy + + """ + pass + + def test_connect_post_node_proxy_with_path(self): + """Test case for connect_post_node_proxy_with_path + + """ + pass + + def test_connect_put_namespaced_pod_proxy(self): + """Test case for connect_put_namespaced_pod_proxy + + """ + pass + + def test_connect_put_namespaced_pod_proxy_with_path(self): + """Test case for connect_put_namespaced_pod_proxy_with_path + + """ + pass + + def test_connect_put_namespaced_service_proxy(self): + """Test case for connect_put_namespaced_service_proxy + + """ + pass + + def test_connect_put_namespaced_service_proxy_with_path(self): + """Test case for connect_put_namespaced_service_proxy_with_path + + """ + pass + + def test_connect_put_node_proxy(self): + """Test case for connect_put_node_proxy + + """ + pass + + def test_connect_put_node_proxy_with_path(self): + """Test case for connect_put_node_proxy_with_path + + """ + pass + + def test_create_namespace(self): + """Test case for create_namespace + + """ + pass + + def test_create_namespaced_binding(self): + """Test case for create_namespaced_binding + + """ + pass + + def test_create_namespaced_config_map(self): + """Test case for create_namespaced_config_map + + """ + pass + + def test_create_namespaced_endpoints(self): + """Test case for create_namespaced_endpoints + + """ + pass + + def test_create_namespaced_event(self): + """Test case for create_namespaced_event + + """ + pass + + def test_create_namespaced_limit_range(self): + """Test case for create_namespaced_limit_range + + """ + pass + + def test_create_namespaced_persistent_volume_claim(self): + """Test case for create_namespaced_persistent_volume_claim + + """ + pass + + def test_create_namespaced_pod(self): + """Test case for create_namespaced_pod + + """ + pass + + def test_create_namespaced_pod_binding(self): + """Test case for create_namespaced_pod_binding + + """ + pass + + def test_create_namespaced_pod_eviction(self): + """Test case for create_namespaced_pod_eviction + + """ + pass + + def test_create_namespaced_pod_template(self): + """Test case for create_namespaced_pod_template + + """ + pass + + def test_create_namespaced_replication_controller(self): + """Test case for create_namespaced_replication_controller + + """ + pass + + def test_create_namespaced_resource_quota(self): + """Test case for create_namespaced_resource_quota + + """ + pass + + def test_create_namespaced_secret(self): + """Test case for create_namespaced_secret + + """ + pass + + def test_create_namespaced_service(self): + """Test case for create_namespaced_service + + """ + pass + + def test_create_namespaced_service_account(self): + """Test case for create_namespaced_service_account + + """ + pass + + def test_create_namespaced_service_account_token(self): + """Test case for create_namespaced_service_account_token + + """ + pass + + def test_create_node(self): + """Test case for create_node + + """ + pass + + def test_create_persistent_volume(self): + """Test case for create_persistent_volume + + """ + pass + + def test_delete_collection_namespaced_config_map(self): + """Test case for delete_collection_namespaced_config_map + + """ + pass + + def test_delete_collection_namespaced_endpoints(self): + """Test case for delete_collection_namespaced_endpoints + + """ + pass + + def test_delete_collection_namespaced_event(self): + """Test case for delete_collection_namespaced_event + + """ + pass + + def test_delete_collection_namespaced_limit_range(self): + """Test case for delete_collection_namespaced_limit_range + + """ + pass + + def test_delete_collection_namespaced_persistent_volume_claim(self): + """Test case for delete_collection_namespaced_persistent_volume_claim + + """ + pass + + def test_delete_collection_namespaced_pod(self): + """Test case for delete_collection_namespaced_pod + + """ + pass + + def test_delete_collection_namespaced_pod_template(self): + """Test case for delete_collection_namespaced_pod_template + + """ + pass + + def test_delete_collection_namespaced_replication_controller(self): + """Test case for delete_collection_namespaced_replication_controller + + """ + pass + + def test_delete_collection_namespaced_resource_quota(self): + """Test case for delete_collection_namespaced_resource_quota + + """ + pass + + def test_delete_collection_namespaced_secret(self): + """Test case for delete_collection_namespaced_secret + + """ + pass + + def test_delete_collection_namespaced_service_account(self): + """Test case for delete_collection_namespaced_service_account + + """ + pass + + def test_delete_collection_node(self): + """Test case for delete_collection_node + + """ + pass + + def test_delete_collection_persistent_volume(self): + """Test case for delete_collection_persistent_volume + + """ + pass + + def test_delete_namespace(self): + """Test case for delete_namespace + + """ + pass + + def test_delete_namespaced_config_map(self): + """Test case for delete_namespaced_config_map + + """ + pass + + def test_delete_namespaced_endpoints(self): + """Test case for delete_namespaced_endpoints + + """ + pass + + def test_delete_namespaced_event(self): + """Test case for delete_namespaced_event + + """ + pass + + def test_delete_namespaced_limit_range(self): + """Test case for delete_namespaced_limit_range + + """ + pass + + def test_delete_namespaced_persistent_volume_claim(self): + """Test case for delete_namespaced_persistent_volume_claim + + """ + pass + + def test_delete_namespaced_pod(self): + """Test case for delete_namespaced_pod + + """ + pass + + def test_delete_namespaced_pod_template(self): + """Test case for delete_namespaced_pod_template + + """ + pass + + def test_delete_namespaced_replication_controller(self): + """Test case for delete_namespaced_replication_controller + + """ + pass + + def test_delete_namespaced_resource_quota(self): + """Test case for delete_namespaced_resource_quota + + """ + pass + + def test_delete_namespaced_secret(self): + """Test case for delete_namespaced_secret + + """ + pass + + def test_delete_namespaced_service(self): + """Test case for delete_namespaced_service + + """ + pass + + def test_delete_namespaced_service_account(self): + """Test case for delete_namespaced_service_account + + """ + pass + + def test_delete_node(self): + """Test case for delete_node + + """ + pass + + def test_delete_persistent_volume(self): + """Test case for delete_persistent_volume + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_component_status(self): + """Test case for list_component_status + + """ + pass + + def test_list_config_map_for_all_namespaces(self): + """Test case for list_config_map_for_all_namespaces + + """ + pass + + def test_list_endpoints_for_all_namespaces(self): + """Test case for list_endpoints_for_all_namespaces + + """ + pass + + def test_list_event_for_all_namespaces(self): + """Test case for list_event_for_all_namespaces + + """ + pass + + def test_list_limit_range_for_all_namespaces(self): + """Test case for list_limit_range_for_all_namespaces + + """ + pass + + def test_list_namespace(self): + """Test case for list_namespace + + """ + pass + + def test_list_namespaced_config_map(self): + """Test case for list_namespaced_config_map + + """ + pass + + def test_list_namespaced_endpoints(self): + """Test case for list_namespaced_endpoints + + """ + pass + + def test_list_namespaced_event(self): + """Test case for list_namespaced_event + + """ + pass + + def test_list_namespaced_limit_range(self): + """Test case for list_namespaced_limit_range + + """ + pass + + def test_list_namespaced_persistent_volume_claim(self): + """Test case for list_namespaced_persistent_volume_claim + + """ + pass + + def test_list_namespaced_pod(self): + """Test case for list_namespaced_pod + + """ + pass + + def test_list_namespaced_pod_template(self): + """Test case for list_namespaced_pod_template + + """ + pass + + def test_list_namespaced_replication_controller(self): + """Test case for list_namespaced_replication_controller + + """ + pass + + def test_list_namespaced_resource_quota(self): + """Test case for list_namespaced_resource_quota + + """ + pass + + def test_list_namespaced_secret(self): + """Test case for list_namespaced_secret + + """ + pass + + def test_list_namespaced_service(self): + """Test case for list_namespaced_service + + """ + pass + + def test_list_namespaced_service_account(self): + """Test case for list_namespaced_service_account + + """ + pass + + def test_list_node(self): + """Test case for list_node + + """ + pass + + def test_list_persistent_volume(self): + """Test case for list_persistent_volume + + """ + pass + + def test_list_persistent_volume_claim_for_all_namespaces(self): + """Test case for list_persistent_volume_claim_for_all_namespaces + + """ + pass + + def test_list_pod_for_all_namespaces(self): + """Test case for list_pod_for_all_namespaces + + """ + pass + + def test_list_pod_template_for_all_namespaces(self): + """Test case for list_pod_template_for_all_namespaces + + """ + pass + + def test_list_replication_controller_for_all_namespaces(self): + """Test case for list_replication_controller_for_all_namespaces + + """ + pass + + def test_list_resource_quota_for_all_namespaces(self): + """Test case for list_resource_quota_for_all_namespaces + + """ + pass + + def test_list_secret_for_all_namespaces(self): + """Test case for list_secret_for_all_namespaces + + """ + pass + + def test_list_service_account_for_all_namespaces(self): + """Test case for list_service_account_for_all_namespaces + + """ + pass + + def test_list_service_for_all_namespaces(self): + """Test case for list_service_for_all_namespaces + + """ + pass + + def test_patch_namespace(self): + """Test case for patch_namespace + + """ + pass + + def test_patch_namespace_status(self): + """Test case for patch_namespace_status + + """ + pass + + def test_patch_namespaced_config_map(self): + """Test case for patch_namespaced_config_map + + """ + pass + + def test_patch_namespaced_endpoints(self): + """Test case for patch_namespaced_endpoints + + """ + pass + + def test_patch_namespaced_event(self): + """Test case for patch_namespaced_event + + """ + pass + + def test_patch_namespaced_limit_range(self): + """Test case for patch_namespaced_limit_range + + """ + pass + + def test_patch_namespaced_persistent_volume_claim(self): + """Test case for patch_namespaced_persistent_volume_claim + + """ + pass + + def test_patch_namespaced_persistent_volume_claim_status(self): + """Test case for patch_namespaced_persistent_volume_claim_status + + """ + pass + + def test_patch_namespaced_pod(self): + """Test case for patch_namespaced_pod + + """ + pass + + def test_patch_namespaced_pod_status(self): + """Test case for patch_namespaced_pod_status + + """ + pass + + def test_patch_namespaced_pod_template(self): + """Test case for patch_namespaced_pod_template + + """ + pass + + def test_patch_namespaced_replication_controller(self): + """Test case for patch_namespaced_replication_controller + + """ + pass + + def test_patch_namespaced_replication_controller_scale(self): + """Test case for patch_namespaced_replication_controller_scale + + """ + pass + + def test_patch_namespaced_replication_controller_status(self): + """Test case for patch_namespaced_replication_controller_status + + """ + pass + + def test_patch_namespaced_resource_quota(self): + """Test case for patch_namespaced_resource_quota + + """ + pass + + def test_patch_namespaced_resource_quota_status(self): + """Test case for patch_namespaced_resource_quota_status + + """ + pass + + def test_patch_namespaced_secret(self): + """Test case for patch_namespaced_secret + + """ + pass + + def test_patch_namespaced_service(self): + """Test case for patch_namespaced_service + + """ + pass + + def test_patch_namespaced_service_account(self): + """Test case for patch_namespaced_service_account + + """ + pass + + def test_patch_namespaced_service_status(self): + """Test case for patch_namespaced_service_status + + """ + pass + + def test_patch_node(self): + """Test case for patch_node + + """ + pass + + def test_patch_node_status(self): + """Test case for patch_node_status + + """ + pass + + def test_patch_persistent_volume(self): + """Test case for patch_persistent_volume + + """ + pass + + def test_patch_persistent_volume_status(self): + """Test case for patch_persistent_volume_status + + """ + pass + + def test_read_component_status(self): + """Test case for read_component_status + + """ + pass + + def test_read_namespace(self): + """Test case for read_namespace + + """ + pass + + def test_read_namespace_status(self): + """Test case for read_namespace_status + + """ + pass + + def test_read_namespaced_config_map(self): + """Test case for read_namespaced_config_map + + """ + pass + + def test_read_namespaced_endpoints(self): + """Test case for read_namespaced_endpoints + + """ + pass + + def test_read_namespaced_event(self): + """Test case for read_namespaced_event + + """ + pass + + def test_read_namespaced_limit_range(self): + """Test case for read_namespaced_limit_range + + """ + pass + + def test_read_namespaced_persistent_volume_claim(self): + """Test case for read_namespaced_persistent_volume_claim + + """ + pass + + def test_read_namespaced_persistent_volume_claim_status(self): + """Test case for read_namespaced_persistent_volume_claim_status + + """ + pass + + def test_read_namespaced_pod(self): + """Test case for read_namespaced_pod + + """ + pass + + def test_read_namespaced_pod_log(self): + """Test case for read_namespaced_pod_log + + """ + pass + + def test_read_namespaced_pod_status(self): + """Test case for read_namespaced_pod_status + + """ + pass + + def test_read_namespaced_pod_template(self): + """Test case for read_namespaced_pod_template + + """ + pass + + def test_read_namespaced_replication_controller(self): + """Test case for read_namespaced_replication_controller + + """ + pass + + def test_read_namespaced_replication_controller_scale(self): + """Test case for read_namespaced_replication_controller_scale + + """ + pass + + def test_read_namespaced_replication_controller_status(self): + """Test case for read_namespaced_replication_controller_status + + """ + pass + + def test_read_namespaced_resource_quota(self): + """Test case for read_namespaced_resource_quota + + """ + pass + + def test_read_namespaced_resource_quota_status(self): + """Test case for read_namespaced_resource_quota_status + + """ + pass + + def test_read_namespaced_secret(self): + """Test case for read_namespaced_secret + + """ + pass + + def test_read_namespaced_service(self): + """Test case for read_namespaced_service + + """ + pass + + def test_read_namespaced_service_account(self): + """Test case for read_namespaced_service_account + + """ + pass + + def test_read_namespaced_service_status(self): + """Test case for read_namespaced_service_status + + """ + pass + + def test_read_node(self): + """Test case for read_node + + """ + pass + + def test_read_node_status(self): + """Test case for read_node_status + + """ + pass + + def test_read_persistent_volume(self): + """Test case for read_persistent_volume + + """ + pass + + def test_read_persistent_volume_status(self): + """Test case for read_persistent_volume_status + + """ + pass + + def test_replace_namespace(self): + """Test case for replace_namespace + + """ + pass + + def test_replace_namespace_finalize(self): + """Test case for replace_namespace_finalize + + """ + pass + + def test_replace_namespace_status(self): + """Test case for replace_namespace_status + + """ + pass + + def test_replace_namespaced_config_map(self): + """Test case for replace_namespaced_config_map + + """ + pass + + def test_replace_namespaced_endpoints(self): + """Test case for replace_namespaced_endpoints + + """ + pass + + def test_replace_namespaced_event(self): + """Test case for replace_namespaced_event + + """ + pass + + def test_replace_namespaced_limit_range(self): + """Test case for replace_namespaced_limit_range + + """ + pass + + def test_replace_namespaced_persistent_volume_claim(self): + """Test case for replace_namespaced_persistent_volume_claim + + """ + pass + + def test_replace_namespaced_persistent_volume_claim_status(self): + """Test case for replace_namespaced_persistent_volume_claim_status + + """ + pass + + def test_replace_namespaced_pod(self): + """Test case for replace_namespaced_pod + + """ + pass + + def test_replace_namespaced_pod_status(self): + """Test case for replace_namespaced_pod_status + + """ + pass + + def test_replace_namespaced_pod_template(self): + """Test case for replace_namespaced_pod_template + + """ + pass + + def test_replace_namespaced_replication_controller(self): + """Test case for replace_namespaced_replication_controller + + """ + pass + + def test_replace_namespaced_replication_controller_scale(self): + """Test case for replace_namespaced_replication_controller_scale + + """ + pass + + def test_replace_namespaced_replication_controller_status(self): + """Test case for replace_namespaced_replication_controller_status + + """ + pass + + def test_replace_namespaced_resource_quota(self): + """Test case for replace_namespaced_resource_quota + + """ + pass + + def test_replace_namespaced_resource_quota_status(self): + """Test case for replace_namespaced_resource_quota_status + + """ + pass + + def test_replace_namespaced_secret(self): + """Test case for replace_namespaced_secret + + """ + pass + + def test_replace_namespaced_service(self): + """Test case for replace_namespaced_service + + """ + pass + + def test_replace_namespaced_service_account(self): + """Test case for replace_namespaced_service_account + + """ + pass + + def test_replace_namespaced_service_status(self): + """Test case for replace_namespaced_service_status + + """ + pass + + def test_replace_node(self): + """Test case for replace_node + + """ + pass + + def test_replace_node_status(self): + """Test case for replace_node_status + + """ + pass + + def test_replace_persistent_volume(self): + """Test case for replace_persistent_volume + + """ + pass + + def test_replace_persistent_volume_status(self): + """Test case for replace_persistent_volume_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_custom_objects_api.py b/kubernetes/test/test_custom_objects_api.py new file mode 100644 index 0000000000..7851ec7258 --- /dev/null +++ b/kubernetes/test/test_custom_objects_api.py @@ -0,0 +1,189 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.custom_objects_api import CustomObjectsApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestCustomObjectsApi(unittest.TestCase): + """CustomObjectsApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.custom_objects_api.CustomObjectsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_create_cluster_custom_object(self): + """Test case for create_cluster_custom_object + + """ + pass + + def test_create_namespaced_custom_object(self): + """Test case for create_namespaced_custom_object + + """ + pass + + def test_delete_cluster_custom_object(self): + """Test case for delete_cluster_custom_object + + """ + pass + + def test_delete_collection_cluster_custom_object(self): + """Test case for delete_collection_cluster_custom_object + + """ + pass + + def test_delete_collection_namespaced_custom_object(self): + """Test case for delete_collection_namespaced_custom_object + + """ + pass + + def test_delete_namespaced_custom_object(self): + """Test case for delete_namespaced_custom_object + + """ + pass + + def test_get_cluster_custom_object(self): + """Test case for get_cluster_custom_object + + """ + pass + + def test_get_cluster_custom_object_scale(self): + """Test case for get_cluster_custom_object_scale + + """ + pass + + def test_get_cluster_custom_object_status(self): + """Test case for get_cluster_custom_object_status + + """ + pass + + def test_get_namespaced_custom_object(self): + """Test case for get_namespaced_custom_object + + """ + pass + + def test_get_namespaced_custom_object_scale(self): + """Test case for get_namespaced_custom_object_scale + + """ + pass + + def test_get_namespaced_custom_object_status(self): + """Test case for get_namespaced_custom_object_status + + """ + pass + + def test_list_cluster_custom_object(self): + """Test case for list_cluster_custom_object + + """ + pass + + def test_list_namespaced_custom_object(self): + """Test case for list_namespaced_custom_object + + """ + pass + + def test_patch_cluster_custom_object(self): + """Test case for patch_cluster_custom_object + + """ + pass + + def test_patch_cluster_custom_object_scale(self): + """Test case for patch_cluster_custom_object_scale + + """ + pass + + def test_patch_cluster_custom_object_status(self): + """Test case for patch_cluster_custom_object_status + + """ + pass + + def test_patch_namespaced_custom_object(self): + """Test case for patch_namespaced_custom_object + + """ + pass + + def test_patch_namespaced_custom_object_scale(self): + """Test case for patch_namespaced_custom_object_scale + + """ + pass + + def test_patch_namespaced_custom_object_status(self): + """Test case for patch_namespaced_custom_object_status + + """ + pass + + def test_replace_cluster_custom_object(self): + """Test case for replace_cluster_custom_object + + """ + pass + + def test_replace_cluster_custom_object_scale(self): + """Test case for replace_cluster_custom_object_scale + + """ + pass + + def test_replace_cluster_custom_object_status(self): + """Test case for replace_cluster_custom_object_status + + """ + pass + + def test_replace_namespaced_custom_object(self): + """Test case for replace_namespaced_custom_object + + """ + pass + + def test_replace_namespaced_custom_object_scale(self): + """Test case for replace_namespaced_custom_object_scale + + """ + pass + + def test_replace_namespaced_custom_object_status(self): + """Test case for replace_namespaced_custom_object_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_discovery_api.py b/kubernetes/test/test_discovery_api.py new file mode 100644 index 0000000000..11aa9f34cc --- /dev/null +++ b/kubernetes/test/test_discovery_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.discovery_api import DiscoveryApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestDiscoveryApi(unittest.TestCase): + """DiscoveryApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.discovery_api.DiscoveryApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_discovery_v1beta1_api.py b/kubernetes/test/test_discovery_v1beta1_api.py new file mode 100644 index 0000000000..d859727e6c --- /dev/null +++ b/kubernetes/test/test_discovery_v1beta1_api.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.discovery_v1beta1_api import DiscoveryV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestDiscoveryV1beta1Api(unittest.TestCase): + """DiscoveryV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.discovery_v1beta1_api.DiscoveryV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_endpoint_slice(self): + """Test case for create_namespaced_endpoint_slice + + """ + pass + + def test_delete_collection_namespaced_endpoint_slice(self): + """Test case for delete_collection_namespaced_endpoint_slice + + """ + pass + + def test_delete_namespaced_endpoint_slice(self): + """Test case for delete_namespaced_endpoint_slice + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_endpoint_slice_for_all_namespaces(self): + """Test case for list_endpoint_slice_for_all_namespaces + + """ + pass + + def test_list_namespaced_endpoint_slice(self): + """Test case for list_namespaced_endpoint_slice + + """ + pass + + def test_patch_namespaced_endpoint_slice(self): + """Test case for patch_namespaced_endpoint_slice + + """ + pass + + def test_read_namespaced_endpoint_slice(self): + """Test case for read_namespaced_endpoint_slice + + """ + pass + + def test_replace_namespaced_endpoint_slice(self): + """Test case for replace_namespaced_endpoint_slice + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_events_api.py b/kubernetes/test/test_events_api.py new file mode 100644 index 0000000000..cde6b9fb43 --- /dev/null +++ b/kubernetes/test/test_events_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.events_api import EventsApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestEventsApi(unittest.TestCase): + """EventsApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.events_api.EventsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_events_v1beta1_api.py b/kubernetes/test/test_events_v1beta1_api.py new file mode 100644 index 0000000000..714547f36a --- /dev/null +++ b/kubernetes/test/test_events_v1beta1_api.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.events_v1beta1_api import EventsV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestEventsV1beta1Api(unittest.TestCase): + """EventsV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.events_v1beta1_api.EventsV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_event(self): + """Test case for create_namespaced_event + + """ + pass + + def test_delete_collection_namespaced_event(self): + """Test case for delete_collection_namespaced_event + + """ + pass + + def test_delete_namespaced_event(self): + """Test case for delete_namespaced_event + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_event_for_all_namespaces(self): + """Test case for list_event_for_all_namespaces + + """ + pass + + def test_list_namespaced_event(self): + """Test case for list_namespaced_event + + """ + pass + + def test_patch_namespaced_event(self): + """Test case for patch_namespaced_event + + """ + pass + + def test_read_namespaced_event(self): + """Test case for read_namespaced_event + + """ + pass + + def test_replace_namespaced_event(self): + """Test case for replace_namespaced_event + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_api.py b/kubernetes/test/test_extensions_api.py new file mode 100644 index 0000000000..62eafe0405 --- /dev/null +++ b/kubernetes/test/test_extensions_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.extensions_api import ExtensionsApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestExtensionsApi(unittest.TestCase): + """ExtensionsApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.extensions_api.ExtensionsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py b/kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py new file mode 100644 index 0000000000..06fdcfdd76 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_allowed_csi_driver import ExtensionsV1beta1AllowedCSIDriver # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1AllowedCSIDriver(unittest.TestCase): + """ExtensionsV1beta1AllowedCSIDriver unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1AllowedCSIDriver + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_allowed_csi_driver.ExtensionsV1beta1AllowedCSIDriver() # noqa: E501 + if include_optional : + return ExtensionsV1beta1AllowedCSIDriver( + name = '0' + ) + else : + return ExtensionsV1beta1AllowedCSIDriver( + name = '0', + ) + + def testExtensionsV1beta1AllowedCSIDriver(self): + """Test ExtensionsV1beta1AllowedCSIDriver""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py new file mode 100644 index 0000000000..a6502b6c7d --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_allowed_flex_volume import ExtensionsV1beta1AllowedFlexVolume # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1AllowedFlexVolume(unittest.TestCase): + """ExtensionsV1beta1AllowedFlexVolume unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1AllowedFlexVolume + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_allowed_flex_volume.ExtensionsV1beta1AllowedFlexVolume() # noqa: E501 + if include_optional : + return ExtensionsV1beta1AllowedFlexVolume( + driver = '0' + ) + else : + return ExtensionsV1beta1AllowedFlexVolume( + driver = '0', + ) + + def testExtensionsV1beta1AllowedFlexVolume(self): + """Test ExtensionsV1beta1AllowedFlexVolume""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py b/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py new file mode 100644 index 0000000000..a452c6f709 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_allowed_host_path import ExtensionsV1beta1AllowedHostPath # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1AllowedHostPath(unittest.TestCase): + """ExtensionsV1beta1AllowedHostPath unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1AllowedHostPath + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_allowed_host_path.ExtensionsV1beta1AllowedHostPath() # noqa: E501 + if include_optional : + return ExtensionsV1beta1AllowedHostPath( + path_prefix = '0', + read_only = True + ) + else : + return ExtensionsV1beta1AllowedHostPath( + ) + + def testExtensionsV1beta1AllowedHostPath(self): + """Test ExtensionsV1beta1AllowedHostPath""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_api.py b/kubernetes/test/test_extensions_v1beta1_api.py new file mode 100644 index 0000000000..3f0e88dd7d --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_api.py @@ -0,0 +1,453 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.extensions_v1beta1_api import ExtensionsV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestExtensionsV1beta1Api(unittest.TestCase): + """ExtensionsV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.extensions_v1beta1_api.ExtensionsV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_daemon_set(self): + """Test case for create_namespaced_daemon_set + + """ + pass + + def test_create_namespaced_deployment(self): + """Test case for create_namespaced_deployment + + """ + pass + + def test_create_namespaced_deployment_rollback(self): + """Test case for create_namespaced_deployment_rollback + + """ + pass + + def test_create_namespaced_ingress(self): + """Test case for create_namespaced_ingress + + """ + pass + + def test_create_namespaced_network_policy(self): + """Test case for create_namespaced_network_policy + + """ + pass + + def test_create_namespaced_replica_set(self): + """Test case for create_namespaced_replica_set + + """ + pass + + def test_create_pod_security_policy(self): + """Test case for create_pod_security_policy + + """ + pass + + def test_delete_collection_namespaced_daemon_set(self): + """Test case for delete_collection_namespaced_daemon_set + + """ + pass + + def test_delete_collection_namespaced_deployment(self): + """Test case for delete_collection_namespaced_deployment + + """ + pass + + def test_delete_collection_namespaced_ingress(self): + """Test case for delete_collection_namespaced_ingress + + """ + pass + + def test_delete_collection_namespaced_network_policy(self): + """Test case for delete_collection_namespaced_network_policy + + """ + pass + + def test_delete_collection_namespaced_replica_set(self): + """Test case for delete_collection_namespaced_replica_set + + """ + pass + + def test_delete_collection_pod_security_policy(self): + """Test case for delete_collection_pod_security_policy + + """ + pass + + def test_delete_namespaced_daemon_set(self): + """Test case for delete_namespaced_daemon_set + + """ + pass + + def test_delete_namespaced_deployment(self): + """Test case for delete_namespaced_deployment + + """ + pass + + def test_delete_namespaced_ingress(self): + """Test case for delete_namespaced_ingress + + """ + pass + + def test_delete_namespaced_network_policy(self): + """Test case for delete_namespaced_network_policy + + """ + pass + + def test_delete_namespaced_replica_set(self): + """Test case for delete_namespaced_replica_set + + """ + pass + + def test_delete_pod_security_policy(self): + """Test case for delete_pod_security_policy + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_daemon_set_for_all_namespaces(self): + """Test case for list_daemon_set_for_all_namespaces + + """ + pass + + def test_list_deployment_for_all_namespaces(self): + """Test case for list_deployment_for_all_namespaces + + """ + pass + + def test_list_ingress_for_all_namespaces(self): + """Test case for list_ingress_for_all_namespaces + + """ + pass + + def test_list_namespaced_daemon_set(self): + """Test case for list_namespaced_daemon_set + + """ + pass + + def test_list_namespaced_deployment(self): + """Test case for list_namespaced_deployment + + """ + pass + + def test_list_namespaced_ingress(self): + """Test case for list_namespaced_ingress + + """ + pass + + def test_list_namespaced_network_policy(self): + """Test case for list_namespaced_network_policy + + """ + pass + + def test_list_namespaced_replica_set(self): + """Test case for list_namespaced_replica_set + + """ + pass + + def test_list_network_policy_for_all_namespaces(self): + """Test case for list_network_policy_for_all_namespaces + + """ + pass + + def test_list_pod_security_policy(self): + """Test case for list_pod_security_policy + + """ + pass + + def test_list_replica_set_for_all_namespaces(self): + """Test case for list_replica_set_for_all_namespaces + + """ + pass + + def test_patch_namespaced_daemon_set(self): + """Test case for patch_namespaced_daemon_set + + """ + pass + + def test_patch_namespaced_daemon_set_status(self): + """Test case for patch_namespaced_daemon_set_status + + """ + pass + + def test_patch_namespaced_deployment(self): + """Test case for patch_namespaced_deployment + + """ + pass + + def test_patch_namespaced_deployment_scale(self): + """Test case for patch_namespaced_deployment_scale + + """ + pass + + def test_patch_namespaced_deployment_status(self): + """Test case for patch_namespaced_deployment_status + + """ + pass + + def test_patch_namespaced_ingress(self): + """Test case for patch_namespaced_ingress + + """ + pass + + def test_patch_namespaced_ingress_status(self): + """Test case for patch_namespaced_ingress_status + + """ + pass + + def test_patch_namespaced_network_policy(self): + """Test case for patch_namespaced_network_policy + + """ + pass + + def test_patch_namespaced_replica_set(self): + """Test case for patch_namespaced_replica_set + + """ + pass + + def test_patch_namespaced_replica_set_scale(self): + """Test case for patch_namespaced_replica_set_scale + + """ + pass + + def test_patch_namespaced_replica_set_status(self): + """Test case for patch_namespaced_replica_set_status + + """ + pass + + def test_patch_namespaced_replication_controller_dummy_scale(self): + """Test case for patch_namespaced_replication_controller_dummy_scale + + """ + pass + + def test_patch_pod_security_policy(self): + """Test case for patch_pod_security_policy + + """ + pass + + def test_read_namespaced_daemon_set(self): + """Test case for read_namespaced_daemon_set + + """ + pass + + def test_read_namespaced_daemon_set_status(self): + """Test case for read_namespaced_daemon_set_status + + """ + pass + + def test_read_namespaced_deployment(self): + """Test case for read_namespaced_deployment + + """ + pass + + def test_read_namespaced_deployment_scale(self): + """Test case for read_namespaced_deployment_scale + + """ + pass + + def test_read_namespaced_deployment_status(self): + """Test case for read_namespaced_deployment_status + + """ + pass + + def test_read_namespaced_ingress(self): + """Test case for read_namespaced_ingress + + """ + pass + + def test_read_namespaced_ingress_status(self): + """Test case for read_namespaced_ingress_status + + """ + pass + + def test_read_namespaced_network_policy(self): + """Test case for read_namespaced_network_policy + + """ + pass + + def test_read_namespaced_replica_set(self): + """Test case for read_namespaced_replica_set + + """ + pass + + def test_read_namespaced_replica_set_scale(self): + """Test case for read_namespaced_replica_set_scale + + """ + pass + + def test_read_namespaced_replica_set_status(self): + """Test case for read_namespaced_replica_set_status + + """ + pass + + def test_read_namespaced_replication_controller_dummy_scale(self): + """Test case for read_namespaced_replication_controller_dummy_scale + + """ + pass + + def test_read_pod_security_policy(self): + """Test case for read_pod_security_policy + + """ + pass + + def test_replace_namespaced_daemon_set(self): + """Test case for replace_namespaced_daemon_set + + """ + pass + + def test_replace_namespaced_daemon_set_status(self): + """Test case for replace_namespaced_daemon_set_status + + """ + pass + + def test_replace_namespaced_deployment(self): + """Test case for replace_namespaced_deployment + + """ + pass + + def test_replace_namespaced_deployment_scale(self): + """Test case for replace_namespaced_deployment_scale + + """ + pass + + def test_replace_namespaced_deployment_status(self): + """Test case for replace_namespaced_deployment_status + + """ + pass + + def test_replace_namespaced_ingress(self): + """Test case for replace_namespaced_ingress + + """ + pass + + def test_replace_namespaced_ingress_status(self): + """Test case for replace_namespaced_ingress_status + + """ + pass + + def test_replace_namespaced_network_policy(self): + """Test case for replace_namespaced_network_policy + + """ + pass + + def test_replace_namespaced_replica_set(self): + """Test case for replace_namespaced_replica_set + + """ + pass + + def test_replace_namespaced_replica_set_scale(self): + """Test case for replace_namespaced_replica_set_scale + + """ + pass + + def test_replace_namespaced_replica_set_status(self): + """Test case for replace_namespaced_replica_set_status + + """ + pass + + def test_replace_namespaced_replication_controller_dummy_scale(self): + """Test case for replace_namespaced_replication_controller_dummy_scale + + """ + pass + + def test_replace_pod_security_policy(self): + """Test case for replace_pod_security_policy + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment.py b/kubernetes/test/test_extensions_v1beta1_deployment.py new file mode 100644 index 0000000000..02b3146355 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_deployment.py @@ -0,0 +1,607 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_deployment import ExtensionsV1beta1Deployment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1Deployment(unittest.TestCase): + """ExtensionsV1beta1Deployment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1Deployment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_deployment.ExtensionsV1beta1Deployment() # noqa: E501 + if include_optional : + return ExtensionsV1beta1Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( + revision = 56, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( + rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), ), + status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ) + ) + else : + return ExtensionsV1beta1Deployment( + ) + + def testExtensionsV1beta1Deployment(self): + """Test ExtensionsV1beta1Deployment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py b/kubernetes/test/test_extensions_v1beta1_deployment_condition.py new file mode 100644 index 0000000000..f664d74729 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_deployment_condition.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_deployment_condition import ExtensionsV1beta1DeploymentCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1DeploymentCondition(unittest.TestCase): + """ExtensionsV1beta1DeploymentCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1DeploymentCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_deployment_condition.ExtensionsV1beta1DeploymentCondition() # noqa: E501 + if include_optional : + return ExtensionsV1beta1DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return ExtensionsV1beta1DeploymentCondition( + status = '0', + type = '0', + ) + + def testExtensionsV1beta1DeploymentCondition(self): + """Test ExtensionsV1beta1DeploymentCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_list.py b/kubernetes/test/test_extensions_v1beta1_deployment_list.py new file mode 100644 index 0000000000..3134c602c2 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_deployment_list.py @@ -0,0 +1,232 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_deployment_list import ExtensionsV1beta1DeploymentList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1DeploymentList(unittest.TestCase): + """ExtensionsV1beta1DeploymentList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1DeploymentList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_deployment_list.ExtensionsV1beta1DeploymentList() # noqa: E501 + if include_optional : + return ExtensionsV1beta1DeploymentList( + api_version = '0', + items = [ + kubernetes.client.models.extensions/v1beta1/deployment.extensions.v1beta1.Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( + revision = 56, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( + rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return ExtensionsV1beta1DeploymentList( + items = [ + kubernetes.client.models.extensions/v1beta1/deployment.extensions.v1beta1.Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( + revision = 56, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( + rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ), ) + ], + ) + + def testExtensionsV1beta1DeploymentList(self): + """Test ExtensionsV1beta1DeploymentList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py b/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py new file mode 100644 index 0000000000..0596ee0c21 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_deployment_rollback import ExtensionsV1beta1DeploymentRollback # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1DeploymentRollback(unittest.TestCase): + """ExtensionsV1beta1DeploymentRollback unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1DeploymentRollback + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_deployment_rollback.ExtensionsV1beta1DeploymentRollback() # noqa: E501 + if include_optional : + return ExtensionsV1beta1DeploymentRollback( + api_version = '0', + kind = '0', + name = '0', + rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( + revision = 56, ), + updated_annotations = { + 'key' : '0' + } + ) + else : + return ExtensionsV1beta1DeploymentRollback( + name = '0', + rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( + revision = 56, ), + ) + + def testExtensionsV1beta1DeploymentRollback(self): + """Test ExtensionsV1beta1DeploymentRollback""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py b/kubernetes/test/test_extensions_v1beta1_deployment_spec.py new file mode 100644 index 0000000000..2164c1d4fa --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_deployment_spec.py @@ -0,0 +1,1043 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_deployment_spec import ExtensionsV1beta1DeploymentSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1DeploymentSpec(unittest.TestCase): + """ExtensionsV1beta1DeploymentSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1DeploymentSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_deployment_spec.ExtensionsV1beta1DeploymentSpec() # noqa: E501 + if include_optional : + return ExtensionsV1beta1DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( + revision = 56, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( + rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return ExtensionsV1beta1DeploymentSpec( + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testExtensionsV1beta1DeploymentSpec(self): + """Test ExtensionsV1beta1DeploymentSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_status.py b/kubernetes/test/test_extensions_v1beta1_deployment_status.py new file mode 100644 index 0000000000..14ec417deb --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_deployment_status.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_deployment_status import ExtensionsV1beta1DeploymentStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1DeploymentStatus(unittest.TestCase): + """ExtensionsV1beta1DeploymentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1DeploymentStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_deployment_status.ExtensionsV1beta1DeploymentStatus() # noqa: E501 + if include_optional : + return ExtensionsV1beta1DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56 + ) + else : + return ExtensionsV1beta1DeploymentStatus( + ) + + def testExtensionsV1beta1DeploymentStatus(self): + """Test ExtensionsV1beta1DeploymentStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py b/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py new file mode 100644 index 0000000000..54b855b9e5 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_deployment_strategy import ExtensionsV1beta1DeploymentStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1DeploymentStrategy(unittest.TestCase): + """ExtensionsV1beta1DeploymentStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1DeploymentStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_deployment_strategy.ExtensionsV1beta1DeploymentStrategy() # noqa: E501 + if include_optional : + return ExtensionsV1beta1DeploymentStrategy( + rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0' + ) + else : + return ExtensionsV1beta1DeploymentStrategy( + ) + + def testExtensionsV1beta1DeploymentStrategy(self): + """Test ExtensionsV1beta1DeploymentStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py new file mode 100644 index 0000000000..b2288e3939 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_fs_group_strategy_options import ExtensionsV1beta1FSGroupStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1FSGroupStrategyOptions(unittest.TestCase): + """ExtensionsV1beta1FSGroupStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1FSGroupStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_fs_group_strategy_options.ExtensionsV1beta1FSGroupStrategyOptions() # noqa: E501 + if include_optional : + return ExtensionsV1beta1FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0' + ) + else : + return ExtensionsV1beta1FSGroupStrategyOptions( + ) + + def testExtensionsV1beta1FSGroupStrategyOptions(self): + """Test ExtensionsV1beta1FSGroupStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_host_port_range.py b/kubernetes/test/test_extensions_v1beta1_host_port_range.py new file mode 100644 index 0000000000..8941ad9f51 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_host_port_range.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_host_port_range import ExtensionsV1beta1HostPortRange # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1HostPortRange(unittest.TestCase): + """ExtensionsV1beta1HostPortRange unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1HostPortRange + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_host_port_range.ExtensionsV1beta1HostPortRange() # noqa: E501 + if include_optional : + return ExtensionsV1beta1HostPortRange( + max = 56, + min = 56 + ) + else : + return ExtensionsV1beta1HostPortRange( + max = 56, + min = 56, + ) + + def testExtensionsV1beta1HostPortRange(self): + """Test ExtensionsV1beta1HostPortRange""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py b/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py new file mode 100644 index 0000000000..2f601c7361 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_http_ingress_path import ExtensionsV1beta1HTTPIngressPath # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1HTTPIngressPath(unittest.TestCase): + """ExtensionsV1beta1HTTPIngressPath unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1HTTPIngressPath + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_http_ingress_path.ExtensionsV1beta1HTTPIngressPath() # noqa: E501 + if include_optional : + return ExtensionsV1beta1HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0' + ) + else : + return ExtensionsV1beta1HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + ) + + def testExtensionsV1beta1HTTPIngressPath(self): + """Test ExtensionsV1beta1HTTPIngressPath""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py new file mode 100644 index 0000000000..7a4c0bf025 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_http_ingress_rule_value import ExtensionsV1beta1HTTPIngressRuleValue # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1HTTPIngressRuleValue(unittest.TestCase): + """ExtensionsV1beta1HTTPIngressRuleValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1HTTPIngressRuleValue + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_http_ingress_rule_value.ExtensionsV1beta1HTTPIngressRuleValue() # noqa: E501 + if include_optional : + return ExtensionsV1beta1HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ] + ) + else : + return ExtensionsV1beta1HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], + ) + + def testExtensionsV1beta1HTTPIngressRuleValue(self): + """Test ExtensionsV1beta1HTTPIngressRuleValue""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_id_range.py b/kubernetes/test/test_extensions_v1beta1_id_range.py new file mode 100644 index 0000000000..91deeefb43 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_id_range.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_id_range import ExtensionsV1beta1IDRange # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1IDRange(unittest.TestCase): + """ExtensionsV1beta1IDRange unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1IDRange + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_id_range.ExtensionsV1beta1IDRange() # noqa: E501 + if include_optional : + return ExtensionsV1beta1IDRange( + max = 56, + min = 56 + ) + else : + return ExtensionsV1beta1IDRange( + max = 56, + min = 56, + ) + + def testExtensionsV1beta1IDRange(self): + """Test ExtensionsV1beta1IDRange""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress.py b/kubernetes/test/test_extensions_v1beta1_ingress.py new file mode 100644 index 0000000000..adc5fb6b42 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_ingress.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_ingress import ExtensionsV1beta1Ingress # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1Ingress(unittest.TestCase): + """ExtensionsV1beta1Ingress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1Ingress + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_ingress.ExtensionsV1beta1Ingress() # noqa: E501 + if include_optional : + return ExtensionsV1beta1Ingress( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + rules = [ + kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( + host = '0', + http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ), ) + ], + tls = [ + kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( + hosts = [ + '0' + ], + secret_name = '0', ) + ], ), + status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ) + ) + else : + return ExtensionsV1beta1Ingress( + ) + + def testExtensionsV1beta1Ingress(self): + """Test ExtensionsV1beta1Ingress""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_backend.py b/kubernetes/test/test_extensions_v1beta1_ingress_backend.py new file mode 100644 index 0000000000..c86739fa83 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_ingress_backend.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_ingress_backend import ExtensionsV1beta1IngressBackend # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1IngressBackend(unittest.TestCase): + """ExtensionsV1beta1IngressBackend unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1IngressBackend + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_ingress_backend.ExtensionsV1beta1IngressBackend() # noqa: E501 + if include_optional : + return ExtensionsV1beta1IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort() + ) + else : + return ExtensionsV1beta1IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), + ) + + def testExtensionsV1beta1IngressBackend(self): + """Test ExtensionsV1beta1IngressBackend""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_list.py b/kubernetes/test/test_extensions_v1beta1_ingress_list.py new file mode 100644 index 0000000000..98ae53768b --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_ingress_list.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_ingress_list import ExtensionsV1beta1IngressList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1IngressList(unittest.TestCase): + """ExtensionsV1beta1IngressList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1IngressList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_ingress_list.ExtensionsV1beta1IngressList() # noqa: E501 + if include_optional : + return ExtensionsV1beta1IngressList( + api_version = '0', + items = [ + kubernetes.client.models.extensions/v1beta1/ingress.extensions.v1beta1.Ingress( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + rules = [ + kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( + host = '0', + http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ), ) + ], + tls = [ + kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( + hosts = [ + '0' + ], + secret_name = '0', ) + ], ), + status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return ExtensionsV1beta1IngressList( + items = [ + kubernetes.client.models.extensions/v1beta1/ingress.extensions.v1beta1.Ingress( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + rules = [ + kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( + host = '0', + http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ), ) + ], + tls = [ + kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( + hosts = [ + '0' + ], + secret_name = '0', ) + ], ), + status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ), ) + ], + ) + + def testExtensionsV1beta1IngressList(self): + """Test ExtensionsV1beta1IngressList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_rule.py b/kubernetes/test/test_extensions_v1beta1_ingress_rule.py new file mode 100644 index 0000000000..45309bf637 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_ingress_rule.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_ingress_rule import ExtensionsV1beta1IngressRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1IngressRule(unittest.TestCase): + """ExtensionsV1beta1IngressRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1IngressRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_ingress_rule.ExtensionsV1beta1IngressRule() # noqa: E501 + if include_optional : + return ExtensionsV1beta1IngressRule( + host = '0', + http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ) + ) + else : + return ExtensionsV1beta1IngressRule( + ) + + def testExtensionsV1beta1IngressRule(self): + """Test ExtensionsV1beta1IngressRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_spec.py b/kubernetes/test/test_extensions_v1beta1_ingress_spec.py new file mode 100644 index 0000000000..f24c9b0daf --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_ingress_spec.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_ingress_spec import ExtensionsV1beta1IngressSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1IngressSpec(unittest.TestCase): + """ExtensionsV1beta1IngressSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1IngressSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_ingress_spec.ExtensionsV1beta1IngressSpec() # noqa: E501 + if include_optional : + return ExtensionsV1beta1IngressSpec( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + rules = [ + kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( + host = '0', + http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ), ) + ], + tls = [ + kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( + hosts = [ + '0' + ], + secret_name = '0', ) + ] + ) + else : + return ExtensionsV1beta1IngressSpec( + ) + + def testExtensionsV1beta1IngressSpec(self): + """Test ExtensionsV1beta1IngressSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_status.py b/kubernetes/test/test_extensions_v1beta1_ingress_status.py new file mode 100644 index 0000000000..6ea5c11661 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_ingress_status.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_ingress_status import ExtensionsV1beta1IngressStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1IngressStatus(unittest.TestCase): + """ExtensionsV1beta1IngressStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1IngressStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_ingress_status.ExtensionsV1beta1IngressStatus() # noqa: E501 + if include_optional : + return ExtensionsV1beta1IngressStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ) + ) + else : + return ExtensionsV1beta1IngressStatus( + ) + + def testExtensionsV1beta1IngressStatus(self): + """Test ExtensionsV1beta1IngressStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_tls.py b/kubernetes/test/test_extensions_v1beta1_ingress_tls.py new file mode 100644 index 0000000000..72ce55f12f --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_ingress_tls.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_ingress_tls import ExtensionsV1beta1IngressTLS # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1IngressTLS(unittest.TestCase): + """ExtensionsV1beta1IngressTLS unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1IngressTLS + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_ingress_tls.ExtensionsV1beta1IngressTLS() # noqa: E501 + if include_optional : + return ExtensionsV1beta1IngressTLS( + hosts = [ + '0' + ], + secret_name = '0' + ) + else : + return ExtensionsV1beta1IngressTLS( + ) + + def testExtensionsV1beta1IngressTLS(self): + """Test ExtensionsV1beta1IngressTLS""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py new file mode 100644 index 0000000000..9574ad5186 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_pod_security_policy import ExtensionsV1beta1PodSecurityPolicy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1PodSecurityPolicy(unittest.TestCase): + """ExtensionsV1beta1PodSecurityPolicy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1PodSecurityPolicy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy.ExtensionsV1beta1PodSecurityPolicy() # noqa: E501 + if include_optional : + return ExtensionsV1beta1PodSecurityPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( + allow_privilege_escalation = True, + allowed_csi_drivers = [ + kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( + name = '0', ) + ], + allowed_capabilities = [ + '0' + ], + allowed_flex_volumes = [ + kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( + driver = '0', ) + ], + allowed_host_paths = [ + kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( + path_prefix = '0', + read_only = True, ) + ], + allowed_proc_mount_types = [ + '0' + ], + allowed_unsafe_sysctls = [ + '0' + ], + default_add_capabilities = [ + '0' + ], + default_allow_privilege_escalation = True, + forbidden_sysctls = [ + '0' + ], + fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + host_ipc = True, + host_network = True, + host_pid = True, + host_ports = [ + kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( + max = 56, + min = 56, ) + ], + privileged = True, + read_only_root_filesystem = True, + required_drop_capabilities = [ + '0' + ], + run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( + rule = '0', ), + run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( + rule = '0', ), + runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0', ), + se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( + rule = '0', ), + volumes = [ + '0' + ], ) + ) + else : + return ExtensionsV1beta1PodSecurityPolicy( + ) + + def testExtensionsV1beta1PodSecurityPolicy(self): + """Test ExtensionsV1beta1PodSecurityPolicy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py new file mode 100644 index 0000000000..52890bd49f --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py @@ -0,0 +1,290 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_pod_security_policy_list import ExtensionsV1beta1PodSecurityPolicyList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1PodSecurityPolicyList(unittest.TestCase): + """ExtensionsV1beta1PodSecurityPolicyList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1PodSecurityPolicyList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy_list.ExtensionsV1beta1PodSecurityPolicyList() # noqa: E501 + if include_optional : + return ExtensionsV1beta1PodSecurityPolicyList( + api_version = '0', + items = [ + kubernetes.client.models.extensions/v1beta1/pod_security_policy.extensions.v1beta1.PodSecurityPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( + allow_privilege_escalation = True, + allowed_csi_drivers = [ + kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( + name = '0', ) + ], + allowed_capabilities = [ + '0' + ], + allowed_flex_volumes = [ + kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( + driver = '0', ) + ], + allowed_host_paths = [ + kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( + path_prefix = '0', + read_only = True, ) + ], + allowed_proc_mount_types = [ + '0' + ], + allowed_unsafe_sysctls = [ + '0' + ], + default_add_capabilities = [ + '0' + ], + default_allow_privilege_escalation = True, + forbidden_sysctls = [ + '0' + ], + fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + host_ipc = True, + host_network = True, + host_pid = True, + host_ports = [ + kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( + max = 56, + min = 56, ) + ], + privileged = True, + read_only_root_filesystem = True, + required_drop_capabilities = [ + '0' + ], + run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( + rule = '0', ), + run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( + rule = '0', ), + runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0', ), + se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( + rule = '0', ), + volumes = [ + '0' + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return ExtensionsV1beta1PodSecurityPolicyList( + items = [ + kubernetes.client.models.extensions/v1beta1/pod_security_policy.extensions.v1beta1.PodSecurityPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( + allow_privilege_escalation = True, + allowed_csi_drivers = [ + kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( + name = '0', ) + ], + allowed_capabilities = [ + '0' + ], + allowed_flex_volumes = [ + kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( + driver = '0', ) + ], + allowed_host_paths = [ + kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( + path_prefix = '0', + read_only = True, ) + ], + allowed_proc_mount_types = [ + '0' + ], + allowed_unsafe_sysctls = [ + '0' + ], + default_add_capabilities = [ + '0' + ], + default_allow_privilege_escalation = True, + forbidden_sysctls = [ + '0' + ], + fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + host_ipc = True, + host_network = True, + host_pid = True, + host_ports = [ + kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( + max = 56, + min = 56, ) + ], + privileged = True, + read_only_root_filesystem = True, + required_drop_capabilities = [ + '0' + ], + run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( + rule = '0', ), + run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( + rule = '0', ), + runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0', ), + se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( + rule = '0', ), + volumes = [ + '0' + ], ), ) + ], + ) + + def testExtensionsV1beta1PodSecurityPolicyList(self): + """Test ExtensionsV1beta1PodSecurityPolicyList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py new file mode 100644 index 0000000000..2cb6567956 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py @@ -0,0 +1,165 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_pod_security_policy_spec import ExtensionsV1beta1PodSecurityPolicySpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1PodSecurityPolicySpec(unittest.TestCase): + """ExtensionsV1beta1PodSecurityPolicySpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1PodSecurityPolicySpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy_spec.ExtensionsV1beta1PodSecurityPolicySpec() # noqa: E501 + if include_optional : + return ExtensionsV1beta1PodSecurityPolicySpec( + allow_privilege_escalation = True, + allowed_csi_drivers = [ + kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( + name = '0', ) + ], + allowed_capabilities = [ + '0' + ], + allowed_flex_volumes = [ + kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( + driver = '0', ) + ], + allowed_host_paths = [ + kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( + path_prefix = '0', + read_only = True, ) + ], + allowed_proc_mount_types = [ + '0' + ], + allowed_unsafe_sysctls = [ + '0' + ], + default_add_capabilities = [ + '0' + ], + default_allow_privilege_escalation = True, + forbidden_sysctls = [ + '0' + ], + fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + host_ipc = True, + host_network = True, + host_pid = True, + host_ports = [ + kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( + max = 56, + min = 56, ) + ], + privileged = True, + read_only_root_filesystem = True, + required_drop_capabilities = [ + '0' + ], + run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0', ), + se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + volumes = [ + '0' + ] + ) + else : + return ExtensionsV1beta1PodSecurityPolicySpec( + fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + ) + + def testExtensionsV1beta1PodSecurityPolicySpec(self): + """Test ExtensionsV1beta1PodSecurityPolicySpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_rollback_config.py b/kubernetes/test/test_extensions_v1beta1_rollback_config.py new file mode 100644 index 0000000000..81f23e2817 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_rollback_config.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_rollback_config import ExtensionsV1beta1RollbackConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1RollbackConfig(unittest.TestCase): + """ExtensionsV1beta1RollbackConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1RollbackConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_rollback_config.ExtensionsV1beta1RollbackConfig() # noqa: E501 + if include_optional : + return ExtensionsV1beta1RollbackConfig( + revision = 56 + ) + else : + return ExtensionsV1beta1RollbackConfig( + ) + + def testExtensionsV1beta1RollbackConfig(self): + """Test ExtensionsV1beta1RollbackConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py new file mode 100644 index 0000000000..297643885e --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_rolling_update_deployment import ExtensionsV1beta1RollingUpdateDeployment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1RollingUpdateDeployment(unittest.TestCase): + """ExtensionsV1beta1RollingUpdateDeployment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1RollingUpdateDeployment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_rolling_update_deployment.ExtensionsV1beta1RollingUpdateDeployment() # noqa: E501 + if include_optional : + return ExtensionsV1beta1RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() + ) + else : + return ExtensionsV1beta1RollingUpdateDeployment( + ) + + def testExtensionsV1beta1RollingUpdateDeployment(self): + """Test ExtensionsV1beta1RollingUpdateDeployment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py new file mode 100644 index 0000000000..09ebc7494a --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_run_as_group_strategy_options import ExtensionsV1beta1RunAsGroupStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1RunAsGroupStrategyOptions(unittest.TestCase): + """ExtensionsV1beta1RunAsGroupStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1RunAsGroupStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_run_as_group_strategy_options.ExtensionsV1beta1RunAsGroupStrategyOptions() # noqa: E501 + if include_optional : + return ExtensionsV1beta1RunAsGroupStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0' + ) + else : + return ExtensionsV1beta1RunAsGroupStrategyOptions( + rule = '0', + ) + + def testExtensionsV1beta1RunAsGroupStrategyOptions(self): + """Test ExtensionsV1beta1RunAsGroupStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py new file mode 100644 index 0000000000..4ddbf9287d --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_run_as_user_strategy_options import ExtensionsV1beta1RunAsUserStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1RunAsUserStrategyOptions(unittest.TestCase): + """ExtensionsV1beta1RunAsUserStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1RunAsUserStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_run_as_user_strategy_options.ExtensionsV1beta1RunAsUserStrategyOptions() # noqa: E501 + if include_optional : + return ExtensionsV1beta1RunAsUserStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0' + ) + else : + return ExtensionsV1beta1RunAsUserStrategyOptions( + rule = '0', + ) + + def testExtensionsV1beta1RunAsUserStrategyOptions(self): + """Test ExtensionsV1beta1RunAsUserStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py new file mode 100644 index 0000000000..22be08bd87 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_runtime_class_strategy_options import ExtensionsV1beta1RuntimeClassStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1RuntimeClassStrategyOptions(unittest.TestCase): + """ExtensionsV1beta1RuntimeClassStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1RuntimeClassStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_runtime_class_strategy_options.ExtensionsV1beta1RuntimeClassStrategyOptions() # noqa: E501 + if include_optional : + return ExtensionsV1beta1RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0' + ) + else : + return ExtensionsV1beta1RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + ) + + def testExtensionsV1beta1RuntimeClassStrategyOptions(self): + """Test ExtensionsV1beta1RuntimeClassStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale.py b/kubernetes/test/test_extensions_v1beta1_scale.py new file mode 100644 index 0000000000..5d30f1ab3b --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_scale.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_scale import ExtensionsV1beta1Scale # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1Scale(unittest.TestCase): + """ExtensionsV1beta1Scale unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1Scale + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_scale.ExtensionsV1beta1Scale() # noqa: E501 + if include_optional : + return ExtensionsV1beta1Scale( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.extensions/v1beta1/scale_spec.extensions.v1beta1.ScaleSpec( + replicas = 56, ), + status = kubernetes.client.models.extensions/v1beta1/scale_status.extensions.v1beta1.ScaleStatus( + replicas = 56, + selector = { + 'key' : '0' + }, + target_selector = '0', ) + ) + else : + return ExtensionsV1beta1Scale( + ) + + def testExtensionsV1beta1Scale(self): + """Test ExtensionsV1beta1Scale""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale_spec.py b/kubernetes/test/test_extensions_v1beta1_scale_spec.py new file mode 100644 index 0000000000..0dca5049f6 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_scale_spec.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_scale_spec import ExtensionsV1beta1ScaleSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1ScaleSpec(unittest.TestCase): + """ExtensionsV1beta1ScaleSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1ScaleSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_scale_spec.ExtensionsV1beta1ScaleSpec() # noqa: E501 + if include_optional : + return ExtensionsV1beta1ScaleSpec( + replicas = 56 + ) + else : + return ExtensionsV1beta1ScaleSpec( + ) + + def testExtensionsV1beta1ScaleSpec(self): + """Test ExtensionsV1beta1ScaleSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale_status.py b/kubernetes/test/test_extensions_v1beta1_scale_status.py new file mode 100644 index 0000000000..6553cbc65b --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_scale_status.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_scale_status import ExtensionsV1beta1ScaleStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1ScaleStatus(unittest.TestCase): + """ExtensionsV1beta1ScaleStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1ScaleStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_scale_status.ExtensionsV1beta1ScaleStatus() # noqa: E501 + if include_optional : + return ExtensionsV1beta1ScaleStatus( + replicas = 56, + selector = { + 'key' : '0' + }, + target_selector = '0' + ) + else : + return ExtensionsV1beta1ScaleStatus( + replicas = 56, + ) + + def testExtensionsV1beta1ScaleStatus(self): + """Test ExtensionsV1beta1ScaleStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py new file mode 100644 index 0000000000..2db5ae9f00 --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_se_linux_strategy_options import ExtensionsV1beta1SELinuxStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1SELinuxStrategyOptions(unittest.TestCase): + """ExtensionsV1beta1SELinuxStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1SELinuxStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_se_linux_strategy_options.ExtensionsV1beta1SELinuxStrategyOptions() # noqa: E501 + if include_optional : + return ExtensionsV1beta1SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ) + ) + else : + return ExtensionsV1beta1SELinuxStrategyOptions( + rule = '0', + ) + + def testExtensionsV1beta1SELinuxStrategyOptions(self): + """Test ExtensionsV1beta1SELinuxStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py new file mode 100644 index 0000000000..fbdacce64d --- /dev/null +++ b/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.extensions_v1beta1_supplemental_groups_strategy_options import ExtensionsV1beta1SupplementalGroupsStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestExtensionsV1beta1SupplementalGroupsStrategyOptions(unittest.TestCase): + """ExtensionsV1beta1SupplementalGroupsStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test ExtensionsV1beta1SupplementalGroupsStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.extensions_v1beta1_supplemental_groups_strategy_options.ExtensionsV1beta1SupplementalGroupsStrategyOptions() # noqa: E501 + if include_optional : + return ExtensionsV1beta1SupplementalGroupsStrategyOptions( + ranges = [ + kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0' + ) + else : + return ExtensionsV1beta1SupplementalGroupsStrategyOptions( + ) + + def testExtensionsV1beta1SupplementalGroupsStrategyOptions(self): + """Test ExtensionsV1beta1SupplementalGroupsStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_flowcontrol_apiserver_api.py b/kubernetes/test/test_flowcontrol_apiserver_api.py new file mode 100644 index 0000000000..b58ce1cfe3 --- /dev/null +++ b/kubernetes/test/test_flowcontrol_apiserver_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestFlowcontrolApiserverApi(unittest.TestCase): + """FlowcontrolApiserverApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.flowcontrol_apiserver_api.FlowcontrolApiserverApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_flowcontrol_apiserver_v1alpha1_api.py b/kubernetes/test/test_flowcontrol_apiserver_v1alpha1_api.py new file mode 100644 index 0000000000..603b0836f3 --- /dev/null +++ b/kubernetes/test/test_flowcontrol_apiserver_v1alpha1_api.py @@ -0,0 +1,159 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.flowcontrol_apiserver_v1alpha1_api import FlowcontrolApiserverV1alpha1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestFlowcontrolApiserverV1alpha1Api(unittest.TestCase): + """FlowcontrolApiserverV1alpha1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.flowcontrol_apiserver_v1alpha1_api.FlowcontrolApiserverV1alpha1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_flow_schema(self): + """Test case for create_flow_schema + + """ + pass + + def test_create_priority_level_configuration(self): + """Test case for create_priority_level_configuration + + """ + pass + + def test_delete_collection_flow_schema(self): + """Test case for delete_collection_flow_schema + + """ + pass + + def test_delete_collection_priority_level_configuration(self): + """Test case for delete_collection_priority_level_configuration + + """ + pass + + def test_delete_flow_schema(self): + """Test case for delete_flow_schema + + """ + pass + + def test_delete_priority_level_configuration(self): + """Test case for delete_priority_level_configuration + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_flow_schema(self): + """Test case for list_flow_schema + + """ + pass + + def test_list_priority_level_configuration(self): + """Test case for list_priority_level_configuration + + """ + pass + + def test_patch_flow_schema(self): + """Test case for patch_flow_schema + + """ + pass + + def test_patch_flow_schema_status(self): + """Test case for patch_flow_schema_status + + """ + pass + + def test_patch_priority_level_configuration(self): + """Test case for patch_priority_level_configuration + + """ + pass + + def test_patch_priority_level_configuration_status(self): + """Test case for patch_priority_level_configuration_status + + """ + pass + + def test_read_flow_schema(self): + """Test case for read_flow_schema + + """ + pass + + def test_read_flow_schema_status(self): + """Test case for read_flow_schema_status + + """ + pass + + def test_read_priority_level_configuration(self): + """Test case for read_priority_level_configuration + + """ + pass + + def test_read_priority_level_configuration_status(self): + """Test case for read_priority_level_configuration_status + + """ + pass + + def test_replace_flow_schema(self): + """Test case for replace_flow_schema + + """ + pass + + def test_replace_flow_schema_status(self): + """Test case for replace_flow_schema_status + + """ + pass + + def test_replace_priority_level_configuration(self): + """Test case for replace_priority_level_configuration + + """ + pass + + def test_replace_priority_level_configuration_status(self): + """Test case for replace_priority_level_configuration_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_flowcontrol_v1alpha1_subject.py b/kubernetes/test/test_flowcontrol_v1alpha1_subject.py new file mode 100644 index 0000000000..a6f1884b54 --- /dev/null +++ b/kubernetes/test/test_flowcontrol_v1alpha1_subject.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.flowcontrol_v1alpha1_subject import FlowcontrolV1alpha1Subject # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestFlowcontrolV1alpha1Subject(unittest.TestCase): + """FlowcontrolV1alpha1Subject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test FlowcontrolV1alpha1Subject + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.flowcontrol_v1alpha1_subject.FlowcontrolV1alpha1Subject() # noqa: E501 + if include_optional : + return FlowcontrolV1alpha1Subject( + group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( + name = '0', ), + kind = '0', + service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( + name = '0', + namespace = '0', ), + user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( + name = '0', ) + ) + else : + return FlowcontrolV1alpha1Subject( + kind = '0', + ) + + def testFlowcontrolV1alpha1Subject(self): + """Test FlowcontrolV1alpha1Subject""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_logs_api.py b/kubernetes/test/test_logs_api.py new file mode 100644 index 0000000000..d40e6b2e5a --- /dev/null +++ b/kubernetes/test/test_logs_api.py @@ -0,0 +1,45 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.logs_api import LogsApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestLogsApi(unittest.TestCase): + """LogsApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.logs_api.LogsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_log_file_handler(self): + """Test case for log_file_handler + + """ + pass + + def test_log_file_list_handler(self): + """Test case for log_file_list_handler + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_api.py b/kubernetes/test/test_networking_api.py new file mode 100644 index 0000000000..5ac1421615 --- /dev/null +++ b/kubernetes/test/test_networking_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.networking_api import NetworkingApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestNetworkingApi(unittest.TestCase): + """NetworkingApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.networking_api.NetworkingApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1_api.py b/kubernetes/test/test_networking_v1_api.py new file mode 100644 index 0000000000..50a6e2e87e --- /dev/null +++ b/kubernetes/test/test_networking_v1_api.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.networking_v1_api import NetworkingV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestNetworkingV1Api(unittest.TestCase): + """NetworkingV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.networking_v1_api.NetworkingV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_network_policy(self): + """Test case for create_namespaced_network_policy + + """ + pass + + def test_delete_collection_namespaced_network_policy(self): + """Test case for delete_collection_namespaced_network_policy + + """ + pass + + def test_delete_namespaced_network_policy(self): + """Test case for delete_namespaced_network_policy + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_namespaced_network_policy(self): + """Test case for list_namespaced_network_policy + + """ + pass + + def test_list_network_policy_for_all_namespaces(self): + """Test case for list_network_policy_for_all_namespaces + + """ + pass + + def test_patch_namespaced_network_policy(self): + """Test case for patch_namespaced_network_policy + + """ + pass + + def test_read_namespaced_network_policy(self): + """Test case for read_namespaced_network_policy + + """ + pass + + def test_replace_namespaced_network_policy(self): + """Test case for replace_namespaced_network_policy + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_api.py b/kubernetes/test/test_networking_v1beta1_api.py new file mode 100644 index 0000000000..832a6721f0 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_api.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.networking_v1beta1_api import NetworkingV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestNetworkingV1beta1Api(unittest.TestCase): + """NetworkingV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.networking_v1beta1_api.NetworkingV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_ingress(self): + """Test case for create_namespaced_ingress + + """ + pass + + def test_delete_collection_namespaced_ingress(self): + """Test case for delete_collection_namespaced_ingress + + """ + pass + + def test_delete_namespaced_ingress(self): + """Test case for delete_namespaced_ingress + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_ingress_for_all_namespaces(self): + """Test case for list_ingress_for_all_namespaces + + """ + pass + + def test_list_namespaced_ingress(self): + """Test case for list_namespaced_ingress + + """ + pass + + def test_patch_namespaced_ingress(self): + """Test case for patch_namespaced_ingress + + """ + pass + + def test_patch_namespaced_ingress_status(self): + """Test case for patch_namespaced_ingress_status + + """ + pass + + def test_read_namespaced_ingress(self): + """Test case for read_namespaced_ingress + + """ + pass + + def test_read_namespaced_ingress_status(self): + """Test case for read_namespaced_ingress_status + + """ + pass + + def test_replace_namespaced_ingress(self): + """Test case for replace_namespaced_ingress + + """ + pass + + def test_replace_namespaced_ingress_status(self): + """Test case for replace_namespaced_ingress_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_http_ingress_path.py b/kubernetes/test/test_networking_v1beta1_http_ingress_path.py new file mode 100644 index 0000000000..4cb36312b7 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_http_ingress_path.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_http_ingress_path import NetworkingV1beta1HTTPIngressPath # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1HTTPIngressPath(unittest.TestCase): + """NetworkingV1beta1HTTPIngressPath unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1HTTPIngressPath + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_http_ingress_path.NetworkingV1beta1HTTPIngressPath() # noqa: E501 + if include_optional : + return NetworkingV1beta1HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0' + ) + else : + return NetworkingV1beta1HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + ) + + def testNetworkingV1beta1HTTPIngressPath(self): + """Test NetworkingV1beta1HTTPIngressPath""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py new file mode 100644 index 0000000000..ad0f966f32 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_http_ingress_rule_value import NetworkingV1beta1HTTPIngressRuleValue # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1HTTPIngressRuleValue(unittest.TestCase): + """NetworkingV1beta1HTTPIngressRuleValue unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1HTTPIngressRuleValue + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_http_ingress_rule_value.NetworkingV1beta1HTTPIngressRuleValue() # noqa: E501 + if include_optional : + return NetworkingV1beta1HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ] + ) + else : + return NetworkingV1beta1HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], + ) + + def testNetworkingV1beta1HTTPIngressRuleValue(self): + """Test NetworkingV1beta1HTTPIngressRuleValue""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress.py b/kubernetes/test/test_networking_v1beta1_ingress.py new file mode 100644 index 0000000000..959c394b16 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_ingress.py @@ -0,0 +1,122 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_ingress import NetworkingV1beta1Ingress # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1Ingress(unittest.TestCase): + """NetworkingV1beta1Ingress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1Ingress + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_ingress.NetworkingV1beta1Ingress() # noqa: E501 + if include_optional : + return NetworkingV1beta1Ingress( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + rules = [ + kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( + host = '0', + http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ), ) + ], + tls = [ + kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( + hosts = [ + '0' + ], + secret_name = '0', ) + ], ), + status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ) + ) + else : + return NetworkingV1beta1Ingress( + ) + + def testNetworkingV1beta1Ingress(self): + """Test NetworkingV1beta1Ingress""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_backend.py b/kubernetes/test/test_networking_v1beta1_ingress_backend.py new file mode 100644 index 0000000000..91aec4dbb9 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_ingress_backend.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_ingress_backend import NetworkingV1beta1IngressBackend # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1IngressBackend(unittest.TestCase): + """NetworkingV1beta1IngressBackend unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1IngressBackend + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_ingress_backend.NetworkingV1beta1IngressBackend() # noqa: E501 + if include_optional : + return NetworkingV1beta1IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort() + ) + else : + return NetworkingV1beta1IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), + ) + + def testNetworkingV1beta1IngressBackend(self): + """Test NetworkingV1beta1IngressBackend""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_list.py b/kubernetes/test/test_networking_v1beta1_ingress_list.py new file mode 100644 index 0000000000..a6cd9167b3 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_ingress_list.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_ingress_list import NetworkingV1beta1IngressList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1IngressList(unittest.TestCase): + """NetworkingV1beta1IngressList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1IngressList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_ingress_list.NetworkingV1beta1IngressList() # noqa: E501 + if include_optional : + return NetworkingV1beta1IngressList( + api_version = '0', + items = [ + kubernetes.client.models.networking/v1beta1/ingress.networking.v1beta1.Ingress( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + rules = [ + kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( + host = '0', + http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ), ) + ], + tls = [ + kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( + hosts = [ + '0' + ], + secret_name = '0', ) + ], ), + status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return NetworkingV1beta1IngressList( + items = [ + kubernetes.client.models.networking/v1beta1/ingress.networking.v1beta1.Ingress( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + rules = [ + kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( + host = '0', + http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ), ) + ], + tls = [ + kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( + hosts = [ + '0' + ], + secret_name = '0', ) + ], ), + status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ), ) + ], + ) + + def testNetworkingV1beta1IngressList(self): + """Test NetworkingV1beta1IngressList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_rule.py b/kubernetes/test/test_networking_v1beta1_ingress_rule.py new file mode 100644 index 0000000000..082aa25a33 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_ingress_rule.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_ingress_rule import NetworkingV1beta1IngressRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1IngressRule(unittest.TestCase): + """NetworkingV1beta1IngressRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1IngressRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_ingress_rule.NetworkingV1beta1IngressRule() # noqa: E501 + if include_optional : + return NetworkingV1beta1IngressRule( + host = '0', + http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ) + ) + else : + return NetworkingV1beta1IngressRule( + ) + + def testNetworkingV1beta1IngressRule(self): + """Test NetworkingV1beta1IngressRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_spec.py b/kubernetes/test/test_networking_v1beta1_ingress_spec.py new file mode 100644 index 0000000000..38aa2ee5d7 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_ingress_spec.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_ingress_spec import NetworkingV1beta1IngressSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1IngressSpec(unittest.TestCase): + """NetworkingV1beta1IngressSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1IngressSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_ingress_spec.NetworkingV1beta1IngressSpec() # noqa: E501 + if include_optional : + return NetworkingV1beta1IngressSpec( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + rules = [ + kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( + host = '0', + http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( + paths = [ + kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( + backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( + service_name = '0', + service_port = kubernetes.client.models.service_port.servicePort(), ), + path = '0', ) + ], ), ) + ], + tls = [ + kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( + hosts = [ + '0' + ], + secret_name = '0', ) + ] + ) + else : + return NetworkingV1beta1IngressSpec( + ) + + def testNetworkingV1beta1IngressSpec(self): + """Test NetworkingV1beta1IngressSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_status.py b/kubernetes/test/test_networking_v1beta1_ingress_status.py new file mode 100644 index 0000000000..8d2b12cfd2 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_ingress_status.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_ingress_status import NetworkingV1beta1IngressStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1IngressStatus(unittest.TestCase): + """NetworkingV1beta1IngressStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1IngressStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_ingress_status.NetworkingV1beta1IngressStatus() # noqa: E501 + if include_optional : + return NetworkingV1beta1IngressStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ) + ) + else : + return NetworkingV1beta1IngressStatus( + ) + + def testNetworkingV1beta1IngressStatus(self): + """Test NetworkingV1beta1IngressStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_tls.py b/kubernetes/test/test_networking_v1beta1_ingress_tls.py new file mode 100644 index 0000000000..81c558fa70 --- /dev/null +++ b/kubernetes/test/test_networking_v1beta1_ingress_tls.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.networking_v1beta1_ingress_tls import NetworkingV1beta1IngressTLS # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestNetworkingV1beta1IngressTLS(unittest.TestCase): + """NetworkingV1beta1IngressTLS unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test NetworkingV1beta1IngressTLS + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.networking_v1beta1_ingress_tls.NetworkingV1beta1IngressTLS() # noqa: E501 + if include_optional : + return NetworkingV1beta1IngressTLS( + hosts = [ + '0' + ], + secret_name = '0' + ) + else : + return NetworkingV1beta1IngressTLS( + ) + + def testNetworkingV1beta1IngressTLS(self): + """Test NetworkingV1beta1IngressTLS""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_node_api.py b/kubernetes/test/test_node_api.py new file mode 100644 index 0000000000..d00fbeca33 --- /dev/null +++ b/kubernetes/test/test_node_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.node_api import NodeApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestNodeApi(unittest.TestCase): + """NodeApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.node_api.NodeApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_node_v1alpha1_api.py b/kubernetes/test/test_node_v1alpha1_api.py new file mode 100644 index 0000000000..ed2d3b4578 --- /dev/null +++ b/kubernetes/test/test_node_v1alpha1_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.node_v1alpha1_api import NodeV1alpha1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestNodeV1alpha1Api(unittest.TestCase): + """NodeV1alpha1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.node_v1alpha1_api.NodeV1alpha1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_runtime_class(self): + """Test case for create_runtime_class + + """ + pass + + def test_delete_collection_runtime_class(self): + """Test case for delete_collection_runtime_class + + """ + pass + + def test_delete_runtime_class(self): + """Test case for delete_runtime_class + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_runtime_class(self): + """Test case for list_runtime_class + + """ + pass + + def test_patch_runtime_class(self): + """Test case for patch_runtime_class + + """ + pass + + def test_read_runtime_class(self): + """Test case for read_runtime_class + + """ + pass + + def test_replace_runtime_class(self): + """Test case for replace_runtime_class + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_node_v1beta1_api.py b/kubernetes/test/test_node_v1beta1_api.py new file mode 100644 index 0000000000..df76fc390c --- /dev/null +++ b/kubernetes/test/test_node_v1beta1_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.node_v1beta1_api import NodeV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestNodeV1beta1Api(unittest.TestCase): + """NodeV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.node_v1beta1_api.NodeV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_runtime_class(self): + """Test case for create_runtime_class + + """ + pass + + def test_delete_collection_runtime_class(self): + """Test case for delete_collection_runtime_class + + """ + pass + + def test_delete_runtime_class(self): + """Test case for delete_runtime_class + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_runtime_class(self): + """Test case for list_runtime_class + + """ + pass + + def test_patch_runtime_class(self): + """Test case for patch_runtime_class + + """ + pass + + def test_read_runtime_class(self): + """Test case for read_runtime_class + + """ + pass + + def test_replace_runtime_class(self): + """Test case for replace_runtime_class + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_api.py b/kubernetes/test/test_policy_api.py new file mode 100644 index 0000000000..23dbdce32c --- /dev/null +++ b/kubernetes/test/test_policy_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.policy_api import PolicyApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestPolicyApi(unittest.TestCase): + """PolicyApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.policy_api.PolicyApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py b/kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py new file mode 100644 index 0000000000..2f08beab26 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_allowed_csi_driver import PolicyV1beta1AllowedCSIDriver # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1AllowedCSIDriver(unittest.TestCase): + """PolicyV1beta1AllowedCSIDriver unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1AllowedCSIDriver + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_allowed_csi_driver.PolicyV1beta1AllowedCSIDriver() # noqa: E501 + if include_optional : + return PolicyV1beta1AllowedCSIDriver( + name = '0' + ) + else : + return PolicyV1beta1AllowedCSIDriver( + name = '0', + ) + + def testPolicyV1beta1AllowedCSIDriver(self): + """Test PolicyV1beta1AllowedCSIDriver""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py new file mode 100644 index 0000000000..46c6693904 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_allowed_flex_volume import PolicyV1beta1AllowedFlexVolume # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1AllowedFlexVolume(unittest.TestCase): + """PolicyV1beta1AllowedFlexVolume unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1AllowedFlexVolume + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_allowed_flex_volume.PolicyV1beta1AllowedFlexVolume() # noqa: E501 + if include_optional : + return PolicyV1beta1AllowedFlexVolume( + driver = '0' + ) + else : + return PolicyV1beta1AllowedFlexVolume( + driver = '0', + ) + + def testPolicyV1beta1AllowedFlexVolume(self): + """Test PolicyV1beta1AllowedFlexVolume""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py b/kubernetes/test/test_policy_v1beta1_allowed_host_path.py new file mode 100644 index 0000000000..f8d592ee6e --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_allowed_host_path.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_allowed_host_path import PolicyV1beta1AllowedHostPath # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1AllowedHostPath(unittest.TestCase): + """PolicyV1beta1AllowedHostPath unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1AllowedHostPath + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_allowed_host_path.PolicyV1beta1AllowedHostPath() # noqa: E501 + if include_optional : + return PolicyV1beta1AllowedHostPath( + path_prefix = '0', + read_only = True + ) + else : + return PolicyV1beta1AllowedHostPath( + ) + + def testPolicyV1beta1AllowedHostPath(self): + """Test PolicyV1beta1AllowedHostPath""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_api.py b/kubernetes/test/test_policy_v1beta1_api.py new file mode 100644 index 0000000000..cc8bda5d89 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_api.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.policy_v1beta1_api import PolicyV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestPolicyV1beta1Api(unittest.TestCase): + """PolicyV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.policy_v1beta1_api.PolicyV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_pod_disruption_budget(self): + """Test case for create_namespaced_pod_disruption_budget + + """ + pass + + def test_create_pod_security_policy(self): + """Test case for create_pod_security_policy + + """ + pass + + def test_delete_collection_namespaced_pod_disruption_budget(self): + """Test case for delete_collection_namespaced_pod_disruption_budget + + """ + pass + + def test_delete_collection_pod_security_policy(self): + """Test case for delete_collection_pod_security_policy + + """ + pass + + def test_delete_namespaced_pod_disruption_budget(self): + """Test case for delete_namespaced_pod_disruption_budget + + """ + pass + + def test_delete_pod_security_policy(self): + """Test case for delete_pod_security_policy + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_namespaced_pod_disruption_budget(self): + """Test case for list_namespaced_pod_disruption_budget + + """ + pass + + def test_list_pod_disruption_budget_for_all_namespaces(self): + """Test case for list_pod_disruption_budget_for_all_namespaces + + """ + pass + + def test_list_pod_security_policy(self): + """Test case for list_pod_security_policy + + """ + pass + + def test_patch_namespaced_pod_disruption_budget(self): + """Test case for patch_namespaced_pod_disruption_budget + + """ + pass + + def test_patch_namespaced_pod_disruption_budget_status(self): + """Test case for patch_namespaced_pod_disruption_budget_status + + """ + pass + + def test_patch_pod_security_policy(self): + """Test case for patch_pod_security_policy + + """ + pass + + def test_read_namespaced_pod_disruption_budget(self): + """Test case for read_namespaced_pod_disruption_budget + + """ + pass + + def test_read_namespaced_pod_disruption_budget_status(self): + """Test case for read_namespaced_pod_disruption_budget_status + + """ + pass + + def test_read_pod_security_policy(self): + """Test case for read_pod_security_policy + + """ + pass + + def test_replace_namespaced_pod_disruption_budget(self): + """Test case for replace_namespaced_pod_disruption_budget + + """ + pass + + def test_replace_namespaced_pod_disruption_budget_status(self): + """Test case for replace_namespaced_pod_disruption_budget_status + + """ + pass + + def test_replace_pod_security_policy(self): + """Test case for replace_pod_security_policy + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py new file mode 100644 index 0000000000..aa62b6ceb1 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_fs_group_strategy_options import PolicyV1beta1FSGroupStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1FSGroupStrategyOptions(unittest.TestCase): + """PolicyV1beta1FSGroupStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1FSGroupStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_fs_group_strategy_options.PolicyV1beta1FSGroupStrategyOptions() # noqa: E501 + if include_optional : + return PolicyV1beta1FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0' + ) + else : + return PolicyV1beta1FSGroupStrategyOptions( + ) + + def testPolicyV1beta1FSGroupStrategyOptions(self): + """Test PolicyV1beta1FSGroupStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_host_port_range.py b/kubernetes/test/test_policy_v1beta1_host_port_range.py new file mode 100644 index 0000000000..7bcb864fca --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_host_port_range.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_host_port_range import PolicyV1beta1HostPortRange # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1HostPortRange(unittest.TestCase): + """PolicyV1beta1HostPortRange unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1HostPortRange + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_host_port_range.PolicyV1beta1HostPortRange() # noqa: E501 + if include_optional : + return PolicyV1beta1HostPortRange( + max = 56, + min = 56 + ) + else : + return PolicyV1beta1HostPortRange( + max = 56, + min = 56, + ) + + def testPolicyV1beta1HostPortRange(self): + """Test PolicyV1beta1HostPortRange""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_id_range.py b/kubernetes/test/test_policy_v1beta1_id_range.py new file mode 100644 index 0000000000..8488083c43 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_id_range.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_id_range import PolicyV1beta1IDRange # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1IDRange(unittest.TestCase): + """PolicyV1beta1IDRange unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1IDRange + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_id_range.PolicyV1beta1IDRange() # noqa: E501 + if include_optional : + return PolicyV1beta1IDRange( + max = 56, + min = 56 + ) + else : + return PolicyV1beta1IDRange( + max = 56, + min = 56, + ) + + def testPolicyV1beta1IDRange(self): + """Test PolicyV1beta1IDRange""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy.py new file mode 100644 index 0000000000..02917514d8 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_pod_security_policy import PolicyV1beta1PodSecurityPolicy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1PodSecurityPolicy(unittest.TestCase): + """PolicyV1beta1PodSecurityPolicy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1PodSecurityPolicy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_pod_security_policy.PolicyV1beta1PodSecurityPolicy() # noqa: E501 + if include_optional : + return PolicyV1beta1PodSecurityPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( + allow_privilege_escalation = True, + allowed_csi_drivers = [ + kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( + name = '0', ) + ], + allowed_capabilities = [ + '0' + ], + allowed_flex_volumes = [ + kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( + driver = '0', ) + ], + allowed_host_paths = [ + kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( + path_prefix = '0', + read_only = True, ) + ], + allowed_proc_mount_types = [ + '0' + ], + allowed_unsafe_sysctls = [ + '0' + ], + default_add_capabilities = [ + '0' + ], + default_allow_privilege_escalation = True, + forbidden_sysctls = [ + '0' + ], + fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + host_ipc = True, + host_network = True, + host_pid = True, + host_ports = [ + kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( + max = 56, + min = 56, ) + ], + privileged = True, + read_only_root_filesystem = True, + required_drop_capabilities = [ + '0' + ], + run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( + rule = '0', ), + run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( + rule = '0', ), + runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0', ), + se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( + rule = '0', ), + volumes = [ + '0' + ], ) + ) + else : + return PolicyV1beta1PodSecurityPolicy( + ) + + def testPolicyV1beta1PodSecurityPolicy(self): + """Test PolicyV1beta1PodSecurityPolicy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py new file mode 100644 index 0000000000..6c26408ea6 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py @@ -0,0 +1,290 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_pod_security_policy_list import PolicyV1beta1PodSecurityPolicyList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1PodSecurityPolicyList(unittest.TestCase): + """PolicyV1beta1PodSecurityPolicyList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1PodSecurityPolicyList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_pod_security_policy_list.PolicyV1beta1PodSecurityPolicyList() # noqa: E501 + if include_optional : + return PolicyV1beta1PodSecurityPolicyList( + api_version = '0', + items = [ + kubernetes.client.models.policy/v1beta1/pod_security_policy.policy.v1beta1.PodSecurityPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( + allow_privilege_escalation = True, + allowed_csi_drivers = [ + kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( + name = '0', ) + ], + allowed_capabilities = [ + '0' + ], + allowed_flex_volumes = [ + kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( + driver = '0', ) + ], + allowed_host_paths = [ + kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( + path_prefix = '0', + read_only = True, ) + ], + allowed_proc_mount_types = [ + '0' + ], + allowed_unsafe_sysctls = [ + '0' + ], + default_add_capabilities = [ + '0' + ], + default_allow_privilege_escalation = True, + forbidden_sysctls = [ + '0' + ], + fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + host_ipc = True, + host_network = True, + host_pid = True, + host_ports = [ + kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( + max = 56, + min = 56, ) + ], + privileged = True, + read_only_root_filesystem = True, + required_drop_capabilities = [ + '0' + ], + run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( + rule = '0', ), + run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( + rule = '0', ), + runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0', ), + se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( + rule = '0', ), + volumes = [ + '0' + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return PolicyV1beta1PodSecurityPolicyList( + items = [ + kubernetes.client.models.policy/v1beta1/pod_security_policy.policy.v1beta1.PodSecurityPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( + allow_privilege_escalation = True, + allowed_csi_drivers = [ + kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( + name = '0', ) + ], + allowed_capabilities = [ + '0' + ], + allowed_flex_volumes = [ + kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( + driver = '0', ) + ], + allowed_host_paths = [ + kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( + path_prefix = '0', + read_only = True, ) + ], + allowed_proc_mount_types = [ + '0' + ], + allowed_unsafe_sysctls = [ + '0' + ], + default_add_capabilities = [ + '0' + ], + default_allow_privilege_escalation = True, + forbidden_sysctls = [ + '0' + ], + fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + host_ipc = True, + host_network = True, + host_pid = True, + host_ports = [ + kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( + max = 56, + min = 56, ) + ], + privileged = True, + read_only_root_filesystem = True, + required_drop_capabilities = [ + '0' + ], + run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( + rule = '0', ), + run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( + rule = '0', ), + runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0', ), + se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( + rule = '0', ), + volumes = [ + '0' + ], ), ) + ], + ) + + def testPolicyV1beta1PodSecurityPolicyList(self): + """Test PolicyV1beta1PodSecurityPolicyList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py new file mode 100644 index 0000000000..fdec25b323 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py @@ -0,0 +1,165 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_pod_security_policy_spec import PolicyV1beta1PodSecurityPolicySpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1PodSecurityPolicySpec(unittest.TestCase): + """PolicyV1beta1PodSecurityPolicySpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1PodSecurityPolicySpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_pod_security_policy_spec.PolicyV1beta1PodSecurityPolicySpec() # noqa: E501 + if include_optional : + return PolicyV1beta1PodSecurityPolicySpec( + allow_privilege_escalation = True, + allowed_csi_drivers = [ + kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( + name = '0', ) + ], + allowed_capabilities = [ + '0' + ], + allowed_flex_volumes = [ + kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( + driver = '0', ) + ], + allowed_host_paths = [ + kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( + path_prefix = '0', + read_only = True, ) + ], + allowed_proc_mount_types = [ + '0' + ], + allowed_unsafe_sysctls = [ + '0' + ], + default_add_capabilities = [ + '0' + ], + default_allow_privilege_escalation = True, + forbidden_sysctls = [ + '0' + ], + fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + host_ipc = True, + host_network = True, + host_pid = True, + host_ports = [ + kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( + max = 56, + min = 56, ) + ], + privileged = True, + read_only_root_filesystem = True, + required_drop_capabilities = [ + '0' + ], + run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0', ), + se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + volumes = [ + '0' + ] + ) + else : + return PolicyV1beta1PodSecurityPolicySpec( + fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), ), + supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0', ), + ) + + def testPolicyV1beta1PodSecurityPolicySpec(self): + """Test PolicyV1beta1PodSecurityPolicySpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py b/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py new file mode 100644 index 0000000000..709d48626a --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_run_as_group_strategy_options import PolicyV1beta1RunAsGroupStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1RunAsGroupStrategyOptions(unittest.TestCase): + """PolicyV1beta1RunAsGroupStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1RunAsGroupStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_run_as_group_strategy_options.PolicyV1beta1RunAsGroupStrategyOptions() # noqa: E501 + if include_optional : + return PolicyV1beta1RunAsGroupStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0' + ) + else : + return PolicyV1beta1RunAsGroupStrategyOptions( + rule = '0', + ) + + def testPolicyV1beta1RunAsGroupStrategyOptions(self): + """Test PolicyV1beta1RunAsGroupStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py b/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py new file mode 100644 index 0000000000..92c14a8ba3 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_run_as_user_strategy_options import PolicyV1beta1RunAsUserStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1RunAsUserStrategyOptions(unittest.TestCase): + """PolicyV1beta1RunAsUserStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1RunAsUserStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_run_as_user_strategy_options.PolicyV1beta1RunAsUserStrategyOptions() # noqa: E501 + if include_optional : + return PolicyV1beta1RunAsUserStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0' + ) + else : + return PolicyV1beta1RunAsUserStrategyOptions( + rule = '0', + ) + + def testPolicyV1beta1RunAsUserStrategyOptions(self): + """Test PolicyV1beta1RunAsUserStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py b/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py new file mode 100644 index 0000000000..710f0056b8 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_runtime_class_strategy_options import PolicyV1beta1RuntimeClassStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1RuntimeClassStrategyOptions(unittest.TestCase): + """PolicyV1beta1RuntimeClassStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1RuntimeClassStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_runtime_class_strategy_options.PolicyV1beta1RuntimeClassStrategyOptions() # noqa: E501 + if include_optional : + return PolicyV1beta1RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + default_runtime_class_name = '0' + ) + else : + return PolicyV1beta1RuntimeClassStrategyOptions( + allowed_runtime_class_names = [ + '0' + ], + ) + + def testPolicyV1beta1RuntimeClassStrategyOptions(self): + """Test PolicyV1beta1RuntimeClassStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py new file mode 100644 index 0000000000..3c6594cd59 --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_se_linux_strategy_options import PolicyV1beta1SELinuxStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1SELinuxStrategyOptions(unittest.TestCase): + """PolicyV1beta1SELinuxStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1SELinuxStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_se_linux_strategy_options.PolicyV1beta1SELinuxStrategyOptions() # noqa: E501 + if include_optional : + return PolicyV1beta1SELinuxStrategyOptions( + rule = '0', + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ) + ) + else : + return PolicyV1beta1SELinuxStrategyOptions( + rule = '0', + ) + + def testPolicyV1beta1SELinuxStrategyOptions(self): + """Test PolicyV1beta1SELinuxStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py new file mode 100644 index 0000000000..af762d5afb --- /dev/null +++ b/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.policy_v1beta1_supplemental_groups_strategy_options import PolicyV1beta1SupplementalGroupsStrategyOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestPolicyV1beta1SupplementalGroupsStrategyOptions(unittest.TestCase): + """PolicyV1beta1SupplementalGroupsStrategyOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test PolicyV1beta1SupplementalGroupsStrategyOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.policy_v1beta1_supplemental_groups_strategy_options.PolicyV1beta1SupplementalGroupsStrategyOptions() # noqa: E501 + if include_optional : + return PolicyV1beta1SupplementalGroupsStrategyOptions( + ranges = [ + kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( + max = 56, + min = 56, ) + ], + rule = '0' + ) + else : + return PolicyV1beta1SupplementalGroupsStrategyOptions( + ) + + def testPolicyV1beta1SupplementalGroupsStrategyOptions(self): + """Test PolicyV1beta1SupplementalGroupsStrategyOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_api.py b/kubernetes/test/test_rbac_authorization_api.py new file mode 100644 index 0000000000..0a78e86327 --- /dev/null +++ b/kubernetes/test/test_rbac_authorization_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.rbac_authorization_api import RbacAuthorizationApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestRbacAuthorizationApi(unittest.TestCase): + """RbacAuthorizationApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.rbac_authorization_api.RbacAuthorizationApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_v1_api.py b/kubernetes/test/test_rbac_authorization_v1_api.py new file mode 100644 index 0000000000..88e79638f0 --- /dev/null +++ b/kubernetes/test/test_rbac_authorization_v1_api.py @@ -0,0 +1,219 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestRbacAuthorizationV1Api(unittest.TestCase): + """RbacAuthorizationV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.rbac_authorization_v1_api.RbacAuthorizationV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_cluster_role(self): + """Test case for create_cluster_role + + """ + pass + + def test_create_cluster_role_binding(self): + """Test case for create_cluster_role_binding + + """ + pass + + def test_create_namespaced_role(self): + """Test case for create_namespaced_role + + """ + pass + + def test_create_namespaced_role_binding(self): + """Test case for create_namespaced_role_binding + + """ + pass + + def test_delete_cluster_role(self): + """Test case for delete_cluster_role + + """ + pass + + def test_delete_cluster_role_binding(self): + """Test case for delete_cluster_role_binding + + """ + pass + + def test_delete_collection_cluster_role(self): + """Test case for delete_collection_cluster_role + + """ + pass + + def test_delete_collection_cluster_role_binding(self): + """Test case for delete_collection_cluster_role_binding + + """ + pass + + def test_delete_collection_namespaced_role(self): + """Test case for delete_collection_namespaced_role + + """ + pass + + def test_delete_collection_namespaced_role_binding(self): + """Test case for delete_collection_namespaced_role_binding + + """ + pass + + def test_delete_namespaced_role(self): + """Test case for delete_namespaced_role + + """ + pass + + def test_delete_namespaced_role_binding(self): + """Test case for delete_namespaced_role_binding + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_cluster_role(self): + """Test case for list_cluster_role + + """ + pass + + def test_list_cluster_role_binding(self): + """Test case for list_cluster_role_binding + + """ + pass + + def test_list_namespaced_role(self): + """Test case for list_namespaced_role + + """ + pass + + def test_list_namespaced_role_binding(self): + """Test case for list_namespaced_role_binding + + """ + pass + + def test_list_role_binding_for_all_namespaces(self): + """Test case for list_role_binding_for_all_namespaces + + """ + pass + + def test_list_role_for_all_namespaces(self): + """Test case for list_role_for_all_namespaces + + """ + pass + + def test_patch_cluster_role(self): + """Test case for patch_cluster_role + + """ + pass + + def test_patch_cluster_role_binding(self): + """Test case for patch_cluster_role_binding + + """ + pass + + def test_patch_namespaced_role(self): + """Test case for patch_namespaced_role + + """ + pass + + def test_patch_namespaced_role_binding(self): + """Test case for patch_namespaced_role_binding + + """ + pass + + def test_read_cluster_role(self): + """Test case for read_cluster_role + + """ + pass + + def test_read_cluster_role_binding(self): + """Test case for read_cluster_role_binding + + """ + pass + + def test_read_namespaced_role(self): + """Test case for read_namespaced_role + + """ + pass + + def test_read_namespaced_role_binding(self): + """Test case for read_namespaced_role_binding + + """ + pass + + def test_replace_cluster_role(self): + """Test case for replace_cluster_role + + """ + pass + + def test_replace_cluster_role_binding(self): + """Test case for replace_cluster_role_binding + + """ + pass + + def test_replace_namespaced_role(self): + """Test case for replace_namespaced_role + + """ + pass + + def test_replace_namespaced_role_binding(self): + """Test case for replace_namespaced_role_binding + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py new file mode 100644 index 0000000000..a405799c2a --- /dev/null +++ b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py @@ -0,0 +1,219 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.rbac_authorization_v1alpha1_api import RbacAuthorizationV1alpha1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestRbacAuthorizationV1alpha1Api(unittest.TestCase): + """RbacAuthorizationV1alpha1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.rbac_authorization_v1alpha1_api.RbacAuthorizationV1alpha1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_cluster_role(self): + """Test case for create_cluster_role + + """ + pass + + def test_create_cluster_role_binding(self): + """Test case for create_cluster_role_binding + + """ + pass + + def test_create_namespaced_role(self): + """Test case for create_namespaced_role + + """ + pass + + def test_create_namespaced_role_binding(self): + """Test case for create_namespaced_role_binding + + """ + pass + + def test_delete_cluster_role(self): + """Test case for delete_cluster_role + + """ + pass + + def test_delete_cluster_role_binding(self): + """Test case for delete_cluster_role_binding + + """ + pass + + def test_delete_collection_cluster_role(self): + """Test case for delete_collection_cluster_role + + """ + pass + + def test_delete_collection_cluster_role_binding(self): + """Test case for delete_collection_cluster_role_binding + + """ + pass + + def test_delete_collection_namespaced_role(self): + """Test case for delete_collection_namespaced_role + + """ + pass + + def test_delete_collection_namespaced_role_binding(self): + """Test case for delete_collection_namespaced_role_binding + + """ + pass + + def test_delete_namespaced_role(self): + """Test case for delete_namespaced_role + + """ + pass + + def test_delete_namespaced_role_binding(self): + """Test case for delete_namespaced_role_binding + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_cluster_role(self): + """Test case for list_cluster_role + + """ + pass + + def test_list_cluster_role_binding(self): + """Test case for list_cluster_role_binding + + """ + pass + + def test_list_namespaced_role(self): + """Test case for list_namespaced_role + + """ + pass + + def test_list_namespaced_role_binding(self): + """Test case for list_namespaced_role_binding + + """ + pass + + def test_list_role_binding_for_all_namespaces(self): + """Test case for list_role_binding_for_all_namespaces + + """ + pass + + def test_list_role_for_all_namespaces(self): + """Test case for list_role_for_all_namespaces + + """ + pass + + def test_patch_cluster_role(self): + """Test case for patch_cluster_role + + """ + pass + + def test_patch_cluster_role_binding(self): + """Test case for patch_cluster_role_binding + + """ + pass + + def test_patch_namespaced_role(self): + """Test case for patch_namespaced_role + + """ + pass + + def test_patch_namespaced_role_binding(self): + """Test case for patch_namespaced_role_binding + + """ + pass + + def test_read_cluster_role(self): + """Test case for read_cluster_role + + """ + pass + + def test_read_cluster_role_binding(self): + """Test case for read_cluster_role_binding + + """ + pass + + def test_read_namespaced_role(self): + """Test case for read_namespaced_role + + """ + pass + + def test_read_namespaced_role_binding(self): + """Test case for read_namespaced_role_binding + + """ + pass + + def test_replace_cluster_role(self): + """Test case for replace_cluster_role + + """ + pass + + def test_replace_cluster_role_binding(self): + """Test case for replace_cluster_role_binding + + """ + pass + + def test_replace_namespaced_role(self): + """Test case for replace_namespaced_role + + """ + pass + + def test_replace_namespaced_role_binding(self): + """Test case for replace_namespaced_role_binding + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_v1beta1_api.py b/kubernetes/test/test_rbac_authorization_v1beta1_api.py new file mode 100644 index 0000000000..4e2c15cadd --- /dev/null +++ b/kubernetes/test/test_rbac_authorization_v1beta1_api.py @@ -0,0 +1,219 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.rbac_authorization_v1beta1_api import RbacAuthorizationV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestRbacAuthorizationV1beta1Api(unittest.TestCase): + """RbacAuthorizationV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.rbac_authorization_v1beta1_api.RbacAuthorizationV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_cluster_role(self): + """Test case for create_cluster_role + + """ + pass + + def test_create_cluster_role_binding(self): + """Test case for create_cluster_role_binding + + """ + pass + + def test_create_namespaced_role(self): + """Test case for create_namespaced_role + + """ + pass + + def test_create_namespaced_role_binding(self): + """Test case for create_namespaced_role_binding + + """ + pass + + def test_delete_cluster_role(self): + """Test case for delete_cluster_role + + """ + pass + + def test_delete_cluster_role_binding(self): + """Test case for delete_cluster_role_binding + + """ + pass + + def test_delete_collection_cluster_role(self): + """Test case for delete_collection_cluster_role + + """ + pass + + def test_delete_collection_cluster_role_binding(self): + """Test case for delete_collection_cluster_role_binding + + """ + pass + + def test_delete_collection_namespaced_role(self): + """Test case for delete_collection_namespaced_role + + """ + pass + + def test_delete_collection_namespaced_role_binding(self): + """Test case for delete_collection_namespaced_role_binding + + """ + pass + + def test_delete_namespaced_role(self): + """Test case for delete_namespaced_role + + """ + pass + + def test_delete_namespaced_role_binding(self): + """Test case for delete_namespaced_role_binding + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_cluster_role(self): + """Test case for list_cluster_role + + """ + pass + + def test_list_cluster_role_binding(self): + """Test case for list_cluster_role_binding + + """ + pass + + def test_list_namespaced_role(self): + """Test case for list_namespaced_role + + """ + pass + + def test_list_namespaced_role_binding(self): + """Test case for list_namespaced_role_binding + + """ + pass + + def test_list_role_binding_for_all_namespaces(self): + """Test case for list_role_binding_for_all_namespaces + + """ + pass + + def test_list_role_for_all_namespaces(self): + """Test case for list_role_for_all_namespaces + + """ + pass + + def test_patch_cluster_role(self): + """Test case for patch_cluster_role + + """ + pass + + def test_patch_cluster_role_binding(self): + """Test case for patch_cluster_role_binding + + """ + pass + + def test_patch_namespaced_role(self): + """Test case for patch_namespaced_role + + """ + pass + + def test_patch_namespaced_role_binding(self): + """Test case for patch_namespaced_role_binding + + """ + pass + + def test_read_cluster_role(self): + """Test case for read_cluster_role + + """ + pass + + def test_read_cluster_role_binding(self): + """Test case for read_cluster_role_binding + + """ + pass + + def test_read_namespaced_role(self): + """Test case for read_namespaced_role + + """ + pass + + def test_read_namespaced_role_binding(self): + """Test case for read_namespaced_role_binding + + """ + pass + + def test_replace_cluster_role(self): + """Test case for replace_cluster_role + + """ + pass + + def test_replace_cluster_role_binding(self): + """Test case for replace_cluster_role_binding + + """ + pass + + def test_replace_namespaced_role(self): + """Test case for replace_namespaced_role + + """ + pass + + def test_replace_namespaced_role_binding(self): + """Test case for replace_namespaced_role_binding + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_rbac_v1alpha1_subject.py b/kubernetes/test/test_rbac_v1alpha1_subject.py new file mode 100644 index 0000000000..f468332e2e --- /dev/null +++ b/kubernetes/test/test_rbac_v1alpha1_subject.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.rbac_v1alpha1_subject import RbacV1alpha1Subject # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestRbacV1alpha1Subject(unittest.TestCase): + """RbacV1alpha1Subject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test RbacV1alpha1Subject + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.rbac_v1alpha1_subject.RbacV1alpha1Subject() # noqa: E501 + if include_optional : + return RbacV1alpha1Subject( + api_version = '0', + kind = '0', + name = '0', + namespace = '0' + ) + else : + return RbacV1alpha1Subject( + kind = '0', + name = '0', + ) + + def testRbacV1alpha1Subject(self): + """Test RbacV1alpha1Subject""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_scheduling_api.py b/kubernetes/test/test_scheduling_api.py new file mode 100644 index 0000000000..135ef0902f --- /dev/null +++ b/kubernetes/test/test_scheduling_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.scheduling_api import SchedulingApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestSchedulingApi(unittest.TestCase): + """SchedulingApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.scheduling_api.SchedulingApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_scheduling_v1_api.py b/kubernetes/test/test_scheduling_v1_api.py new file mode 100644 index 0000000000..6c6a9680cd --- /dev/null +++ b/kubernetes/test/test_scheduling_v1_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.scheduling_v1_api import SchedulingV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestSchedulingV1Api(unittest.TestCase): + """SchedulingV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.scheduling_v1_api.SchedulingV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_priority_class(self): + """Test case for create_priority_class + + """ + pass + + def test_delete_collection_priority_class(self): + """Test case for delete_collection_priority_class + + """ + pass + + def test_delete_priority_class(self): + """Test case for delete_priority_class + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_priority_class(self): + """Test case for list_priority_class + + """ + pass + + def test_patch_priority_class(self): + """Test case for patch_priority_class + + """ + pass + + def test_read_priority_class(self): + """Test case for read_priority_class + + """ + pass + + def test_replace_priority_class(self): + """Test case for replace_priority_class + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_scheduling_v1alpha1_api.py b/kubernetes/test/test_scheduling_v1alpha1_api.py new file mode 100644 index 0000000000..d1e429039e --- /dev/null +++ b/kubernetes/test/test_scheduling_v1alpha1_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.scheduling_v1alpha1_api import SchedulingV1alpha1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestSchedulingV1alpha1Api(unittest.TestCase): + """SchedulingV1alpha1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.scheduling_v1alpha1_api.SchedulingV1alpha1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_priority_class(self): + """Test case for create_priority_class + + """ + pass + + def test_delete_collection_priority_class(self): + """Test case for delete_collection_priority_class + + """ + pass + + def test_delete_priority_class(self): + """Test case for delete_priority_class + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_priority_class(self): + """Test case for list_priority_class + + """ + pass + + def test_patch_priority_class(self): + """Test case for patch_priority_class + + """ + pass + + def test_read_priority_class(self): + """Test case for read_priority_class + + """ + pass + + def test_replace_priority_class(self): + """Test case for replace_priority_class + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_scheduling_v1beta1_api.py b/kubernetes/test/test_scheduling_v1beta1_api.py new file mode 100644 index 0000000000..03539e83f7 --- /dev/null +++ b/kubernetes/test/test_scheduling_v1beta1_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.scheduling_v1beta1_api import SchedulingV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestSchedulingV1beta1Api(unittest.TestCase): + """SchedulingV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.scheduling_v1beta1_api.SchedulingV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_priority_class(self): + """Test case for create_priority_class + + """ + pass + + def test_delete_collection_priority_class(self): + """Test case for delete_collection_priority_class + + """ + pass + + def test_delete_priority_class(self): + """Test case for delete_priority_class + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_priority_class(self): + """Test case for list_priority_class + + """ + pass + + def test_patch_priority_class(self): + """Test case for patch_priority_class + + """ + pass + + def test_read_priority_class(self): + """Test case for read_priority_class + + """ + pass + + def test_replace_priority_class(self): + """Test case for replace_priority_class + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_settings_api.py b/kubernetes/test/test_settings_api.py new file mode 100644 index 0000000000..ba1ab948da --- /dev/null +++ b/kubernetes/test/test_settings_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.settings_api import SettingsApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestSettingsApi(unittest.TestCase): + """SettingsApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.settings_api.SettingsApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_settings_v1alpha1_api.py b/kubernetes/test/test_settings_v1alpha1_api.py new file mode 100644 index 0000000000..44db5a640c --- /dev/null +++ b/kubernetes/test/test_settings_v1alpha1_api.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.settings_v1alpha1_api import SettingsV1alpha1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestSettingsV1alpha1Api(unittest.TestCase): + """SettingsV1alpha1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.settings_v1alpha1_api.SettingsV1alpha1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_namespaced_pod_preset(self): + """Test case for create_namespaced_pod_preset + + """ + pass + + def test_delete_collection_namespaced_pod_preset(self): + """Test case for delete_collection_namespaced_pod_preset + + """ + pass + + def test_delete_namespaced_pod_preset(self): + """Test case for delete_namespaced_pod_preset + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_namespaced_pod_preset(self): + """Test case for list_namespaced_pod_preset + + """ + pass + + def test_list_pod_preset_for_all_namespaces(self): + """Test case for list_pod_preset_for_all_namespaces + + """ + pass + + def test_patch_namespaced_pod_preset(self): + """Test case for patch_namespaced_pod_preset + + """ + pass + + def test_read_namespaced_pod_preset(self): + """Test case for read_namespaced_pod_preset + + """ + pass + + def test_replace_namespaced_pod_preset(self): + """Test case for replace_namespaced_pod_preset + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_storage_api.py b/kubernetes/test/test_storage_api.py new file mode 100644 index 0000000000..23e6fa894c --- /dev/null +++ b/kubernetes/test/test_storage_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.storage_api import StorageApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestStorageApi(unittest.TestCase): + """StorageApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.storage_api.StorageApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_api_group(self): + """Test case for get_api_group + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_storage_v1_api.py b/kubernetes/test/test_storage_v1_api.py new file mode 100644 index 0000000000..916c89e52b --- /dev/null +++ b/kubernetes/test/test_storage_v1_api.py @@ -0,0 +1,183 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.storage_v1_api import StorageV1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestStorageV1Api(unittest.TestCase): + """StorageV1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.storage_v1_api.StorageV1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_csi_node(self): + """Test case for create_csi_node + + """ + pass + + def test_create_storage_class(self): + """Test case for create_storage_class + + """ + pass + + def test_create_volume_attachment(self): + """Test case for create_volume_attachment + + """ + pass + + def test_delete_collection_csi_node(self): + """Test case for delete_collection_csi_node + + """ + pass + + def test_delete_collection_storage_class(self): + """Test case for delete_collection_storage_class + + """ + pass + + def test_delete_collection_volume_attachment(self): + """Test case for delete_collection_volume_attachment + + """ + pass + + def test_delete_csi_node(self): + """Test case for delete_csi_node + + """ + pass + + def test_delete_storage_class(self): + """Test case for delete_storage_class + + """ + pass + + def test_delete_volume_attachment(self): + """Test case for delete_volume_attachment + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_csi_node(self): + """Test case for list_csi_node + + """ + pass + + def test_list_storage_class(self): + """Test case for list_storage_class + + """ + pass + + def test_list_volume_attachment(self): + """Test case for list_volume_attachment + + """ + pass + + def test_patch_csi_node(self): + """Test case for patch_csi_node + + """ + pass + + def test_patch_storage_class(self): + """Test case for patch_storage_class + + """ + pass + + def test_patch_volume_attachment(self): + """Test case for patch_volume_attachment + + """ + pass + + def test_patch_volume_attachment_status(self): + """Test case for patch_volume_attachment_status + + """ + pass + + def test_read_csi_node(self): + """Test case for read_csi_node + + """ + pass + + def test_read_storage_class(self): + """Test case for read_storage_class + + """ + pass + + def test_read_volume_attachment(self): + """Test case for read_volume_attachment + + """ + pass + + def test_read_volume_attachment_status(self): + """Test case for read_volume_attachment_status + + """ + pass + + def test_replace_csi_node(self): + """Test case for replace_csi_node + + """ + pass + + def test_replace_storage_class(self): + """Test case for replace_storage_class + + """ + pass + + def test_replace_volume_attachment(self): + """Test case for replace_volume_attachment + + """ + pass + + def test_replace_volume_attachment_status(self): + """Test case for replace_volume_attachment_status + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_storage_v1alpha1_api.py b/kubernetes/test/test_storage_v1alpha1_api.py new file mode 100644 index 0000000000..76cffc3134 --- /dev/null +++ b/kubernetes/test/test_storage_v1alpha1_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.storage_v1alpha1_api import StorageV1alpha1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestStorageV1alpha1Api(unittest.TestCase): + """StorageV1alpha1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.storage_v1alpha1_api.StorageV1alpha1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_volume_attachment(self): + """Test case for create_volume_attachment + + """ + pass + + def test_delete_collection_volume_attachment(self): + """Test case for delete_collection_volume_attachment + + """ + pass + + def test_delete_volume_attachment(self): + """Test case for delete_volume_attachment + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_volume_attachment(self): + """Test case for list_volume_attachment + + """ + pass + + def test_patch_volume_attachment(self): + """Test case for patch_volume_attachment + + """ + pass + + def test_read_volume_attachment(self): + """Test case for read_volume_attachment + + """ + pass + + def test_replace_volume_attachment(self): + """Test case for replace_volume_attachment + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_storage_v1beta1_api.py b/kubernetes/test/test_storage_v1beta1_api.py new file mode 100644 index 0000000000..acbccc3b4b --- /dev/null +++ b/kubernetes/test/test_storage_v1beta1_api.py @@ -0,0 +1,207 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.storage_v1beta1_api import StorageV1beta1Api # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestStorageV1beta1Api(unittest.TestCase): + """StorageV1beta1Api unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.storage_v1beta1_api.StorageV1beta1Api() # noqa: E501 + + def tearDown(self): + pass + + def test_create_csi_driver(self): + """Test case for create_csi_driver + + """ + pass + + def test_create_csi_node(self): + """Test case for create_csi_node + + """ + pass + + def test_create_storage_class(self): + """Test case for create_storage_class + + """ + pass + + def test_create_volume_attachment(self): + """Test case for create_volume_attachment + + """ + pass + + def test_delete_collection_csi_driver(self): + """Test case for delete_collection_csi_driver + + """ + pass + + def test_delete_collection_csi_node(self): + """Test case for delete_collection_csi_node + + """ + pass + + def test_delete_collection_storage_class(self): + """Test case for delete_collection_storage_class + + """ + pass + + def test_delete_collection_volume_attachment(self): + """Test case for delete_collection_volume_attachment + + """ + pass + + def test_delete_csi_driver(self): + """Test case for delete_csi_driver + + """ + pass + + def test_delete_csi_node(self): + """Test case for delete_csi_node + + """ + pass + + def test_delete_storage_class(self): + """Test case for delete_storage_class + + """ + pass + + def test_delete_volume_attachment(self): + """Test case for delete_volume_attachment + + """ + pass + + def test_get_api_resources(self): + """Test case for get_api_resources + + """ + pass + + def test_list_csi_driver(self): + """Test case for list_csi_driver + + """ + pass + + def test_list_csi_node(self): + """Test case for list_csi_node + + """ + pass + + def test_list_storage_class(self): + """Test case for list_storage_class + + """ + pass + + def test_list_volume_attachment(self): + """Test case for list_volume_attachment + + """ + pass + + def test_patch_csi_driver(self): + """Test case for patch_csi_driver + + """ + pass + + def test_patch_csi_node(self): + """Test case for patch_csi_node + + """ + pass + + def test_patch_storage_class(self): + """Test case for patch_storage_class + + """ + pass + + def test_patch_volume_attachment(self): + """Test case for patch_volume_attachment + + """ + pass + + def test_read_csi_driver(self): + """Test case for read_csi_driver + + """ + pass + + def test_read_csi_node(self): + """Test case for read_csi_node + + """ + pass + + def test_read_storage_class(self): + """Test case for read_storage_class + + """ + pass + + def test_read_volume_attachment(self): + """Test case for read_volume_attachment + + """ + pass + + def test_replace_csi_driver(self): + """Test case for replace_csi_driver + + """ + pass + + def test_replace_csi_node(self): + """Test case for replace_csi_node + + """ + pass + + def test_replace_storage_class(self): + """Test case for replace_storage_class + + """ + pass + + def test_replace_volume_attachment(self): + """Test case for replace_volume_attachment + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_affinity.py b/kubernetes/test/test_v1_affinity.py new file mode 100644 index 0000000000..fabefc8ff4 --- /dev/null +++ b/kubernetes/test/test_v1_affinity.py @@ -0,0 +1,126 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_affinity import V1Affinity # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Affinity(unittest.TestCase): + """V1Affinity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Affinity + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_affinity.V1Affinity() # noqa: E501 + if include_optional : + return V1Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( + pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0', ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + topology_key = '0', ) + ], ), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( + pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0', ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + topology_key = '0', ) + ], ) + ) + else : + return V1Affinity( + ) + + def testV1Affinity(self): + """Test V1Affinity""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_aggregation_rule.py b/kubernetes/test/test_v1_aggregation_rule.py new file mode 100644 index 0000000000..41cb452cca --- /dev/null +++ b/kubernetes/test/test_v1_aggregation_rule.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_aggregation_rule import V1AggregationRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1AggregationRule(unittest.TestCase): + """V1AggregationRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1AggregationRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_aggregation_rule.V1AggregationRule() # noqa: E501 + if include_optional : + return V1AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ] + ) + else : + return V1AggregationRule( + ) + + def testV1AggregationRule(self): + """Test V1AggregationRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_group.py b/kubernetes/test/test_v1_api_group.py new file mode 100644 index 0000000000..0196c56051 --- /dev/null +++ b/kubernetes/test/test_v1_api_group.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_group import V1APIGroup # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIGroup(unittest.TestCase): + """V1APIGroup unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIGroup + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_group.V1APIGroup() # noqa: E501 + if include_optional : + return V1APIGroup( + api_version = '0', + kind = '0', + name = '0', + preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( + group_version = '0', + version = '0', ), + server_address_by_client_cid_rs = [ + kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( + kubernetes.client_cidr = '0', + server_address = '0', ) + ], + versions = [ + kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( + group_version = '0', + version = '0', ) + ] + ) + else : + return V1APIGroup( + name = '0', + versions = [ + kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( + group_version = '0', + version = '0', ) + ], + ) + + def testV1APIGroup(self): + """Test V1APIGroup""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_group_list.py b/kubernetes/test/test_v1_api_group_list.py new file mode 100644 index 0000000000..bb716d3371 --- /dev/null +++ b/kubernetes/test/test_v1_api_group_list.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_group_list import V1APIGroupList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIGroupList(unittest.TestCase): + """V1APIGroupList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIGroupList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_group_list.V1APIGroupList() # noqa: E501 + if include_optional : + return V1APIGroupList( + api_version = '0', + groups = [ + kubernetes.client.models.v1/api_group.v1.APIGroup( + api_version = '0', + kind = '0', + name = '0', + preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( + group_version = '0', + version = '0', ), + server_address_by_client_cid_rs = [ + kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( + kubernetes.client_cidr = '0', + server_address = '0', ) + ], + versions = [ + kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( + group_version = '0', + version = '0', ) + ], ) + ], + kind = '0' + ) + else : + return V1APIGroupList( + groups = [ + kubernetes.client.models.v1/api_group.v1.APIGroup( + api_version = '0', + kind = '0', + name = '0', + preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( + group_version = '0', + version = '0', ), + server_address_by_client_cid_rs = [ + kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( + kubernetes.client_cidr = '0', + server_address = '0', ) + ], + versions = [ + kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( + group_version = '0', + version = '0', ) + ], ) + ], + ) + + def testV1APIGroupList(self): + """Test V1APIGroupList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_resource.py b/kubernetes/test/test_v1_api_resource.py new file mode 100644 index 0000000000..15d9a4f059 --- /dev/null +++ b/kubernetes/test/test_v1_api_resource.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_resource import V1APIResource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIResource(unittest.TestCase): + """V1APIResource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIResource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_resource.V1APIResource() # noqa: E501 + if include_optional : + return V1APIResource( + categories = [ + '0' + ], + group = '0', + kind = '0', + name = '0', + namespaced = True, + short_names = [ + '0' + ], + singular_name = '0', + storage_version_hash = '0', + verbs = [ + '0' + ], + version = '0' + ) + else : + return V1APIResource( + kind = '0', + name = '0', + namespaced = True, + singular_name = '0', + verbs = [ + '0' + ], + ) + + def testV1APIResource(self): + """Test V1APIResource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_resource_list.py b/kubernetes/test/test_v1_api_resource_list.py new file mode 100644 index 0000000000..29bfce627f --- /dev/null +++ b/kubernetes/test/test_v1_api_resource_list.py @@ -0,0 +1,93 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_resource_list import V1APIResourceList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIResourceList(unittest.TestCase): + """V1APIResourceList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIResourceList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_resource_list.V1APIResourceList() # noqa: E501 + if include_optional : + return V1APIResourceList( + api_version = '0', + group_version = '0', + kind = '0', + resources = [ + kubernetes.client.models.v1/api_resource.v1.APIResource( + categories = [ + '0' + ], + group = '0', + kind = '0', + name = '0', + namespaced = True, + short_names = [ + '0' + ], + singular_name = '0', + storage_version_hash = '0', + verbs = [ + '0' + ], + version = '0', ) + ] + ) + else : + return V1APIResourceList( + group_version = '0', + resources = [ + kubernetes.client.models.v1/api_resource.v1.APIResource( + categories = [ + '0' + ], + group = '0', + kind = '0', + name = '0', + namespaced = True, + short_names = [ + '0' + ], + singular_name = '0', + storage_version_hash = '0', + verbs = [ + '0' + ], + version = '0', ) + ], + ) + + def testV1APIResourceList(self): + """Test V1APIResourceList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_service.py b/kubernetes/test/test_v1_api_service.py new file mode 100644 index 0000000000..f877d82988 --- /dev/null +++ b/kubernetes/test/test_v1_api_service.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_service import V1APIService # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIService(unittest.TestCase): + """V1APIService unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIService + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_service.V1APIService() # noqa: E501 + if include_optional : + return V1APIService( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( + ca_bundle = 'YQ==', + group = '0', + group_priority_minimum = 56, + insecure_skip_tls_verify = True, + service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version = '0', + version_priority = 56, ), + status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( + conditions = [ + kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], ) + ) + else : + return V1APIService( + ) + + def testV1APIService(self): + """Test V1APIService""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_service_condition.py b/kubernetes/test/test_v1_api_service_condition.py new file mode 100644 index 0000000000..f5526c0d26 --- /dev/null +++ b/kubernetes/test/test_v1_api_service_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_service_condition import V1APIServiceCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIServiceCondition(unittest.TestCase): + """V1APIServiceCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIServiceCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_service_condition.V1APIServiceCondition() # noqa: E501 + if include_optional : + return V1APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1APIServiceCondition( + status = '0', + type = '0', + ) + + def testV1APIServiceCondition(self): + """Test V1APIServiceCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_service_list.py b/kubernetes/test/test_v1_api_service_list.py new file mode 100644 index 0000000000..8b960f4aac --- /dev/null +++ b/kubernetes/test/test_v1_api_service_list.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_service_list import V1APIServiceList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIServiceList(unittest.TestCase): + """V1APIServiceList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIServiceList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_service_list.V1APIServiceList() # noqa: E501 + if include_optional : + return V1APIServiceList( + api_version = '0', + items = [ + kubernetes.client.models.v1/api_service.v1.APIService( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( + ca_bundle = 'YQ==', + group = '0', + group_priority_minimum = 56, + insecure_skip_tls_verify = True, + service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version = '0', + version_priority = 56, ), + status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( + conditions = [ + kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1APIServiceList( + items = [ + kubernetes.client.models.v1/api_service.v1.APIService( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( + ca_bundle = 'YQ==', + group = '0', + group_priority_minimum = 56, + insecure_skip_tls_verify = True, + service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version = '0', + version_priority = 56, ), + status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( + conditions = [ + kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], ), ) + ], + ) + + def testV1APIServiceList(self): + """Test V1APIServiceList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_service_spec.py b/kubernetes/test/test_v1_api_service_spec.py new file mode 100644 index 0000000000..f1831fe435 --- /dev/null +++ b/kubernetes/test/test_v1_api_service_spec.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_service_spec import V1APIServiceSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIServiceSpec(unittest.TestCase): + """V1APIServiceSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIServiceSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_service_spec.V1APIServiceSpec() # noqa: E501 + if include_optional : + return V1APIServiceSpec( + ca_bundle = 'YQ==', + group = '0', + group_priority_minimum = 56, + insecure_skip_tls_verify = True, + service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version = '0', + version_priority = 56 + ) + else : + return V1APIServiceSpec( + group_priority_minimum = 56, + service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version_priority = 56, + ) + + def testV1APIServiceSpec(self): + """Test V1APIServiceSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_service_status.py b/kubernetes/test/test_v1_api_service_status.py new file mode 100644 index 0000000000..64c447b74f --- /dev/null +++ b/kubernetes/test/test_v1_api_service_status.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_service_status import V1APIServiceStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIServiceStatus(unittest.TestCase): + """V1APIServiceStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIServiceStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_service_status.V1APIServiceStatus() # noqa: E501 + if include_optional : + return V1APIServiceStatus( + conditions = [ + kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ] + ) + else : + return V1APIServiceStatus( + ) + + def testV1APIServiceStatus(self): + """Test V1APIServiceStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_api_versions.py b/kubernetes/test/test_v1_api_versions.py new file mode 100644 index 0000000000..5eae4ab586 --- /dev/null +++ b/kubernetes/test/test_v1_api_versions.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_api_versions import V1APIVersions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1APIVersions(unittest.TestCase): + """V1APIVersions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1APIVersions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_api_versions.V1APIVersions() # noqa: E501 + if include_optional : + return V1APIVersions( + api_version = '0', + kind = '0', + server_address_by_client_cid_rs = [ + kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( + kubernetes.client_cidr = '0', + server_address = '0', ) + ], + versions = [ + '0' + ] + ) + else : + return V1APIVersions( + server_address_by_client_cid_rs = [ + kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( + kubernetes.client_cidr = '0', + server_address = '0', ) + ], + versions = [ + '0' + ], + ) + + def testV1APIVersions(self): + """Test V1APIVersions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_attached_volume.py b/kubernetes/test/test_v1_attached_volume.py new file mode 100644 index 0000000000..dda455d88e --- /dev/null +++ b/kubernetes/test/test_v1_attached_volume.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_attached_volume import V1AttachedVolume # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1AttachedVolume(unittest.TestCase): + """V1AttachedVolume unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1AttachedVolume + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_attached_volume.V1AttachedVolume() # noqa: E501 + if include_optional : + return V1AttachedVolume( + device_path = '0', + name = '0' + ) + else : + return V1AttachedVolume( + device_path = '0', + name = '0', + ) + + def testV1AttachedVolume(self): + """Test V1AttachedVolume""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py new file mode 100644 index 0000000000..b9ce3f6c80 --- /dev/null +++ b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1AWSElasticBlockStoreVolumeSource(unittest.TestCase): + """V1AWSElasticBlockStoreVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1AWSElasticBlockStoreVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_aws_elastic_block_store_volume_source.V1AWSElasticBlockStoreVolumeSource() # noqa: E501 + if include_optional : + return V1AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0' + ) + else : + return V1AWSElasticBlockStoreVolumeSource( + volume_id = '0', + ) + + def testV1AWSElasticBlockStoreVolumeSource(self): + """Test V1AWSElasticBlockStoreVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_azure_disk_volume_source.py b/kubernetes/test/test_v1_azure_disk_volume_source.py new file mode 100644 index 0000000000..730bd5b051 --- /dev/null +++ b/kubernetes/test/test_v1_azure_disk_volume_source.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1AzureDiskVolumeSource(unittest.TestCase): + """V1AzureDiskVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1AzureDiskVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_azure_disk_volume_source.V1AzureDiskVolumeSource() # noqa: E501 + if include_optional : + return V1AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True + ) + else : + return V1AzureDiskVolumeSource( + disk_name = '0', + disk_uri = '0', + ) + + def testV1AzureDiskVolumeSource(self): + """Test V1AzureDiskVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py b/kubernetes/test/test_v1_azure_file_persistent_volume_source.py new file mode 100644 index 0000000000..f671cd076f --- /dev/null +++ b/kubernetes/test/test_v1_azure_file_persistent_volume_source.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_azure_file_persistent_volume_source import V1AzureFilePersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1AzureFilePersistentVolumeSource(unittest.TestCase): + """V1AzureFilePersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1AzureFilePersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_azure_file_persistent_volume_source.V1AzureFilePersistentVolumeSource() # noqa: E501 + if include_optional : + return V1AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0' + ) + else : + return V1AzureFilePersistentVolumeSource( + secret_name = '0', + share_name = '0', + ) + + def testV1AzureFilePersistentVolumeSource(self): + """Test V1AzureFilePersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_azure_file_volume_source.py b/kubernetes/test/test_v1_azure_file_volume_source.py new file mode 100644 index 0000000000..e8bbdfc2f0 --- /dev/null +++ b/kubernetes/test/test_v1_azure_file_volume_source.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1AzureFileVolumeSource(unittest.TestCase): + """V1AzureFileVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1AzureFileVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_azure_file_volume_source.V1AzureFileVolumeSource() # noqa: E501 + if include_optional : + return V1AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0' + ) + else : + return V1AzureFileVolumeSource( + secret_name = '0', + share_name = '0', + ) + + def testV1AzureFileVolumeSource(self): + """Test V1AzureFileVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_binding.py b/kubernetes/test/test_v1_binding.py new file mode 100644 index 0000000000..cd9e1cc08a --- /dev/null +++ b/kubernetes/test/test_v1_binding.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_binding import V1Binding # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Binding(unittest.TestCase): + """V1Binding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Binding + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_binding.V1Binding() # noqa: E501 + if include_optional : + return V1Binding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + target = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ) + else : + return V1Binding( + target = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + ) + + def testV1Binding(self): + """Test V1Binding""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_bound_object_reference.py b/kubernetes/test/test_v1_bound_object_reference.py new file mode 100644 index 0000000000..4cbe6e7154 --- /dev/null +++ b/kubernetes/test/test_v1_bound_object_reference.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_bound_object_reference import V1BoundObjectReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1BoundObjectReference(unittest.TestCase): + """V1BoundObjectReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1BoundObjectReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_bound_object_reference.V1BoundObjectReference() # noqa: E501 + if include_optional : + return V1BoundObjectReference( + api_version = '0', + kind = '0', + name = '0', + uid = '0' + ) + else : + return V1BoundObjectReference( + ) + + def testV1BoundObjectReference(self): + """Test V1BoundObjectReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_capabilities.py b/kubernetes/test/test_v1_capabilities.py new file mode 100644 index 0000000000..f7b8b90c03 --- /dev/null +++ b/kubernetes/test/test_v1_capabilities.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_capabilities import V1Capabilities # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Capabilities(unittest.TestCase): + """V1Capabilities unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Capabilities + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_capabilities.V1Capabilities() # noqa: E501 + if include_optional : + return V1Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ] + ) + else : + return V1Capabilities( + ) + + def testV1Capabilities(self): + """Test V1Capabilities""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py b/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py new file mode 100644 index 0000000000..96810d3e19 --- /dev/null +++ b/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CephFSPersistentVolumeSource(unittest.TestCase): + """V1CephFSPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CephFSPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_ceph_fs_persistent_volume_source.V1CephFSPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0' + ) + else : + return V1CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + ) + + def testV1CephFSPersistentVolumeSource(self): + """Test V1CephFSPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_ceph_fs_volume_source.py b/kubernetes/test/test_v1_ceph_fs_volume_source.py new file mode 100644 index 0000000000..f47b75e9b6 --- /dev/null +++ b/kubernetes/test/test_v1_ceph_fs_volume_source.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CephFSVolumeSource(unittest.TestCase): + """V1CephFSVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CephFSVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_ceph_fs_volume_source.V1CephFSVolumeSource() # noqa: E501 + if include_optional : + return V1CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + user = '0' + ) + else : + return V1CephFSVolumeSource( + monitors = [ + '0' + ], + ) + + def testV1CephFSVolumeSource(self): + """Test V1CephFSVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cinder_persistent_volume_source.py b/kubernetes/test/test_v1_cinder_persistent_volume_source.py new file mode 100644 index 0000000000..6fc20b53c4 --- /dev/null +++ b/kubernetes/test/test_v1_cinder_persistent_volume_source.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CinderPersistentVolumeSource(unittest.TestCase): + """V1CinderPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CinderPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_cinder_persistent_volume_source.V1CinderPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + volume_id = '0' + ) + else : + return V1CinderPersistentVolumeSource( + volume_id = '0', + ) + + def testV1CinderPersistentVolumeSource(self): + """Test V1CinderPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cinder_volume_source.py b/kubernetes/test/test_v1_cinder_volume_source.py new file mode 100644 index 0000000000..33f60f440e --- /dev/null +++ b/kubernetes/test/test_v1_cinder_volume_source.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_cinder_volume_source import V1CinderVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CinderVolumeSource(unittest.TestCase): + """V1CinderVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CinderVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_cinder_volume_source.V1CinderVolumeSource() # noqa: E501 + if include_optional : + return V1CinderVolumeSource( + fs_type = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + volume_id = '0' + ) + else : + return V1CinderVolumeSource( + volume_id = '0', + ) + + def testV1CinderVolumeSource(self): + """Test V1CinderVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_client_ip_config.py b/kubernetes/test/test_v1_client_ip_config.py new file mode 100644 index 0000000000..cda6d0b7de --- /dev/null +++ b/kubernetes/test/test_v1_client_ip_config.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_client_ip_config import V1ClientIPConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ClientIPConfig(unittest.TestCase): + """V1ClientIPConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ClientIPConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_client_ip_config.V1ClientIPConfig() # noqa: E501 + if include_optional : + return V1ClientIPConfig( + timeout_seconds = 56 + ) + else : + return V1ClientIPConfig( + ) + + def testV1ClientIPConfig(self): + """Test V1ClientIPConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role.py b/kubernetes/test/test_v1_cluster_role.py new file mode 100644 index 0000000000..376ac90a6f --- /dev/null +++ b/kubernetes/test/test_v1_cluster_role.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_cluster_role import V1ClusterRole # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ClusterRole(unittest.TestCase): + """V1ClusterRole unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ClusterRole + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_cluster_role.V1ClusterRole() # noqa: E501 + if include_optional : + return V1ClusterRole( + aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1/policy_rule.v1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ] + ) + else : + return V1ClusterRole( + ) + + def testV1ClusterRole(self): + """Test V1ClusterRole""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_binding.py b/kubernetes/test/test_v1_cluster_role_binding.py new file mode 100644 index 0000000000..16d34e2377 --- /dev/null +++ b/kubernetes/test/test_v1_cluster_role_binding.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_cluster_role_binding import V1ClusterRoleBinding # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ClusterRoleBinding(unittest.TestCase): + """V1ClusterRoleBinding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ClusterRoleBinding + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_cluster_role_binding.V1ClusterRoleBinding() # noqa: E501 + if include_optional : + return V1ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1/subject.v1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ] + ) + else : + return V1ClusterRoleBinding( + role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + ) + + def testV1ClusterRoleBinding(self): + """Test V1ClusterRoleBinding""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_binding_list.py b/kubernetes/test/test_v1_cluster_role_binding_list.py new file mode 100644 index 0000000000..d52787d106 --- /dev/null +++ b/kubernetes/test/test_v1_cluster_role_binding_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_cluster_role_binding_list import V1ClusterRoleBindingList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ClusterRoleBindingList(unittest.TestCase): + """V1ClusterRoleBindingList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ClusterRoleBindingList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_cluster_role_binding_list.V1ClusterRoleBindingList() # noqa: E501 + if include_optional : + return V1ClusterRoleBindingList( + api_version = '0', + items = [ + kubernetes.client.models.v1/cluster_role_binding.v1.ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1/subject.v1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ClusterRoleBindingList( + items = [ + kubernetes.client.models.v1/cluster_role_binding.v1.ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1/subject.v1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + ) + + def testV1ClusterRoleBindingList(self): + """Test V1ClusterRoleBindingList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_list.py b/kubernetes/test/test_v1_cluster_role_list.py new file mode 100644 index 0000000000..ad0745296e --- /dev/null +++ b/kubernetes/test/test_v1_cluster_role_list.py @@ -0,0 +1,212 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_cluster_role_list import V1ClusterRoleList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ClusterRoleList(unittest.TestCase): + """V1ClusterRoleList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ClusterRoleList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_cluster_role_list.V1ClusterRoleList() # noqa: E501 + if include_optional : + return V1ClusterRoleList( + api_version = '0', + items = [ + kubernetes.client.models.v1/cluster_role.v1.ClusterRole( + aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1/policy_rule.v1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ClusterRoleList( + items = [ + kubernetes.client.models.v1/cluster_role.v1.ClusterRole( + aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1/policy_rule.v1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + ) + + def testV1ClusterRoleList(self): + """Test V1ClusterRoleList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_component_condition.py b/kubernetes/test/test_v1_component_condition.py new file mode 100644 index 0000000000..16a59bbc48 --- /dev/null +++ b/kubernetes/test/test_v1_component_condition.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_component_condition import V1ComponentCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ComponentCondition(unittest.TestCase): + """V1ComponentCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ComponentCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_component_condition.V1ComponentCondition() # noqa: E501 + if include_optional : + return V1ComponentCondition( + error = '0', + message = '0', + status = '0', + type = '0' + ) + else : + return V1ComponentCondition( + status = '0', + type = '0', + ) + + def testV1ComponentCondition(self): + """Test V1ComponentCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_component_status.py b/kubernetes/test/test_v1_component_status.py new file mode 100644 index 0000000000..005595c187 --- /dev/null +++ b/kubernetes/test/test_v1_component_status.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_component_status import V1ComponentStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ComponentStatus(unittest.TestCase): + """V1ComponentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ComponentStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_component_status.V1ComponentStatus() # noqa: E501 + if include_optional : + return V1ComponentStatus( + api_version = '0', + conditions = [ + kubernetes.client.models.v1/component_condition.v1.ComponentCondition( + error = '0', + message = '0', + status = '0', + type = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ) + ) + else : + return V1ComponentStatus( + ) + + def testV1ComponentStatus(self): + """Test V1ComponentStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_component_status_list.py b/kubernetes/test/test_v1_component_status_list.py new file mode 100644 index 0000000000..45ac5faa31 --- /dev/null +++ b/kubernetes/test/test_v1_component_status_list.py @@ -0,0 +1,160 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_component_status_list import V1ComponentStatusList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ComponentStatusList(unittest.TestCase): + """V1ComponentStatusList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ComponentStatusList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_component_status_list.V1ComponentStatusList() # noqa: E501 + if include_optional : + return V1ComponentStatusList( + api_version = '0', + items = [ + kubernetes.client.models.v1/component_status.v1.ComponentStatus( + api_version = '0', + conditions = [ + kubernetes.client.models.v1/component_condition.v1.ComponentCondition( + error = '0', + message = '0', + status = '0', + type = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ComponentStatusList( + items = [ + kubernetes.client.models.v1/component_status.v1.ComponentStatus( + api_version = '0', + conditions = [ + kubernetes.client.models.v1/component_condition.v1.ComponentCondition( + error = '0', + message = '0', + status = '0', + type = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ) + ], + ) + + def testV1ComponentStatusList(self): + """Test V1ComponentStatusList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_config_map.py b/kubernetes/test/test_v1_config_map.py new file mode 100644 index 0000000000..8a6bcc58b3 --- /dev/null +++ b/kubernetes/test/test_v1_config_map.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_config_map import V1ConfigMap # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ConfigMap(unittest.TestCase): + """V1ConfigMap unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ConfigMap + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_config_map.V1ConfigMap() # noqa: E501 + if include_optional : + return V1ConfigMap( + api_version = '0', + binary_data = { + 'key' : 'YQ==' + }, + data = { + 'key' : '0' + }, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ) + ) + else : + return V1ConfigMap( + ) + + def testV1ConfigMap(self): + """Test V1ConfigMap""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_config_map_env_source.py b/kubernetes/test/test_v1_config_map_env_source.py new file mode 100644 index 0000000000..4d0e47f546 --- /dev/null +++ b/kubernetes/test/test_v1_config_map_env_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_config_map_env_source import V1ConfigMapEnvSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ConfigMapEnvSource(unittest.TestCase): + """V1ConfigMapEnvSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ConfigMapEnvSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_config_map_env_source.V1ConfigMapEnvSource() # noqa: E501 + if include_optional : + return V1ConfigMapEnvSource( + name = '0', + optional = True + ) + else : + return V1ConfigMapEnvSource( + ) + + def testV1ConfigMapEnvSource(self): + """Test V1ConfigMapEnvSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_config_map_key_selector.py b/kubernetes/test/test_v1_config_map_key_selector.py new file mode 100644 index 0000000000..507fd0b6aa --- /dev/null +++ b/kubernetes/test/test_v1_config_map_key_selector.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ConfigMapKeySelector(unittest.TestCase): + """V1ConfigMapKeySelector unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ConfigMapKeySelector + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_config_map_key_selector.V1ConfigMapKeySelector() # noqa: E501 + if include_optional : + return V1ConfigMapKeySelector( + key = '0', + name = '0', + optional = True + ) + else : + return V1ConfigMapKeySelector( + key = '0', + ) + + def testV1ConfigMapKeySelector(self): + """Test V1ConfigMapKeySelector""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_config_map_list.py b/kubernetes/test/test_v1_config_map_list.py new file mode 100644 index 0000000000..ec2ffb105f --- /dev/null +++ b/kubernetes/test/test_v1_config_map_list.py @@ -0,0 +1,158 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_config_map_list import V1ConfigMapList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ConfigMapList(unittest.TestCase): + """V1ConfigMapList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ConfigMapList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_config_map_list.V1ConfigMapList() # noqa: E501 + if include_optional : + return V1ConfigMapList( + api_version = '0', + items = [ + kubernetes.client.models.v1/config_map.v1.ConfigMap( + api_version = '0', + binary_data = { + 'key' : 'YQ==' + }, + data = { + 'key' : '0' + }, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ConfigMapList( + items = [ + kubernetes.client.models.v1/config_map.v1.ConfigMap( + api_version = '0', + binary_data = { + 'key' : 'YQ==' + }, + data = { + 'key' : '0' + }, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ) + ], + ) + + def testV1ConfigMapList(self): + """Test V1ConfigMapList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_config_map_node_config_source.py b/kubernetes/test/test_v1_config_map_node_config_source.py new file mode 100644 index 0000000000..62cdcafa3d --- /dev/null +++ b/kubernetes/test/test_v1_config_map_node_config_source.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ConfigMapNodeConfigSource(unittest.TestCase): + """V1ConfigMapNodeConfigSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ConfigMapNodeConfigSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_config_map_node_config_source.V1ConfigMapNodeConfigSource() # noqa: E501 + if include_optional : + return V1ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0' + ) + else : + return V1ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + ) + + def testV1ConfigMapNodeConfigSource(self): + """Test V1ConfigMapNodeConfigSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_config_map_projection.py b/kubernetes/test/test_v1_config_map_projection.py new file mode 100644 index 0000000000..f53c905281 --- /dev/null +++ b/kubernetes/test/test_v1_config_map_projection.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_config_map_projection import V1ConfigMapProjection # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ConfigMapProjection(unittest.TestCase): + """V1ConfigMapProjection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ConfigMapProjection + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_config_map_projection.V1ConfigMapProjection() # noqa: E501 + if include_optional : + return V1ConfigMapProjection( + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True + ) + else : + return V1ConfigMapProjection( + ) + + def testV1ConfigMapProjection(self): + """Test V1ConfigMapProjection""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_config_map_volume_source.py b/kubernetes/test/test_v1_config_map_volume_source.py new file mode 100644 index 0000000000..b93f33c793 --- /dev/null +++ b/kubernetes/test/test_v1_config_map_volume_source.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ConfigMapVolumeSource(unittest.TestCase): + """V1ConfigMapVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ConfigMapVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSource() # noqa: E501 + if include_optional : + return V1ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True + ) + else : + return V1ConfigMapVolumeSource( + ) + + def testV1ConfigMapVolumeSource(self): + """Test V1ConfigMapVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container.py b/kubernetes/test/test_v1_container.py new file mode 100644 index 0000000000..b8c6646dd4 --- /dev/null +++ b/kubernetes/test/test_v1_container.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_container import V1Container # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Container(unittest.TestCase): + """V1Container unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Container + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_container.V1Container() # noqa: E501 + if include_optional : + return V1Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + failure_threshold = 56, + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + failure_threshold = 56, + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + failure_threshold = 56, + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0' + ) + else : + return V1Container( + name = '0', + ) + + def testV1Container(self): + """Test V1Container""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container_image.py b/kubernetes/test/test_v1_container_image.py new file mode 100644 index 0000000000..e783150116 --- /dev/null +++ b/kubernetes/test/test_v1_container_image.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_container_image import V1ContainerImage # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ContainerImage(unittest.TestCase): + """V1ContainerImage unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ContainerImage + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_container_image.V1ContainerImage() # noqa: E501 + if include_optional : + return V1ContainerImage( + names = [ + '0' + ], + size_bytes = 56 + ) + else : + return V1ContainerImage( + names = [ + '0' + ], + ) + + def testV1ContainerImage(self): + """Test V1ContainerImage""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container_port.py b/kubernetes/test/test_v1_container_port.py new file mode 100644 index 0000000000..986f2efded --- /dev/null +++ b/kubernetes/test/test_v1_container_port.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_container_port import V1ContainerPort # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ContainerPort(unittest.TestCase): + """V1ContainerPort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ContainerPort + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_container_port.V1ContainerPort() # noqa: E501 + if include_optional : + return V1ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0' + ) + else : + return V1ContainerPort( + container_port = 56, + ) + + def testV1ContainerPort(self): + """Test V1ContainerPort""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container_state.py b/kubernetes/test/test_v1_container_state.py new file mode 100644 index 0000000000..e42d07a302 --- /dev/null +++ b/kubernetes/test/test_v1_container_state.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_container_state import V1ContainerState # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ContainerState(unittest.TestCase): + """V1ContainerState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ContainerState + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_container_state.V1ContainerState() # noqa: E501 + if include_optional : + return V1ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ) + ) + else : + return V1ContainerState( + ) + + def testV1ContainerState(self): + """Test V1ContainerState""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container_state_running.py b/kubernetes/test/test_v1_container_state_running.py new file mode 100644 index 0000000000..ea7171bb6b --- /dev/null +++ b/kubernetes/test/test_v1_container_state_running.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_container_state_running import V1ContainerStateRunning # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ContainerStateRunning(unittest.TestCase): + """V1ContainerStateRunning unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ContainerStateRunning + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_container_state_running.V1ContainerStateRunning() # noqa: E501 + if include_optional : + return V1ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1ContainerStateRunning( + ) + + def testV1ContainerStateRunning(self): + """Test V1ContainerStateRunning""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container_state_terminated.py b/kubernetes/test/test_v1_container_state_terminated.py new file mode 100644 index 0000000000..feee319b10 --- /dev/null +++ b/kubernetes/test/test_v1_container_state_terminated.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_container_state_terminated import V1ContainerStateTerminated # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ContainerStateTerminated(unittest.TestCase): + """V1ContainerStateTerminated unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ContainerStateTerminated + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_container_state_terminated.V1ContainerStateTerminated() # noqa: E501 + if include_optional : + return V1ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1ContainerStateTerminated( + exit_code = 56, + ) + + def testV1ContainerStateTerminated(self): + """Test V1ContainerStateTerminated""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container_state_waiting.py b/kubernetes/test/test_v1_container_state_waiting.py new file mode 100644 index 0000000000..8e9f603708 --- /dev/null +++ b/kubernetes/test/test_v1_container_state_waiting.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_container_state_waiting import V1ContainerStateWaiting # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ContainerStateWaiting(unittest.TestCase): + """V1ContainerStateWaiting unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ContainerStateWaiting + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_container_state_waiting.V1ContainerStateWaiting() # noqa: E501 + if include_optional : + return V1ContainerStateWaiting( + message = '0', + reason = '0' + ) + else : + return V1ContainerStateWaiting( + ) + + def testV1ContainerStateWaiting(self): + """Test V1ContainerStateWaiting""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_container_status.py b/kubernetes/test/test_v1_container_status.py new file mode 100644 index 0000000000..b68f6c7b55 --- /dev/null +++ b/kubernetes/test/test_v1_container_status.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_container_status import V1ContainerStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ContainerStatus(unittest.TestCase): + """V1ContainerStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ContainerStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_container_status.V1ContainerStatus() # noqa: E501 + if include_optional : + return V1ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ), ), + name = '0', + ready = True, + restart_count = 56, + started = True, + state = kubernetes.client.models.v1/container_state.v1.ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ), ) + ) + else : + return V1ContainerStatus( + image = '0', + image_id = '0', + name = '0', + ready = True, + restart_count = 56, + ) + + def testV1ContainerStatus(self): + """Test V1ContainerStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_controller_revision.py b/kubernetes/test/test_v1_controller_revision.py new file mode 100644 index 0000000000..fd73b27c4e --- /dev/null +++ b/kubernetes/test/test_v1_controller_revision.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_controller_revision import V1ControllerRevision # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ControllerRevision(unittest.TestCase): + """V1ControllerRevision unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ControllerRevision + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_controller_revision.V1ControllerRevision() # noqa: E501 + if include_optional : + return V1ControllerRevision( + api_version = '0', + data = None, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56 + ) + else : + return V1ControllerRevision( + revision = 56, + ) + + def testV1ControllerRevision(self): + """Test V1ControllerRevision""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_controller_revision_list.py b/kubernetes/test/test_v1_controller_revision_list.py new file mode 100644 index 0000000000..f5f0a4a7b9 --- /dev/null +++ b/kubernetes/test/test_v1_controller_revision_list.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_controller_revision_list import V1ControllerRevisionList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ControllerRevisionList(unittest.TestCase): + """V1ControllerRevisionList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ControllerRevisionList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_controller_revision_list.V1ControllerRevisionList() # noqa: E501 + if include_optional : + return V1ControllerRevisionList( + api_version = '0', + items = [ + kubernetes.client.models.v1/controller_revision.v1.ControllerRevision( + api_version = '0', + data = kubernetes.client.models.data.data(), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ControllerRevisionList( + items = [ + kubernetes.client.models.v1/controller_revision.v1.ControllerRevision( + api_version = '0', + data = kubernetes.client.models.data.data(), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56, ) + ], + ) + + def testV1ControllerRevisionList(self): + """Test V1ControllerRevisionList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_cross_version_object_reference.py b/kubernetes/test/test_v1_cross_version_object_reference.py new file mode 100644 index 0000000000..80c4545be7 --- /dev/null +++ b/kubernetes/test/test_v1_cross_version_object_reference.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CrossVersionObjectReference(unittest.TestCase): + """V1CrossVersionObjectReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CrossVersionObjectReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_cross_version_object_reference.V1CrossVersionObjectReference() # noqa: E501 + if include_optional : + return V1CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0' + ) + else : + return V1CrossVersionObjectReference( + kind = '0', + name = '0', + ) + + def testV1CrossVersionObjectReference(self): + """Test V1CrossVersionObjectReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_csi_node.py b/kubernetes/test/test_v1_csi_node.py new file mode 100644 index 0000000000..f018cdbc6c --- /dev/null +++ b/kubernetes/test/test_v1_csi_node.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_csi_node import V1CSINode # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CSINode(unittest.TestCase): + """V1CSINode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CSINode + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_csi_node.V1CSINode() # noqa: E501 + if include_optional : + return V1CSINode( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/csi_node_spec.v1.CSINodeSpec( + drivers = [ + kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( + allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], ) + ) + else : + return V1CSINode( + spec = kubernetes.client.models.v1/csi_node_spec.v1.CSINodeSpec( + drivers = [ + kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( + allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], ), + ) + + def testV1CSINode(self): + """Test V1CSINode""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_csi_node_driver.py b/kubernetes/test/test_v1_csi_node_driver.py new file mode 100644 index 0000000000..d30032b178 --- /dev/null +++ b/kubernetes/test/test_v1_csi_node_driver.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_csi_node_driver import V1CSINodeDriver # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CSINodeDriver(unittest.TestCase): + """V1CSINodeDriver unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CSINodeDriver + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_csi_node_driver.V1CSINodeDriver() # noqa: E501 + if include_optional : + return V1CSINodeDriver( + allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ] + ) + else : + return V1CSINodeDriver( + name = '0', + node_id = '0', + ) + + def testV1CSINodeDriver(self): + """Test V1CSINodeDriver""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_csi_node_list.py b/kubernetes/test/test_v1_csi_node_list.py new file mode 100644 index 0000000000..2071524b19 --- /dev/null +++ b/kubernetes/test/test_v1_csi_node_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_csi_node_list import V1CSINodeList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CSINodeList(unittest.TestCase): + """V1CSINodeList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CSINodeList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_csi_node_list.V1CSINodeList() # noqa: E501 + if include_optional : + return V1CSINodeList( + api_version = '0', + items = [ + kubernetes.client.models.v1/csi_node.v1.CSINode( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/csi_node_spec.v1.CSINodeSpec( + drivers = [ + kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( + allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1CSINodeList( + items = [ + kubernetes.client.models.v1/csi_node.v1.CSINode( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/csi_node_spec.v1.CSINodeSpec( + drivers = [ + kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( + allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], ), ) + ], + ) + + def testV1CSINodeList(self): + """Test V1CSINodeList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_csi_node_spec.py b/kubernetes/test/test_v1_csi_node_spec.py new file mode 100644 index 0000000000..4239cc28df --- /dev/null +++ b/kubernetes/test/test_v1_csi_node_spec.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_csi_node_spec import V1CSINodeSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CSINodeSpec(unittest.TestCase): + """V1CSINodeSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CSINodeSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_csi_node_spec.V1CSINodeSpec() # noqa: E501 + if include_optional : + return V1CSINodeSpec( + drivers = [ + kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( + allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ] + ) + else : + return V1CSINodeSpec( + drivers = [ + kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( + allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], + ) + + def testV1CSINodeSpec(self): + """Test V1CSINodeSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_csi_persistent_volume_source.py b/kubernetes/test/test_v1_csi_persistent_volume_source.py new file mode 100644 index 0000000000..b8b0c6a491 --- /dev/null +++ b/kubernetes/test/test_v1_csi_persistent_volume_source.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CSIPersistentVolumeSource(unittest.TestCase): + """V1CSIPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CSIPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_csi_persistent_volume_source.V1CSIPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0' + ) + else : + return V1CSIPersistentVolumeSource( + driver = '0', + volume_handle = '0', + ) + + def testV1CSIPersistentVolumeSource(self): + """Test V1CSIPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_csi_volume_source.py b/kubernetes/test/test_v1_csi_volume_source.py new file mode 100644 index 0000000000..9d90d79d3d --- /dev/null +++ b/kubernetes/test/test_v1_csi_volume_source.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_csi_volume_source import V1CSIVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CSIVolumeSource(unittest.TestCase): + """V1CSIVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CSIVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_csi_volume_source.V1CSIVolumeSource() # noqa: E501 + if include_optional : + return V1CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + } + ) + else : + return V1CSIVolumeSource( + driver = '0', + ) + + def testV1CSIVolumeSource(self): + """Test V1CSIVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_column_definition.py b/kubernetes/test/test_v1_custom_resource_column_definition.py new file mode 100644 index 0000000000..eaae80f7ef --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_column_definition.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_column_definition import V1CustomResourceColumnDefinition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceColumnDefinition(unittest.TestCase): + """V1CustomResourceColumnDefinition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceColumnDefinition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_column_definition.V1CustomResourceColumnDefinition() # noqa: E501 + if include_optional : + return V1CustomResourceColumnDefinition( + description = '0', + format = '0', + json_path = '0', + name = '0', + priority = 56, + type = '0' + ) + else : + return V1CustomResourceColumnDefinition( + json_path = '0', + name = '0', + type = '0', + ) + + def testV1CustomResourceColumnDefinition(self): + """Test V1CustomResourceColumnDefinition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_conversion.py b/kubernetes/test/test_v1_custom_resource_conversion.py new file mode 100644 index 0000000000..d91e3c21c2 --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_conversion.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_conversion import V1CustomResourceConversion # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceConversion(unittest.TestCase): + """V1CustomResourceConversion unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceConversion + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_conversion.V1CustomResourceConversion() # noqa: E501 + if include_optional : + return V1CustomResourceConversion( + strategy = '0', + webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( + kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + conversion_review_versions = [ + '0' + ], ) + ) + else : + return V1CustomResourceConversion( + strategy = '0', + ) + + def testV1CustomResourceConversion(self): + """Test V1CustomResourceConversion""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition.py b/kubernetes/test/test_v1_custom_resource_definition.py new file mode 100644 index 0000000000..29c3dfe47c --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_definition.py @@ -0,0 +1,2337 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_definition import V1CustomResourceDefinition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceDefinition(unittest.TestCase): + """V1CustomResourceDefinition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceDefinition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_definition.V1CustomResourceDefinition() # noqa: E501 + if include_optional : + return V1CustomResourceDefinition( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( + conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( + strategy = '0', + webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( + kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + conversion_review_versions = [ + '0' + ], ), ), + group = '0', + names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + versions = [ + kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( + description = '0', + format = '0', + json_path = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( + scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), ) + ], ), + status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + conditions = [ + kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + stored_versions = [ + '0' + ], ) + ) + else : + return V1CustomResourceDefinition( + spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( + conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( + strategy = '0', + webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( + kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + conversion_review_versions = [ + '0' + ], ), ), + group = '0', + names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + versions = [ + kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( + description = '0', + format = '0', + json_path = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( + scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), ) + ], ), + ) + + def testV1CustomResourceDefinition(self): + """Test V1CustomResourceDefinition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_condition.py b/kubernetes/test/test_v1_custom_resource_definition_condition.py new file mode 100644 index 0000000000..3046e7e438 --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_definition_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_definition_condition import V1CustomResourceDefinitionCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceDefinitionCondition(unittest.TestCase): + """V1CustomResourceDefinitionCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceDefinitionCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_definition_condition.V1CustomResourceDefinitionCondition() # noqa: E501 + if include_optional : + return V1CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1CustomResourceDefinitionCondition( + status = '0', + type = '0', + ) + + def testV1CustomResourceDefinitionCondition(self): + """Test V1CustomResourceDefinitionCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_list.py b/kubernetes/test/test_v1_custom_resource_definition_list.py new file mode 100644 index 0000000000..82df904d2f --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_definition_list.py @@ -0,0 +1,2402 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_definition_list import V1CustomResourceDefinitionList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceDefinitionList(unittest.TestCase): + """V1CustomResourceDefinitionList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceDefinitionList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_definition_list.V1CustomResourceDefinitionList() # noqa: E501 + if include_optional : + return V1CustomResourceDefinitionList( + api_version = '0', + items = [ + kubernetes.client.models.v1/custom_resource_definition.v1.CustomResourceDefinition( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( + conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( + strategy = '0', + webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( + kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + conversion_review_versions = [ + '0' + ], ), ), + group = '0', + names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + versions = [ + kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( + description = '0', + format = '0', + json_path = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( + scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), ) + ], ), + status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + kind = '0', + list_kind = '0', + plural = '0', + singular = '0', ), + conditions = [ + kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + stored_versions = [ + '0' + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1CustomResourceDefinitionList( + items = [ + kubernetes.client.models.v1/custom_resource_definition.v1.CustomResourceDefinition( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( + conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( + strategy = '0', + webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( + kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + conversion_review_versions = [ + '0' + ], ), ), + group = '0', + names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + versions = [ + kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( + description = '0', + format = '0', + json_path = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( + scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), ) + ], ), + status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + kind = '0', + list_kind = '0', + plural = '0', + singular = '0', ), + conditions = [ + kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + stored_versions = [ + '0' + ], ), ) + ], + ) + + def testV1CustomResourceDefinitionList(self): + """Test V1CustomResourceDefinitionList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_names.py b/kubernetes/test/test_v1_custom_resource_definition_names.py new file mode 100644 index 0000000000..31fa59646f --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_definition_names.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_definition_names import V1CustomResourceDefinitionNames # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceDefinitionNames(unittest.TestCase): + """V1CustomResourceDefinitionNames unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceDefinitionNames + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_definition_names.V1CustomResourceDefinitionNames() # noqa: E501 + if include_optional : + return V1CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0' + ) + else : + return V1CustomResourceDefinitionNames( + kind = '0', + plural = '0', + ) + + def testV1CustomResourceDefinitionNames(self): + """Test V1CustomResourceDefinitionNames""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_spec.py b/kubernetes/test/test_v1_custom_resource_definition_spec.py new file mode 100644 index 0000000000..63dbfaf306 --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_definition_spec.py @@ -0,0 +1,2256 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_definition_spec import V1CustomResourceDefinitionSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceDefinitionSpec(unittest.TestCase): + """V1CustomResourceDefinitionSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceDefinitionSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_definition_spec.V1CustomResourceDefinitionSpec() # noqa: E501 + if include_optional : + return V1CustomResourceDefinitionSpec( + conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( + strategy = '0', + webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( + kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + conversion_review_versions = [ + '0' + ], ), ), + group = '0', + names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + versions = [ + kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( + description = '0', + format = '0', + json_path = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( + scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), ) + ] + ) + else : + return V1CustomResourceDefinitionSpec( + group = '0', + names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + scope = '0', + versions = [ + kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( + description = '0', + format = '0', + json_path = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( + scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), ) + ], + ) + + def testV1CustomResourceDefinitionSpec(self): + """Test V1CustomResourceDefinitionSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_status.py b/kubernetes/test/test_v1_custom_resource_definition_status.py new file mode 100644 index 0000000000..396de0f309 --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_definition_status.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_definition_status import V1CustomResourceDefinitionStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceDefinitionStatus(unittest.TestCase): + """V1CustomResourceDefinitionStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceDefinitionStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_definition_status.V1CustomResourceDefinitionStatus() # noqa: E501 + if include_optional : + return V1CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + conditions = [ + kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + stored_versions = [ + '0' + ] + ) + else : + return V1CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + stored_versions = [ + '0' + ], + ) + + def testV1CustomResourceDefinitionStatus(self): + """Test V1CustomResourceDefinitionStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_version.py b/kubernetes/test/test_v1_custom_resource_definition_version.py new file mode 100644 index 0000000000..fad590183f --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_definition_version.py @@ -0,0 +1,1133 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_definition_version import V1CustomResourceDefinitionVersion # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceDefinitionVersion(unittest.TestCase): + """V1CustomResourceDefinitionVersion unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceDefinitionVersion + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_definition_version.V1CustomResourceDefinitionVersion() # noqa: E501 + if include_optional : + return V1CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( + description = '0', + format = '0', + json_path = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( + scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ) + ) + else : + return V1CustomResourceDefinitionVersion( + name = '0', + served = True, + storage = True, + ) + + def testV1CustomResourceDefinitionVersion(self): + """Test V1CustomResourceDefinitionVersion""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_subresource_scale.py b/kubernetes/test/test_v1_custom_resource_subresource_scale.py new file mode 100644 index 0000000000..e1281e9f2f --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_subresource_scale.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_subresource_scale import V1CustomResourceSubresourceScale # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceSubresourceScale(unittest.TestCase): + """V1CustomResourceSubresourceScale unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceSubresourceScale + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_subresource_scale.V1CustomResourceSubresourceScale() # noqa: E501 + if include_optional : + return V1CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0' + ) + else : + return V1CustomResourceSubresourceScale( + spec_replicas_path = '0', + status_replicas_path = '0', + ) + + def testV1CustomResourceSubresourceScale(self): + """Test V1CustomResourceSubresourceScale""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_subresources.py b/kubernetes/test/test_v1_custom_resource_subresources.py new file mode 100644 index 0000000000..760b8849e2 --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_subresources.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceSubresources(unittest.TestCase): + """V1CustomResourceSubresources unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceSubresources + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_subresources.V1CustomResourceSubresources() # noqa: E501 + if include_optional : + return V1CustomResourceSubresources( + scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status() + ) + else : + return V1CustomResourceSubresources( + ) + + def testV1CustomResourceSubresources(self): + """Test V1CustomResourceSubresources""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_validation.py b/kubernetes/test/test_v1_custom_resource_validation.py new file mode 100644 index 0000000000..800008fb38 --- /dev/null +++ b/kubernetes/test/test_v1_custom_resource_validation.py @@ -0,0 +1,1111 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_custom_resource_validation import V1CustomResourceValidation # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1CustomResourceValidation(unittest.TestCase): + """V1CustomResourceValidation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1CustomResourceValidation + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_custom_resource_validation.V1CustomResourceValidation() # noqa: E501 + if include_optional : + return V1CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ) + else : + return V1CustomResourceValidation( + ) + + def testV1CustomResourceValidation(self): + """Test V1CustomResourceValidation""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_daemon_endpoint.py b/kubernetes/test/test_v1_daemon_endpoint.py new file mode 100644 index 0000000000..8cfc8cab41 --- /dev/null +++ b/kubernetes/test/test_v1_daemon_endpoint.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_daemon_endpoint import V1DaemonEndpoint # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DaemonEndpoint(unittest.TestCase): + """V1DaemonEndpoint unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DaemonEndpoint + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_daemon_endpoint.V1DaemonEndpoint() # noqa: E501 + if include_optional : + return V1DaemonEndpoint( + port = 56 + ) + else : + return V1DaemonEndpoint( + port = 56, + ) + + def testV1DaemonEndpoint(self): + """Test V1DaemonEndpoint""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set.py b/kubernetes/test/test_v1_daemon_set.py new file mode 100644 index 0000000000..c424e9e2a9 --- /dev/null +++ b/kubernetes/test/test_v1_daemon_set.py @@ -0,0 +1,602 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_daemon_set import V1DaemonSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DaemonSet(unittest.TestCase): + """V1DaemonSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DaemonSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_daemon_set.V1DaemonSet() # noqa: E501 + if include_optional : + return V1DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ) + ) + else : + return V1DaemonSet( + ) + + def testV1DaemonSet(self): + """Test V1DaemonSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_condition.py b/kubernetes/test/test_v1_daemon_set_condition.py new file mode 100644 index 0000000000..696ecb4851 --- /dev/null +++ b/kubernetes/test/test_v1_daemon_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_daemon_set_condition import V1DaemonSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DaemonSetCondition(unittest.TestCase): + """V1DaemonSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DaemonSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_daemon_set_condition.V1DaemonSetCondition() # noqa: E501 + if include_optional : + return V1DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1DaemonSetCondition( + status = '0', + type = '0', + ) + + def testV1DaemonSetCondition(self): + """Test V1DaemonSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_list.py b/kubernetes/test/test_v1_daemon_set_list.py new file mode 100644 index 0000000000..bcd668e62e --- /dev/null +++ b/kubernetes/test/test_v1_daemon_set_list.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_daemon_set_list import V1DaemonSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DaemonSetList(unittest.TestCase): + """V1DaemonSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DaemonSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_daemon_set_list.V1DaemonSetList() # noqa: E501 + if include_optional : + return V1DaemonSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1/daemon_set.v1.DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1DaemonSetList( + items = [ + kubernetes.client.models.v1/daemon_set.v1.DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ), ) + ], + ) + + def testV1DaemonSetList(self): + """Test V1DaemonSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_spec.py b/kubernetes/test/test_v1_daemon_set_spec.py new file mode 100644 index 0000000000..d4eb708aaf --- /dev/null +++ b/kubernetes/test/test_v1_daemon_set_spec.py @@ -0,0 +1,1049 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_daemon_set_spec import V1DaemonSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DaemonSetSpec(unittest.TestCase): + """V1DaemonSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DaemonSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_daemon_set_spec.V1DaemonSetSpec() # noqa: E501 + if include_optional : + return V1DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ) + ) + else : + return V1DaemonSetSpec( + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1DaemonSetSpec(self): + """Test V1DaemonSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_status.py b/kubernetes/test/test_v1_daemon_set_status.py new file mode 100644 index 0000000000..7ad21589d7 --- /dev/null +++ b/kubernetes/test/test_v1_daemon_set_status.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_daemon_set_status import V1DaemonSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DaemonSetStatus(unittest.TestCase): + """V1DaemonSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DaemonSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_daemon_set_status.V1DaemonSetStatus() # noqa: E501 + if include_optional : + return V1DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56 + ) + else : + return V1DaemonSetStatus( + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_misscheduled = 56, + number_ready = 56, + ) + + def testV1DaemonSetStatus(self): + """Test V1DaemonSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_update_strategy.py b/kubernetes/test/test_v1_daemon_set_update_strategy.py new file mode 100644 index 0000000000..61fdeebe34 --- /dev/null +++ b/kubernetes/test/test_v1_daemon_set_update_strategy.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_daemon_set_update_strategy import V1DaemonSetUpdateStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DaemonSetUpdateStrategy(unittest.TestCase): + """V1DaemonSetUpdateStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DaemonSetUpdateStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_daemon_set_update_strategy.V1DaemonSetUpdateStrategy() # noqa: E501 + if include_optional : + return V1DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0' + ) + else : + return V1DaemonSetUpdateStrategy( + ) + + def testV1DaemonSetUpdateStrategy(self): + """Test V1DaemonSetUpdateStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_delete_options.py b/kubernetes/test/test_v1_delete_options.py new file mode 100644 index 0000000000..4293a6d5e3 --- /dev/null +++ b/kubernetes/test/test_v1_delete_options.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_delete_options import V1DeleteOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DeleteOptions(unittest.TestCase): + """V1DeleteOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DeleteOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_delete_options.V1DeleteOptions() # noqa: E501 + if include_optional : + return V1DeleteOptions( + api_version = '0', + dry_run = [ + '0' + ], + grace_period_seconds = 56, + kind = '0', + orphan_dependents = True, + preconditions = kubernetes.client.models.v1/preconditions.v1.Preconditions( + resource_version = '0', + uid = '0', ), + propagation_policy = '0' + ) + else : + return V1DeleteOptions( + ) + + def testV1DeleteOptions(self): + """Test V1DeleteOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_deployment.py b/kubernetes/test/test_v1_deployment.py new file mode 100644 index 0000000000..a2b0d8f529 --- /dev/null +++ b/kubernetes/test/test_v1_deployment.py @@ -0,0 +1,605 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_deployment import V1Deployment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Deployment(unittest.TestCase): + """V1Deployment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Deployment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_deployment.V1Deployment() # noqa: E501 + if include_optional : + return V1Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), ), + status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ) + ) + else : + return V1Deployment( + ) + + def testV1Deployment(self): + """Test V1Deployment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_deployment_condition.py b/kubernetes/test/test_v1_deployment_condition.py new file mode 100644 index 0000000000..1ed93d9cd0 --- /dev/null +++ b/kubernetes/test/test_v1_deployment_condition.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_deployment_condition import V1DeploymentCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DeploymentCondition(unittest.TestCase): + """V1DeploymentCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DeploymentCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_deployment_condition.V1DeploymentCondition() # noqa: E501 + if include_optional : + return V1DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1DeploymentCondition( + status = '0', + type = '0', + ) + + def testV1DeploymentCondition(self): + """Test V1DeploymentCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_deployment_list.py b/kubernetes/test/test_v1_deployment_list.py new file mode 100644 index 0000000000..e11b3446c6 --- /dev/null +++ b/kubernetes/test/test_v1_deployment_list.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_deployment_list import V1DeploymentList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DeploymentList(unittest.TestCase): + """V1DeploymentList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DeploymentList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_deployment_list.V1DeploymentList() # noqa: E501 + if include_optional : + return V1DeploymentList( + api_version = '0', + items = [ + kubernetes.client.models.v1/deployment.v1.Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1DeploymentList( + items = [ + kubernetes.client.models.v1/deployment.v1.Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ), ) + ], + ) + + def testV1DeploymentList(self): + """Test V1DeploymentList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_deployment_spec.py b/kubernetes/test/test_v1_deployment_spec.py new file mode 100644 index 0000000000..6f9b2071b3 --- /dev/null +++ b/kubernetes/test/test_v1_deployment_spec.py @@ -0,0 +1,1053 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_deployment_spec import V1DeploymentSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DeploymentSpec(unittest.TestCase): + """V1DeploymentSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DeploymentSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_deployment_spec.V1DeploymentSpec() # noqa: E501 + if include_optional : + return V1DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return V1DeploymentSpec( + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1DeploymentSpec(self): + """Test V1DeploymentSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_deployment_status.py b/kubernetes/test/test_v1_deployment_status.py new file mode 100644 index 0000000000..760713f020 --- /dev/null +++ b/kubernetes/test/test_v1_deployment_status.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_deployment_status import V1DeploymentStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DeploymentStatus(unittest.TestCase): + """V1DeploymentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DeploymentStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_deployment_status.V1DeploymentStatus() # noqa: E501 + if include_optional : + return V1DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56 + ) + else : + return V1DeploymentStatus( + ) + + def testV1DeploymentStatus(self): + """Test V1DeploymentStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_deployment_strategy.py b/kubernetes/test/test_v1_deployment_strategy.py new file mode 100644 index 0000000000..de9a71b12a --- /dev/null +++ b/kubernetes/test/test_v1_deployment_strategy.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_deployment_strategy import V1DeploymentStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DeploymentStrategy(unittest.TestCase): + """V1DeploymentStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DeploymentStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_deployment_strategy.V1DeploymentStrategy() # noqa: E501 + if include_optional : + return V1DeploymentStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0' + ) + else : + return V1DeploymentStrategy( + ) + + def testV1DeploymentStrategy(self): + """Test V1DeploymentStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_projection.py b/kubernetes/test/test_v1_downward_api_projection.py new file mode 100644 index 0000000000..c945a3d891 --- /dev/null +++ b/kubernetes/test/test_v1_downward_api_projection.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_downward_api_projection import V1DownwardAPIProjection # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DownwardAPIProjection(unittest.TestCase): + """V1DownwardAPIProjection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DownwardAPIProjection + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_downward_api_projection.V1DownwardAPIProjection() # noqa: E501 + if include_optional : + return V1DownwardAPIProjection( + items = [ + kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + mode = 56, + path = '0', + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), ) + ] + ) + else : + return V1DownwardAPIProjection( + ) + + def testV1DownwardAPIProjection(self): + """Test V1DownwardAPIProjection""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_volume_file.py b/kubernetes/test/test_v1_downward_api_volume_file.py new file mode 100644 index 0000000000..1f88d2d05a --- /dev/null +++ b/kubernetes/test/test_v1_downward_api_volume_file.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DownwardAPIVolumeFile(unittest.TestCase): + """V1DownwardAPIVolumeFile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DownwardAPIVolumeFile + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_downward_api_volume_file.V1DownwardAPIVolumeFile() # noqa: E501 + if include_optional : + return V1DownwardAPIVolumeFile( + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + mode = 56, + path = '0', + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ) + ) + else : + return V1DownwardAPIVolumeFile( + path = '0', + ) + + def testV1DownwardAPIVolumeFile(self): + """Test V1DownwardAPIVolumeFile""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_volume_source.py b/kubernetes/test/test_v1_downward_api_volume_source.py new file mode 100644 index 0000000000..6a929b5766 --- /dev/null +++ b/kubernetes/test/test_v1_downward_api_volume_source.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1DownwardAPIVolumeSource(unittest.TestCase): + """V1DownwardAPIVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1DownwardAPIVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_downward_api_volume_source.V1DownwardAPIVolumeSource() # noqa: E501 + if include_optional : + return V1DownwardAPIVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + mode = 56, + path = '0', + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), ) + ] + ) + else : + return V1DownwardAPIVolumeSource( + ) + + def testV1DownwardAPIVolumeSource(self): + """Test V1DownwardAPIVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_empty_dir_volume_source.py b/kubernetes/test/test_v1_empty_dir_volume_source.py new file mode 100644 index 0000000000..2dc9996a97 --- /dev/null +++ b/kubernetes/test/test_v1_empty_dir_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EmptyDirVolumeSource(unittest.TestCase): + """V1EmptyDirVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EmptyDirVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSource() # noqa: E501 + if include_optional : + return V1EmptyDirVolumeSource( + medium = '0', + size_limit = '0' + ) + else : + return V1EmptyDirVolumeSource( + ) + + def testV1EmptyDirVolumeSource(self): + """Test V1EmptyDirVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_address.py b/kubernetes/test/test_v1_endpoint_address.py new file mode 100644 index 0000000000..62f4e87200 --- /dev/null +++ b/kubernetes/test/test_v1_endpoint_address.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_endpoint_address import V1EndpointAddress # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EndpointAddress(unittest.TestCase): + """V1EndpointAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EndpointAddress + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_endpoint_address.V1EndpointAddress() # noqa: E501 + if include_optional : + return V1EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ) + else : + return V1EndpointAddress( + ip = '0', + ) + + def testV1EndpointAddress(self): + """Test V1EndpointAddress""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_port.py b/kubernetes/test/test_v1_endpoint_port.py new file mode 100644 index 0000000000..2bd0d91632 --- /dev/null +++ b/kubernetes/test/test_v1_endpoint_port.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_endpoint_port import V1EndpointPort # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EndpointPort(unittest.TestCase): + """V1EndpointPort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EndpointPort + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_endpoint_port.V1EndpointPort() # noqa: E501 + if include_optional : + return V1EndpointPort( + name = '0', + port = 56, + protocol = '0' + ) + else : + return V1EndpointPort( + port = 56, + ) + + def testV1EndpointPort(self): + """Test V1EndpointPort""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_subset.py b/kubernetes/test/test_v1_endpoint_subset.py new file mode 100644 index 0000000000..ccf0bd43e8 --- /dev/null +++ b/kubernetes/test/test_v1_endpoint_subset.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_endpoint_subset import V1EndpointSubset # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EndpointSubset(unittest.TestCase): + """V1EndpointSubset unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EndpointSubset + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_endpoint_subset.V1EndpointSubset() # noqa: E501 + if include_optional : + return V1EndpointSubset( + addresses = [ + kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ) + ], + not_ready_addresses = [ + kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ) + ], + ports = [ + kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( + name = '0', + port = 56, + protocol = '0', ) + ] + ) + else : + return V1EndpointSubset( + ) + + def testV1EndpointSubset(self): + """Test V1EndpointSubset""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_endpoints.py b/kubernetes/test/test_v1_endpoints.py new file mode 100644 index 0000000000..ba9fcabe4b --- /dev/null +++ b/kubernetes/test/test_v1_endpoints.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_endpoints import V1Endpoints # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Endpoints(unittest.TestCase): + """V1Endpoints unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Endpoints + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_endpoints.V1Endpoints() # noqa: E501 + if include_optional : + return V1Endpoints( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + subsets = [ + kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( + addresses = [ + kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ) + ], + not_ready_addresses = [ + kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', ) + ], + ports = [ + kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( + name = '0', + port = 56, + protocol = '0', ) + ], ) + ] + ) + else : + return V1Endpoints( + ) + + def testV1Endpoints(self): + """Test V1Endpoints""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_endpoints_list.py b/kubernetes/test/test_v1_endpoints_list.py new file mode 100644 index 0000000000..2255728843 --- /dev/null +++ b/kubernetes/test/test_v1_endpoints_list.py @@ -0,0 +1,204 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_endpoints_list import V1EndpointsList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EndpointsList(unittest.TestCase): + """V1EndpointsList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EndpointsList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_endpoints_list.V1EndpointsList() # noqa: E501 + if include_optional : + return V1EndpointsList( + api_version = '0', + items = [ + kubernetes.client.models.v1/endpoints.v1.Endpoints( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + subsets = [ + kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( + addresses = [ + kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ) + ], + not_ready_addresses = [ + kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', ) + ], + ports = [ + kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( + name = '0', + port = 56, + protocol = '0', ) + ], ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1EndpointsList( + items = [ + kubernetes.client.models.v1/endpoints.v1.Endpoints( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + subsets = [ + kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( + addresses = [ + kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ) + ], + not_ready_addresses = [ + kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( + hostname = '0', + ip = '0', + node_name = '0', ) + ], + ports = [ + kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( + name = '0', + port = 56, + protocol = '0', ) + ], ) + ], ) + ], + ) + + def testV1EndpointsList(self): + """Test V1EndpointsList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_env_from_source.py b/kubernetes/test/test_v1_env_from_source.py new file mode 100644 index 0000000000..542980f1f2 --- /dev/null +++ b/kubernetes/test/test_v1_env_from_source.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_env_from_source import V1EnvFromSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EnvFromSource(unittest.TestCase): + """V1EnvFromSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EnvFromSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_env_from_source.V1EnvFromSource() # noqa: E501 + if include_optional : + return V1EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ) + ) + else : + return V1EnvFromSource( + ) + + def testV1EnvFromSource(self): + """Test V1EnvFromSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_env_var.py b/kubernetes/test/test_v1_env_var.py new file mode 100644 index 0000000000..5fe28a76ed --- /dev/null +++ b/kubernetes/test/test_v1_env_var.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_env_var import V1EnvVar # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EnvVar(unittest.TestCase): + """V1EnvVar unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EnvVar + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_env_var.V1EnvVar() # noqa: E501 + if include_optional : + return V1EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ) + ) + else : + return V1EnvVar( + name = '0', + ) + + def testV1EnvVar(self): + """Test V1EnvVar""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_env_var_source.py b/kubernetes/test/test_v1_env_var_source.py new file mode 100644 index 0000000000..61a77c698f --- /dev/null +++ b/kubernetes/test/test_v1_env_var_source.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_env_var_source import V1EnvVarSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EnvVarSource(unittest.TestCase): + """V1EnvVarSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EnvVarSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_env_var_source.V1EnvVarSource() # noqa: E501 + if include_optional : + return V1EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ) + ) + else : + return V1EnvVarSource( + ) + + def testV1EnvVarSource(self): + """Test V1EnvVarSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_ephemeral_container.py b/kubernetes/test/test_v1_ephemeral_container.py new file mode 100644 index 0000000000..674437953b --- /dev/null +++ b/kubernetes/test/test_v1_ephemeral_container.py @@ -0,0 +1,241 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_ephemeral_container import V1EphemeralContainer # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EphemeralContainer(unittest.TestCase): + """V1EphemeralContainer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EphemeralContainer + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_ephemeral_container.V1EphemeralContainer() # noqa: E501 + if include_optional : + return V1EphemeralContainer( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + failure_threshold = 56, + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + failure_threshold = 56, + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + failure_threshold = 56, + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0' + ) + else : + return V1EphemeralContainer( + name = '0', + ) + + def testV1EphemeralContainer(self): + """Test V1EphemeralContainer""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_event.py b/kubernetes/test/test_v1_event.py new file mode 100644 index 0000000000..c27b9b62b7 --- /dev/null +++ b/kubernetes/test/test_v1_event.py @@ -0,0 +1,172 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_event import V1Event # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Event(unittest.TestCase): + """V1Event unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Event + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_event.V1Event() # noqa: E501 + if include_optional : + return V1Event( + action = '0', + api_version = '0', + count = 56, + event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + kind = '0', + last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + reason = '0', + related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + reporting_component = '0', + reporting_instance = '0', + series = kubernetes.client.models.v1/event_series.v1.EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0', ), + source = kubernetes.client.models.v1/event_source.v1.EventSource( + component = '0', + host = '0', ), + type = '0' + ) + else : + return V1Event( + involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + ) + + def testV1Event(self): + """Test V1Event""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_event_list.py b/kubernetes/test/test_v1_event_list.py new file mode 100644 index 0000000000..6d88ac2665 --- /dev/null +++ b/kubernetes/test/test_v1_event_list.py @@ -0,0 +1,212 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_event_list import V1EventList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EventList(unittest.TestCase): + """V1EventList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EventList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_event_list.V1EventList() # noqa: E501 + if include_optional : + return V1EventList( + api_version = '0', + items = [ + kubernetes.client.models.v1/event.v1.Event( + action = '0', + api_version = '0', + count = 56, + event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + kind = '0', + last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + reason = '0', + related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + reporting_component = '0', + reporting_instance = '0', + series = kubernetes.client.models.v1/event_series.v1.EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0', ), + source = kubernetes.client.models.v1/event_source.v1.EventSource( + component = '0', + host = '0', ), + type = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1EventList( + items = [ + kubernetes.client.models.v1/event.v1.Event( + action = '0', + api_version = '0', + count = 56, + event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + kind = '0', + last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + reason = '0', + related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + reporting_component = '0', + reporting_instance = '0', + series = kubernetes.client.models.v1/event_series.v1.EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0', ), + source = kubernetes.client.models.v1/event_source.v1.EventSource( + component = '0', + host = '0', ), + type = '0', ) + ], + ) + + def testV1EventList(self): + """Test V1EventList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_event_series.py b/kubernetes/test/test_v1_event_series.py new file mode 100644 index 0000000000..5943c3a34b --- /dev/null +++ b/kubernetes/test/test_v1_event_series.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_event_series import V1EventSeries # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EventSeries(unittest.TestCase): + """V1EventSeries unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EventSeries + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_event_series.V1EventSeries() # noqa: E501 + if include_optional : + return V1EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0' + ) + else : + return V1EventSeries( + ) + + def testV1EventSeries(self): + """Test V1EventSeries""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_event_source.py b/kubernetes/test/test_v1_event_source.py new file mode 100644 index 0000000000..c834a9e2a7 --- /dev/null +++ b/kubernetes/test/test_v1_event_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_event_source import V1EventSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1EventSource(unittest.TestCase): + """V1EventSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1EventSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_event_source.V1EventSource() # noqa: E501 + if include_optional : + return V1EventSource( + component = '0', + host = '0' + ) + else : + return V1EventSource( + ) + + def testV1EventSource(self): + """Test V1EventSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_exec_action.py b/kubernetes/test/test_v1_exec_action.py new file mode 100644 index 0000000000..2d371c34a6 --- /dev/null +++ b/kubernetes/test/test_v1_exec_action.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_exec_action import V1ExecAction # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ExecAction(unittest.TestCase): + """V1ExecAction unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ExecAction + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_exec_action.V1ExecAction() # noqa: E501 + if include_optional : + return V1ExecAction( + command = [ + '0' + ] + ) + else : + return V1ExecAction( + ) + + def testV1ExecAction(self): + """Test V1ExecAction""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_external_documentation.py b/kubernetes/test/test_v1_external_documentation.py new file mode 100644 index 0000000000..5c52c2ed6b --- /dev/null +++ b/kubernetes/test/test_v1_external_documentation.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_external_documentation import V1ExternalDocumentation # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ExternalDocumentation(unittest.TestCase): + """V1ExternalDocumentation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ExternalDocumentation + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_external_documentation.V1ExternalDocumentation() # noqa: E501 + if include_optional : + return V1ExternalDocumentation( + description = '0', + url = '0' + ) + else : + return V1ExternalDocumentation( + ) + + def testV1ExternalDocumentation(self): + """Test V1ExternalDocumentation""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_fc_volume_source.py b/kubernetes/test/test_v1_fc_volume_source.py new file mode 100644 index 0000000000..e72ca87a89 --- /dev/null +++ b/kubernetes/test/test_v1_fc_volume_source.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1FCVolumeSource(unittest.TestCase): + """V1FCVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1FCVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_fc_volume_source.V1FCVolumeSource() # noqa: E501 + if include_optional : + return V1FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ] + ) + else : + return V1FCVolumeSource( + ) + + def testV1FCVolumeSource(self): + """Test V1FCVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_flex_persistent_volume_source.py b/kubernetes/test/test_v1_flex_persistent_volume_source.py new file mode 100644 index 0000000000..f5c17f4f6d --- /dev/null +++ b/kubernetes/test/test_v1_flex_persistent_volume_source.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1FlexPersistentVolumeSource(unittest.TestCase): + """V1FlexPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1FlexPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_flex_persistent_volume_source.V1FlexPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ) + ) + else : + return V1FlexPersistentVolumeSource( + driver = '0', + ) + + def testV1FlexPersistentVolumeSource(self): + """Test V1FlexPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_flex_volume_source.py b/kubernetes/test/test_v1_flex_volume_source.py new file mode 100644 index 0000000000..7fc6c83cf3 --- /dev/null +++ b/kubernetes/test/test_v1_flex_volume_source.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1FlexVolumeSource(unittest.TestCase): + """V1FlexVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1FlexVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_flex_volume_source.V1FlexVolumeSource() # noqa: E501 + if include_optional : + return V1FlexVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ) + else : + return V1FlexVolumeSource( + driver = '0', + ) + + def testV1FlexVolumeSource(self): + """Test V1FlexVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_flocker_volume_source.py b/kubernetes/test/test_v1_flocker_volume_source.py new file mode 100644 index 0000000000..0a6851433c --- /dev/null +++ b/kubernetes/test/test_v1_flocker_volume_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1FlockerVolumeSource(unittest.TestCase): + """V1FlockerVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1FlockerVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_flocker_volume_source.V1FlockerVolumeSource() # noqa: E501 + if include_optional : + return V1FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0' + ) + else : + return V1FlockerVolumeSource( + ) + + def testV1FlockerVolumeSource(self): + """Test V1FlockerVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py new file mode 100644 index 0000000000..f2abd36ffb --- /dev/null +++ b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1GCEPersistentDiskVolumeSource(unittest.TestCase): + """V1GCEPersistentDiskVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1GCEPersistentDiskVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_gce_persistent_disk_volume_source.V1GCEPersistentDiskVolumeSource() # noqa: E501 + if include_optional : + return V1GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True + ) + else : + return V1GCEPersistentDiskVolumeSource( + pd_name = '0', + ) + + def testV1GCEPersistentDiskVolumeSource(self): + """Test V1GCEPersistentDiskVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_git_repo_volume_source.py b/kubernetes/test/test_v1_git_repo_volume_source.py new file mode 100644 index 0000000000..8bbc81fd56 --- /dev/null +++ b/kubernetes/test/test_v1_git_repo_volume_source.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1GitRepoVolumeSource(unittest.TestCase): + """V1GitRepoVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1GitRepoVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_git_repo_volume_source.V1GitRepoVolumeSource() # noqa: E501 + if include_optional : + return V1GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0' + ) + else : + return V1GitRepoVolumeSource( + repository = '0', + ) + + def testV1GitRepoVolumeSource(self): + """Test V1GitRepoVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py b/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py new file mode 100644 index 0000000000..9c26bc1f1a --- /dev/null +++ b/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1GlusterfsPersistentVolumeSource(unittest.TestCase): + """V1GlusterfsPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1GlusterfsPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_glusterfs_persistent_volume_source.V1GlusterfsPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True + ) + else : + return V1GlusterfsPersistentVolumeSource( + endpoints = '0', + path = '0', + ) + + def testV1GlusterfsPersistentVolumeSource(self): + """Test V1GlusterfsPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_glusterfs_volume_source.py b/kubernetes/test/test_v1_glusterfs_volume_source.py new file mode 100644 index 0000000000..879144fd46 --- /dev/null +++ b/kubernetes/test/test_v1_glusterfs_volume_source.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1GlusterfsVolumeSource(unittest.TestCase): + """V1GlusterfsVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1GlusterfsVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_glusterfs_volume_source.V1GlusterfsVolumeSource() # noqa: E501 + if include_optional : + return V1GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True + ) + else : + return V1GlusterfsVolumeSource( + endpoints = '0', + path = '0', + ) + + def testV1GlusterfsVolumeSource(self): + """Test V1GlusterfsVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_group_version_for_discovery.py b/kubernetes/test/test_v1_group_version_for_discovery.py new file mode 100644 index 0000000000..eaa772fb81 --- /dev/null +++ b/kubernetes/test/test_v1_group_version_for_discovery.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1GroupVersionForDiscovery(unittest.TestCase): + """V1GroupVersionForDiscovery unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1GroupVersionForDiscovery + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_group_version_for_discovery.V1GroupVersionForDiscovery() # noqa: E501 + if include_optional : + return V1GroupVersionForDiscovery( + group_version = '0', + version = '0' + ) + else : + return V1GroupVersionForDiscovery( + group_version = '0', + version = '0', + ) + + def testV1GroupVersionForDiscovery(self): + """Test V1GroupVersionForDiscovery""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_handler.py b/kubernetes/test/test_v1_handler.py new file mode 100644 index 0000000000..a125c5b982 --- /dev/null +++ b/kubernetes/test/test_v1_handler.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_handler import V1Handler # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Handler(unittest.TestCase): + """V1Handler unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Handler + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_handler.V1Handler() # noqa: E501 + if include_optional : + return V1Handler( + _exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ) + ) + else : + return V1Handler( + ) + + def testV1Handler(self): + """Test V1Handler""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py new file mode 100644 index 0000000000..e1923f0e37 --- /dev/null +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1HorizontalPodAutoscaler(unittest.TestCase): + """V1HorizontalPodAutoscaler unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1HorizontalPodAutoscaler + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_horizontal_pod_autoscaler.V1HorizontalPodAutoscaler() # noqa: E501 + if include_optional : + return V1HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( + max_replicas = 56, + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_cpu_utilization_percentage = 56, ), + status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( + current_cpu_utilization_percentage = 56, + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ) + ) + else : + return V1HorizontalPodAutoscaler( + ) + + def testV1HorizontalPodAutoscaler(self): + """Test V1HorizontalPodAutoscaler""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py new file mode 100644 index 0000000000..566b2974e5 --- /dev/null +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py @@ -0,0 +1,174 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1HorizontalPodAutoscalerList(unittest.TestCase): + """V1HorizontalPodAutoscalerList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1HorizontalPodAutoscalerList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_list.V1HorizontalPodAutoscalerList() # noqa: E501 + if include_optional : + return V1HorizontalPodAutoscalerList( + api_version = '0', + items = [ + kubernetes.client.models.v1/horizontal_pod_autoscaler.v1.HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( + max_replicas = 56, + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_cpu_utilization_percentage = 56, ), + status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( + current_cpu_utilization_percentage = 56, + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1HorizontalPodAutoscalerList( + items = [ + kubernetes.client.models.v1/horizontal_pod_autoscaler.v1.HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( + max_replicas = 56, + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_cpu_utilization_percentage = 56, ), + status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( + current_cpu_utilization_percentage = 56, + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ), ) + ], + ) + + def testV1HorizontalPodAutoscalerList(self): + """Test V1HorizontalPodAutoscalerList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py new file mode 100644 index 0000000000..3457b7898c --- /dev/null +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1HorizontalPodAutoscalerSpec(unittest.TestCase): + """V1HorizontalPodAutoscalerSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1HorizontalPodAutoscalerSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_spec.V1HorizontalPodAutoscalerSpec() # noqa: E501 + if include_optional : + return V1HorizontalPodAutoscalerSpec( + max_replicas = 56, + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_cpu_utilization_percentage = 56 + ) + else : + return V1HorizontalPodAutoscalerSpec( + max_replicas = 56, + scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + ) + + def testV1HorizontalPodAutoscalerSpec(self): + """Test V1HorizontalPodAutoscalerSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py new file mode 100644 index 0000000000..52af3bebd9 --- /dev/null +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1HorizontalPodAutoscalerStatus(unittest.TestCase): + """V1HorizontalPodAutoscalerStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1HorizontalPodAutoscalerStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_status.V1HorizontalPodAutoscalerStatus() # noqa: E501 + if include_optional : + return V1HorizontalPodAutoscalerStatus( + current_cpu_utilization_percentage = 56, + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56 + ) + else : + return V1HorizontalPodAutoscalerStatus( + current_replicas = 56, + desired_replicas = 56, + ) + + def testV1HorizontalPodAutoscalerStatus(self): + """Test V1HorizontalPodAutoscalerStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_host_alias.py b/kubernetes/test/test_v1_host_alias.py new file mode 100644 index 0000000000..24a177cf49 --- /dev/null +++ b/kubernetes/test/test_v1_host_alias.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_host_alias import V1HostAlias # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1HostAlias(unittest.TestCase): + """V1HostAlias unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1HostAlias + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_host_alias.V1HostAlias() # noqa: E501 + if include_optional : + return V1HostAlias( + hostnames = [ + '0' + ], + ip = '0' + ) + else : + return V1HostAlias( + ) + + def testV1HostAlias(self): + """Test V1HostAlias""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_host_path_volume_source.py b/kubernetes/test/test_v1_host_path_volume_source.py new file mode 100644 index 0000000000..a7e39bf3a7 --- /dev/null +++ b/kubernetes/test/test_v1_host_path_volume_source.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1HostPathVolumeSource(unittest.TestCase): + """V1HostPathVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1HostPathVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_host_path_volume_source.V1HostPathVolumeSource() # noqa: E501 + if include_optional : + return V1HostPathVolumeSource( + path = '0', + type = '0' + ) + else : + return V1HostPathVolumeSource( + path = '0', + ) + + def testV1HostPathVolumeSource(self): + """Test V1HostPathVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_http_get_action.py b/kubernetes/test/test_v1_http_get_action.py new file mode 100644 index 0000000000..0e95b3a5e3 --- /dev/null +++ b/kubernetes/test/test_v1_http_get_action.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_http_get_action import V1HTTPGetAction # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1HTTPGetAction(unittest.TestCase): + """V1HTTPGetAction unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1HTTPGetAction + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_http_get_action.V1HTTPGetAction() # noqa: E501 + if include_optional : + return V1HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0' + ) + else : + return V1HTTPGetAction( + port = kubernetes.client.models.port.port(), + ) + + def testV1HTTPGetAction(self): + """Test V1HTTPGetAction""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_http_header.py b/kubernetes/test/test_v1_http_header.py new file mode 100644 index 0000000000..32c79de1e5 --- /dev/null +++ b/kubernetes/test/test_v1_http_header.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_http_header import V1HTTPHeader # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1HTTPHeader(unittest.TestCase): + """V1HTTPHeader unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1HTTPHeader + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_http_header.V1HTTPHeader() # noqa: E501 + if include_optional : + return V1HTTPHeader( + name = '0', + value = '0' + ) + else : + return V1HTTPHeader( + name = '0', + value = '0', + ) + + def testV1HTTPHeader(self): + """Test V1HTTPHeader""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_ip_block.py b/kubernetes/test/test_v1_ip_block.py new file mode 100644 index 0000000000..3acc6fbf87 --- /dev/null +++ b/kubernetes/test/test_v1_ip_block.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_ip_block import V1IPBlock # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1IPBlock(unittest.TestCase): + """V1IPBlock unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1IPBlock + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_ip_block.V1IPBlock() # noqa: E501 + if include_optional : + return V1IPBlock( + cidr = '0', + _except = [ + '0' + ] + ) + else : + return V1IPBlock( + cidr = '0', + ) + + def testV1IPBlock(self): + """Test V1IPBlock""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py b/kubernetes/test/test_v1_iscsi_persistent_volume_source.py new file mode 100644 index 0000000000..7f5eb9e951 --- /dev/null +++ b/kubernetes/test/test_v1_iscsi_persistent_volume_source.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ISCSIPersistentVolumeSource(unittest.TestCase): + """V1ISCSIPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ISCSIPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_iscsi_persistent_volume_source.V1ISCSIPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + target_portal = '0' + ) + else : + return V1ISCSIPersistentVolumeSource( + iqn = '0', + lun = 56, + target_portal = '0', + ) + + def testV1ISCSIPersistentVolumeSource(self): + """Test V1ISCSIPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_iscsi_volume_source.py b/kubernetes/test/test_v1_iscsi_volume_source.py new file mode 100644 index 0000000000..f5a9a5b395 --- /dev/null +++ b/kubernetes/test/test_v1_iscsi_volume_source.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ISCSIVolumeSource(unittest.TestCase): + """V1ISCSIVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ISCSIVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSource() # noqa: E501 + if include_optional : + return V1ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + target_portal = '0' + ) + else : + return V1ISCSIVolumeSource( + iqn = '0', + lun = 56, + target_portal = '0', + ) + + def testV1ISCSIVolumeSource(self): + """Test V1ISCSIVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_job.py b/kubernetes/test/test_v1_job.py new file mode 100644 index 0000000000..a9eaf82366 --- /dev/null +++ b/kubernetes/test/test_v1_job.py @@ -0,0 +1,599 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_job import V1Job # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Job(unittest.TestCase): + """V1Job unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Job + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_job.V1Job() # noqa: E501 + if include_optional : + return V1Job( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ttl_seconds_after_finished = 56, ), + status = kubernetes.client.models.v1/job_status.v1.JobStatus( + active = 56, + completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + conditions = [ + kubernetes.client.models.v1/job_condition.v1.JobCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + failed = 56, + start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + succeeded = 56, ) + ) + else : + return V1Job( + ) + + def testV1Job(self): + """Test V1Job""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_job_condition.py b/kubernetes/test/test_v1_job_condition.py new file mode 100644 index 0000000000..104bab1569 --- /dev/null +++ b/kubernetes/test/test_v1_job_condition.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_job_condition import V1JobCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1JobCondition(unittest.TestCase): + """V1JobCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1JobCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_job_condition.V1JobCondition() # noqa: E501 + if include_optional : + return V1JobCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1JobCondition( + status = '0', + type = '0', + ) + + def testV1JobCondition(self): + """Test V1JobCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_job_list.py b/kubernetes/test/test_v1_job_list.py new file mode 100644 index 0000000000..9d12ed7761 --- /dev/null +++ b/kubernetes/test/test_v1_job_list.py @@ -0,0 +1,216 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_job_list import V1JobList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1JobList(unittest.TestCase): + """V1JobList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1JobList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_job_list.V1JobList() # noqa: E501 + if include_optional : + return V1JobList( + api_version = '0', + items = [ + kubernetes.client.models.v1/job.v1.Job( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + ttl_seconds_after_finished = 56, ), + status = kubernetes.client.models.v1/job_status.v1.JobStatus( + active = 56, + completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + conditions = [ + kubernetes.client.models.v1/job_condition.v1.JobCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + failed = 56, + start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + succeeded = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1JobList( + items = [ + kubernetes.client.models.v1/job.v1.Job( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + ttl_seconds_after_finished = 56, ), + status = kubernetes.client.models.v1/job_status.v1.JobStatus( + active = 56, + completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + conditions = [ + kubernetes.client.models.v1/job_condition.v1.JobCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + failed = 56, + start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + succeeded = 56, ), ) + ], + ) + + def testV1JobList(self): + """Test V1JobList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_job_spec.py b/kubernetes/test/test_v1_job_spec.py new file mode 100644 index 0000000000..ddbf9d3213 --- /dev/null +++ b/kubernetes/test/test_v1_job_spec.py @@ -0,0 +1,1037 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_job_spec import V1JobSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1JobSpec(unittest.TestCase): + """V1JobSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1JobSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_job_spec.V1JobSpec() # noqa: E501 + if include_optional : + return V1JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ttl_seconds_after_finished = 56 + ) + else : + return V1JobSpec( + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1JobSpec(self): + """Test V1JobSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_job_status.py b/kubernetes/test/test_v1_job_status.py new file mode 100644 index 0000000000..1a99771910 --- /dev/null +++ b/kubernetes/test/test_v1_job_status.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_job_status import V1JobStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1JobStatus(unittest.TestCase): + """V1JobStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1JobStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_job_status.V1JobStatus() # noqa: E501 + if include_optional : + return V1JobStatus( + active = 56, + completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + conditions = [ + kubernetes.client.models.v1/job_condition.v1.JobCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + failed = 56, + start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + succeeded = 56 + ) + else : + return V1JobStatus( + ) + + def testV1JobStatus(self): + """Test V1JobStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_json_schema_props.py b/kubernetes/test/test_v1_json_schema_props.py new file mode 100644 index 0000000000..86f0c6ce27 --- /dev/null +++ b/kubernetes/test/test_v1_json_schema_props.py @@ -0,0 +1,5808 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_json_schema_props import V1JSONSchemaProps # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1JSONSchemaProps(unittest.TestCase): + """V1JSONSchemaProps unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1JSONSchemaProps + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_json_schema_props.V1JSONSchemaProps() # noqa: E501 + if include_optional : + return V1JSONSchemaProps( + ref = '0', + schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + _not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True + ) + else : + return V1JSONSchemaProps( + ) + + def testV1JSONSchemaProps(self): + """Test V1JSONSchemaProps""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_key_to_path.py b/kubernetes/test/test_v1_key_to_path.py new file mode 100644 index 0000000000..644ec24df1 --- /dev/null +++ b/kubernetes/test/test_v1_key_to_path.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_key_to_path import V1KeyToPath # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1KeyToPath(unittest.TestCase): + """V1KeyToPath unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1KeyToPath + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_key_to_path.V1KeyToPath() # noqa: E501 + if include_optional : + return V1KeyToPath( + key = '0', + mode = 56, + path = '0' + ) + else : + return V1KeyToPath( + key = '0', + path = '0', + ) + + def testV1KeyToPath(self): + """Test V1KeyToPath""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_label_selector.py b/kubernetes/test/test_v1_label_selector.py new file mode 100644 index 0000000000..556577a6a2 --- /dev/null +++ b/kubernetes/test/test_v1_label_selector.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_label_selector import V1LabelSelector # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LabelSelector(unittest.TestCase): + """V1LabelSelector unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LabelSelector + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_label_selector.V1LabelSelector() # noqa: E501 + if include_optional : + return V1LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + } + ) + else : + return V1LabelSelector( + ) + + def testV1LabelSelector(self): + """Test V1LabelSelector""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_label_selector_requirement.py b/kubernetes/test/test_v1_label_selector_requirement.py new file mode 100644 index 0000000000..ffd30d0573 --- /dev/null +++ b/kubernetes/test/test_v1_label_selector_requirement.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LabelSelectorRequirement(unittest.TestCase): + """V1LabelSelectorRequirement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LabelSelectorRequirement + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_label_selector_requirement.V1LabelSelectorRequirement() # noqa: E501 + if include_optional : + return V1LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ] + ) + else : + return V1LabelSelectorRequirement( + key = '0', + operator = '0', + ) + + def testV1LabelSelectorRequirement(self): + """Test V1LabelSelectorRequirement""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_lease.py b/kubernetes/test/test_v1_lease.py new file mode 100644 index 0000000000..748f11ffe6 --- /dev/null +++ b/kubernetes/test/test_v1_lease.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_lease import V1Lease # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Lease(unittest.TestCase): + """V1Lease unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Lease + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_lease.V1Lease() # noqa: E501 + if include_optional : + return V1Lease( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( + acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + holder_identity = '0', + lease_duration_seconds = 56, + lease_transitions = 56, + renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ) + else : + return V1Lease( + ) + + def testV1Lease(self): + """Test V1Lease""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_lease_list.py b/kubernetes/test/test_v1_lease_list.py new file mode 100644 index 0000000000..5115a833e1 --- /dev/null +++ b/kubernetes/test/test_v1_lease_list.py @@ -0,0 +1,158 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_lease_list import V1LeaseList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LeaseList(unittest.TestCase): + """V1LeaseList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LeaseList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_lease_list.V1LeaseList() # noqa: E501 + if include_optional : + return V1LeaseList( + api_version = '0', + items = [ + kubernetes.client.models.v1/lease.v1.Lease( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( + acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + holder_identity = '0', + lease_duration_seconds = 56, + lease_transitions = 56, + renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1LeaseList( + items = [ + kubernetes.client.models.v1/lease.v1.Lease( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( + acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + holder_identity = '0', + lease_duration_seconds = 56, + lease_transitions = 56, + renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + ) + + def testV1LeaseList(self): + """Test V1LeaseList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_lease_spec.py b/kubernetes/test/test_v1_lease_spec.py new file mode 100644 index 0000000000..f93c90f80a --- /dev/null +++ b/kubernetes/test/test_v1_lease_spec.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_lease_spec import V1LeaseSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LeaseSpec(unittest.TestCase): + """V1LeaseSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LeaseSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_lease_spec.V1LeaseSpec() # noqa: E501 + if include_optional : + return V1LeaseSpec( + acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + holder_identity = '0', + lease_duration_seconds = 56, + lease_transitions = 56, + renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1LeaseSpec( + ) + + def testV1LeaseSpec(self): + """Test V1LeaseSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_lifecycle.py b/kubernetes/test/test_v1_lifecycle.py new file mode 100644 index 0000000000..4d90c6abf3 --- /dev/null +++ b/kubernetes/test/test_v1_lifecycle.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_lifecycle import V1Lifecycle # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Lifecycle(unittest.TestCase): + """V1Lifecycle unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Lifecycle + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_lifecycle.V1Lifecycle() # noqa: E501 + if include_optional : + return V1Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ) + ) + else : + return V1Lifecycle( + ) + + def testV1Lifecycle(self): + """Test V1Lifecycle""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_limit_range.py b/kubernetes/test/test_v1_limit_range.py new file mode 100644 index 0000000000..1cae25e08f --- /dev/null +++ b/kubernetes/test/test_v1_limit_range.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_limit_range import V1LimitRange # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LimitRange(unittest.TestCase): + """V1LimitRange unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LimitRange + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_limit_range.V1LimitRange() # noqa: E501 + if include_optional : + return V1LimitRange( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( + limits = [ + kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( + default = { + 'key' : '0' + }, + default_request = { + 'key' : '0' + }, + max = { + 'key' : '0' + }, + max_limit_request_ratio = { + 'key' : '0' + }, + min = { + 'key' : '0' + }, + type = '0', ) + ], ) + ) + else : + return V1LimitRange( + ) + + def testV1LimitRange(self): + """Test V1LimitRange""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_item.py b/kubernetes/test/test_v1_limit_range_item.py new file mode 100644 index 0000000000..90f44b647a --- /dev/null +++ b/kubernetes/test/test_v1_limit_range_item.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_limit_range_item import V1LimitRangeItem # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LimitRangeItem(unittest.TestCase): + """V1LimitRangeItem unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LimitRangeItem + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_limit_range_item.V1LimitRangeItem() # noqa: E501 + if include_optional : + return V1LimitRangeItem( + default = { + 'key' : '0' + }, + default_request = { + 'key' : '0' + }, + max = { + 'key' : '0' + }, + max_limit_request_ratio = { + 'key' : '0' + }, + min = { + 'key' : '0' + }, + type = '0' + ) + else : + return V1LimitRangeItem( + ) + + def testV1LimitRangeItem(self): + """Test V1LimitRangeItem""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_list.py b/kubernetes/test/test_v1_limit_range_list.py new file mode 100644 index 0000000000..d4e0c8bd42 --- /dev/null +++ b/kubernetes/test/test_v1_limit_range_list.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_limit_range_list import V1LimitRangeList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LimitRangeList(unittest.TestCase): + """V1LimitRangeList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LimitRangeList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_limit_range_list.V1LimitRangeList() # noqa: E501 + if include_optional : + return V1LimitRangeList( + api_version = '0', + items = [ + kubernetes.client.models.v1/limit_range.v1.LimitRange( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( + limits = [ + kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( + default = { + 'key' : '0' + }, + default_request = { + 'key' : '0' + }, + max = { + 'key' : '0' + }, + max_limit_request_ratio = { + 'key' : '0' + }, + min = { + 'key' : '0' + }, + type = '0', ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1LimitRangeList( + items = [ + kubernetes.client.models.v1/limit_range.v1.LimitRange( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( + limits = [ + kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( + default = { + 'key' : '0' + }, + default_request = { + 'key' : '0' + }, + max = { + 'key' : '0' + }, + max_limit_request_ratio = { + 'key' : '0' + }, + min = { + 'key' : '0' + }, + type = '0', ) + ], ), ) + ], + ) + + def testV1LimitRangeList(self): + """Test V1LimitRangeList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_spec.py b/kubernetes/test/test_v1_limit_range_spec.py new file mode 100644 index 0000000000..9f8e1caf14 --- /dev/null +++ b/kubernetes/test/test_v1_limit_range_spec.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_limit_range_spec import V1LimitRangeSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LimitRangeSpec(unittest.TestCase): + """V1LimitRangeSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LimitRangeSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_limit_range_spec.V1LimitRangeSpec() # noqa: E501 + if include_optional : + return V1LimitRangeSpec( + limits = [ + kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( + default = { + 'key' : '0' + }, + default_request = { + 'key' : '0' + }, + max = { + 'key' : '0' + }, + max_limit_request_ratio = { + 'key' : '0' + }, + min = { + 'key' : '0' + }, + type = '0', ) + ] + ) + else : + return V1LimitRangeSpec( + limits = [ + kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( + default = { + 'key' : '0' + }, + default_request = { + 'key' : '0' + }, + max = { + 'key' : '0' + }, + max_limit_request_ratio = { + 'key' : '0' + }, + min = { + 'key' : '0' + }, + type = '0', ) + ], + ) + + def testV1LimitRangeSpec(self): + """Test V1LimitRangeSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_list_meta.py b/kubernetes/test/test_v1_list_meta.py new file mode 100644 index 0000000000..f98b7b2661 --- /dev/null +++ b/kubernetes/test/test_v1_list_meta.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_list_meta import V1ListMeta # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ListMeta(unittest.TestCase): + """V1ListMeta unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ListMeta + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_list_meta.V1ListMeta() # noqa: E501 + if include_optional : + return V1ListMeta( + _continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0' + ) + else : + return V1ListMeta( + ) + + def testV1ListMeta(self): + """Test V1ListMeta""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_load_balancer_ingress.py b/kubernetes/test/test_v1_load_balancer_ingress.py new file mode 100644 index 0000000000..aa446767c2 --- /dev/null +++ b/kubernetes/test/test_v1_load_balancer_ingress.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LoadBalancerIngress(unittest.TestCase): + """V1LoadBalancerIngress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LoadBalancerIngress + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_load_balancer_ingress.V1LoadBalancerIngress() # noqa: E501 + if include_optional : + return V1LoadBalancerIngress( + hostname = '0', + ip = '0' + ) + else : + return V1LoadBalancerIngress( + ) + + def testV1LoadBalancerIngress(self): + """Test V1LoadBalancerIngress""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_load_balancer_status.py b/kubernetes/test/test_v1_load_balancer_status.py new file mode 100644 index 0000000000..53e1f330d9 --- /dev/null +++ b/kubernetes/test/test_v1_load_balancer_status.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_load_balancer_status import V1LoadBalancerStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LoadBalancerStatus(unittest.TestCase): + """V1LoadBalancerStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LoadBalancerStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_load_balancer_status.V1LoadBalancerStatus() # noqa: E501 + if include_optional : + return V1LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ] + ) + else : + return V1LoadBalancerStatus( + ) + + def testV1LoadBalancerStatus(self): + """Test V1LoadBalancerStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_local_object_reference.py b/kubernetes/test/test_v1_local_object_reference.py new file mode 100644 index 0000000000..1b88c47bcd --- /dev/null +++ b/kubernetes/test/test_v1_local_object_reference.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_local_object_reference import V1LocalObjectReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LocalObjectReference(unittest.TestCase): + """V1LocalObjectReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LocalObjectReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_local_object_reference.V1LocalObjectReference() # noqa: E501 + if include_optional : + return V1LocalObjectReference( + name = '0' + ) + else : + return V1LocalObjectReference( + ) + + def testV1LocalObjectReference(self): + """Test V1LocalObjectReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_local_subject_access_review.py b/kubernetes/test/test_v1_local_subject_access_review.py new file mode 100644 index 0000000000..e50bab82c8 --- /dev/null +++ b/kubernetes/test/test_v1_local_subject_access_review.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LocalSubjectAccessReview(unittest.TestCase): + """V1LocalSubjectAccessReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LocalSubjectAccessReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_local_subject_access_review.V1LocalSubjectAccessReview() # noqa: E501 + if include_optional : + return V1LocalSubjectAccessReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0', ), + status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( + allowed = True, + denied = True, + evaluation_error = '0', + reason = '0', ) + ) + else : + return V1LocalSubjectAccessReview( + spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0', ), + ) + + def testV1LocalSubjectAccessReview(self): + """Test V1LocalSubjectAccessReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_local_volume_source.py b/kubernetes/test/test_v1_local_volume_source.py new file mode 100644 index 0000000000..e145f6fe57 --- /dev/null +++ b/kubernetes/test/test_v1_local_volume_source.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_local_volume_source import V1LocalVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1LocalVolumeSource(unittest.TestCase): + """V1LocalVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1LocalVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_local_volume_source.V1LocalVolumeSource() # noqa: E501 + if include_optional : + return V1LocalVolumeSource( + fs_type = '0', + path = '0' + ) + else : + return V1LocalVolumeSource( + path = '0', + ) + + def testV1LocalVolumeSource(self): + """Test V1LocalVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_managed_fields_entry.py b/kubernetes/test/test_v1_managed_fields_entry.py new file mode 100644 index 0000000000..5e236478f0 --- /dev/null +++ b/kubernetes/test/test_v1_managed_fields_entry.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_managed_fields_entry import V1ManagedFieldsEntry # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ManagedFieldsEntry(unittest.TestCase): + """V1ManagedFieldsEntry unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ManagedFieldsEntry + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_managed_fields_entry.V1ManagedFieldsEntry() # noqa: E501 + if include_optional : + return V1ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1ManagedFieldsEntry( + ) + + def testV1ManagedFieldsEntry(self): + """Test V1ManagedFieldsEntry""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook.py b/kubernetes/test/test_v1_mutating_webhook.py new file mode 100644 index 0000000000..45765e92c6 --- /dev/null +++ b/kubernetes/test/test_v1_mutating_webhook.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_mutating_webhook import V1MutatingWebhook # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1MutatingWebhook(unittest.TestCase): + """V1MutatingWebhook unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1MutatingWebhook + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_mutating_webhook.V1MutatingWebhook() # noqa: E501 + if include_optional : + return V1MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + reinvocation_policy = '0', + rules = [ + kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56 + ) + else : + return V1MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + name = '0', + side_effects = '0', + ) + + def testV1MutatingWebhook(self): + """Test V1MutatingWebhook""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook_configuration.py b/kubernetes/test/test_v1_mutating_webhook_configuration.py new file mode 100644 index 0000000000..663c71c212 --- /dev/null +++ b/kubernetes/test/test_v1_mutating_webhook_configuration.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_mutating_webhook_configuration import V1MutatingWebhookConfiguration # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1MutatingWebhookConfiguration(unittest.TestCase): + """V1MutatingWebhookConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1MutatingWebhookConfiguration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_mutating_webhook_configuration.V1MutatingWebhookConfiguration() # noqa: E501 + if include_optional : + return V1MutatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + reinvocation_policy = '0', + rules = [ + kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ] + ) + else : + return V1MutatingWebhookConfiguration( + ) + + def testV1MutatingWebhookConfiguration(self): + """Test V1MutatingWebhookConfiguration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook_configuration_list.py b/kubernetes/test/test_v1_mutating_webhook_configuration_list.py new file mode 100644 index 0000000000..87086ef709 --- /dev/null +++ b/kubernetes/test/test_v1_mutating_webhook_configuration_list.py @@ -0,0 +1,244 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_mutating_webhook_configuration_list import V1MutatingWebhookConfigurationList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1MutatingWebhookConfigurationList(unittest.TestCase): + """V1MutatingWebhookConfigurationList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1MutatingWebhookConfigurationList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_mutating_webhook_configuration_list.V1MutatingWebhookConfigurationList() # noqa: E501 + if include_optional : + return V1MutatingWebhookConfigurationList( + api_version = '0', + items = [ + kubernetes.client.models.v1/mutating_webhook_configuration.v1.MutatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + reinvocation_policy = '0', + rules = [ + kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1MutatingWebhookConfigurationList( + items = [ + kubernetes.client.models.v1/mutating_webhook_configuration.v1.MutatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + reinvocation_policy = '0', + rules = [ + kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ], ) + ], + ) + + def testV1MutatingWebhookConfigurationList(self): + """Test V1MutatingWebhookConfigurationList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_namespace.py b/kubernetes/test/test_v1_namespace.py new file mode 100644 index 0000000000..b38c06f551 --- /dev/null +++ b/kubernetes/test/test_v1_namespace.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_namespace import V1Namespace # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Namespace(unittest.TestCase): + """V1Namespace unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Namespace + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_namespace.V1Namespace() # noqa: E501 + if include_optional : + return V1Namespace( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec( + finalizers = [ + '0' + ], ), + status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( + conditions = [ + kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ) + ) + else : + return V1Namespace( + ) + + def testV1Namespace(self): + """Test V1Namespace""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_namespace_condition.py b/kubernetes/test/test_v1_namespace_condition.py new file mode 100644 index 0000000000..b2ae5214f3 --- /dev/null +++ b/kubernetes/test/test_v1_namespace_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_namespace_condition import V1NamespaceCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NamespaceCondition(unittest.TestCase): + """V1NamespaceCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NamespaceCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_namespace_condition.V1NamespaceCondition() # noqa: E501 + if include_optional : + return V1NamespaceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1NamespaceCondition( + status = '0', + type = '0', + ) + + def testV1NamespaceCondition(self): + """Test V1NamespaceCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_namespace_list.py b/kubernetes/test/test_v1_namespace_list.py new file mode 100644 index 0000000000..641819367b --- /dev/null +++ b/kubernetes/test/test_v1_namespace_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_namespace_list import V1NamespaceList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NamespaceList(unittest.TestCase): + """V1NamespaceList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NamespaceList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_namespace_list.V1NamespaceList() # noqa: E501 + if include_optional : + return V1NamespaceList( + api_version = '0', + items = [ + kubernetes.client.models.v1/namespace.v1.Namespace( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec(), + status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( + conditions = [ + kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1NamespaceList( + items = [ + kubernetes.client.models.v1/namespace.v1.Namespace( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec(), + status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( + conditions = [ + kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], + ) + + def testV1NamespaceList(self): + """Test V1NamespaceList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_namespace_spec.py b/kubernetes/test/test_v1_namespace_spec.py new file mode 100644 index 0000000000..a5ba72f2d1 --- /dev/null +++ b/kubernetes/test/test_v1_namespace_spec.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_namespace_spec import V1NamespaceSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NamespaceSpec(unittest.TestCase): + """V1NamespaceSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NamespaceSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_namespace_spec.V1NamespaceSpec() # noqa: E501 + if include_optional : + return V1NamespaceSpec( + finalizers = [ + '0' + ] + ) + else : + return V1NamespaceSpec( + ) + + def testV1NamespaceSpec(self): + """Test V1NamespaceSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_namespace_status.py b/kubernetes/test/test_v1_namespace_status.py new file mode 100644 index 0000000000..7bfc8b396c --- /dev/null +++ b/kubernetes/test/test_v1_namespace_status.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_namespace_status import V1NamespaceStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NamespaceStatus(unittest.TestCase): + """V1NamespaceStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NamespaceStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_namespace_status.V1NamespaceStatus() # noqa: E501 + if include_optional : + return V1NamespaceStatus( + conditions = [ + kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0' + ) + else : + return V1NamespaceStatus( + ) + + def testV1NamespaceStatus(self): + """Test V1NamespaceStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_network_policy.py b/kubernetes/test/test_v1_network_policy.py new file mode 100644 index 0000000000..67d60d4d3b --- /dev/null +++ b/kubernetes/test/test_v1_network_policy.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_network_policy import V1NetworkPolicy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NetworkPolicy(unittest.TestCase): + """V1NetworkPolicy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NetworkPolicy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_network_policy.V1NetworkPolicy() # noqa: E501 + if include_optional : + return V1NetworkPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( + egress = [ + kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], ) + ], + ingress = [ + kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( + from = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() + ], ) + ], + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + policy_types = [ + '0' + ], ) + ) + else : + return V1NetworkPolicy( + ) + + def testV1NetworkPolicy(self): + """Test V1NetworkPolicy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_egress_rule.py b/kubernetes/test/test_v1_network_policy_egress_rule.py new file mode 100644 index 0000000000..d56ea5ba5e --- /dev/null +++ b/kubernetes/test/test_v1_network_policy_egress_rule.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NetworkPolicyEgressRule(unittest.TestCase): + """V1NetworkPolicyEgressRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NetworkPolicyEgressRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_network_policy_egress_rule.V1NetworkPolicyEgressRule() # noqa: E501 + if include_optional : + return V1NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ] + ) + else : + return V1NetworkPolicyEgressRule( + ) + + def testV1NetworkPolicyEgressRule(self): + """Test V1NetworkPolicyEgressRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_ingress_rule.py b/kubernetes/test/test_v1_network_policy_ingress_rule.py new file mode 100644 index 0000000000..271ef00003 --- /dev/null +++ b/kubernetes/test/test_v1_network_policy_ingress_rule.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NetworkPolicyIngressRule(unittest.TestCase): + """V1NetworkPolicyIngressRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NetworkPolicyIngressRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_network_policy_ingress_rule.V1NetworkPolicyIngressRule() # noqa: E501 + if include_optional : + return V1NetworkPolicyIngressRule( + _from = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], + ports = [ + kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ] + ) + else : + return V1NetworkPolicyIngressRule( + ) + + def testV1NetworkPolicyIngressRule(self): + """Test V1NetworkPolicyIngressRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_list.py b/kubernetes/test/test_v1_network_policy_list.py new file mode 100644 index 0000000000..ccbf0794ef --- /dev/null +++ b/kubernetes/test/test_v1_network_policy_list.py @@ -0,0 +1,226 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_network_policy_list import V1NetworkPolicyList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NetworkPolicyList(unittest.TestCase): + """V1NetworkPolicyList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NetworkPolicyList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_network_policy_list.V1NetworkPolicyList() # noqa: E501 + if include_optional : + return V1NetworkPolicyList( + api_version = '0', + items = [ + kubernetes.client.models.v1/network_policy.v1.NetworkPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( + egress = [ + kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], ) + ], + ingress = [ + kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( + from = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() + ], ) + ], + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + policy_types = [ + '0' + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1NetworkPolicyList( + items = [ + kubernetes.client.models.v1/network_policy.v1.NetworkPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( + egress = [ + kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], ) + ], + ingress = [ + kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( + from = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() + ], ) + ], + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + policy_types = [ + '0' + ], ), ) + ], + ) + + def testV1NetworkPolicyList(self): + """Test V1NetworkPolicyList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_peer.py b/kubernetes/test/test_v1_network_policy_peer.py new file mode 100644 index 0000000000..c045553e80 --- /dev/null +++ b/kubernetes/test/test_v1_network_policy_peer.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_network_policy_peer import V1NetworkPolicyPeer # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NetworkPolicyPeer(unittest.TestCase): + """V1NetworkPolicyPeer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NetworkPolicyPeer + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_network_policy_peer.V1NetworkPolicyPeer() # noqa: E501 + if include_optional : + return V1NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ) + else : + return V1NetworkPolicyPeer( + ) + + def testV1NetworkPolicyPeer(self): + """Test V1NetworkPolicyPeer""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_port.py b/kubernetes/test/test_v1_network_policy_port.py new file mode 100644 index 0000000000..f9eab2ed8e --- /dev/null +++ b/kubernetes/test/test_v1_network_policy_port.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_network_policy_port import V1NetworkPolicyPort # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NetworkPolicyPort(unittest.TestCase): + """V1NetworkPolicyPort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NetworkPolicyPort + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_network_policy_port.V1NetworkPolicyPort() # noqa: E501 + if include_optional : + return V1NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0' + ) + else : + return V1NetworkPolicyPort( + ) + + def testV1NetworkPolicyPort(self): + """Test V1NetworkPolicyPort""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_spec.py b/kubernetes/test/test_v1_network_policy_spec.py new file mode 100644 index 0000000000..b8e3b6ce17 --- /dev/null +++ b/kubernetes/test/test_v1_network_policy_spec.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_network_policy_spec import V1NetworkPolicySpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NetworkPolicySpec(unittest.TestCase): + """V1NetworkPolicySpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NetworkPolicySpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_network_policy_spec.V1NetworkPolicySpec() # noqa: E501 + if include_optional : + return V1NetworkPolicySpec( + egress = [ + kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], ) + ], + ingress = [ + kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( + from = [ + kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], + ports = [ + kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], ) + ], + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + policy_types = [ + '0' + ] + ) + else : + return V1NetworkPolicySpec( + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + ) + + def testV1NetworkPolicySpec(self): + """Test V1NetworkPolicySpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_nfs_volume_source.py b/kubernetes/test/test_v1_nfs_volume_source.py new file mode 100644 index 0000000000..ba0f98318b --- /dev/null +++ b/kubernetes/test/test_v1_nfs_volume_source.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_nfs_volume_source import V1NFSVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NFSVolumeSource(unittest.TestCase): + """V1NFSVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NFSVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_nfs_volume_source.V1NFSVolumeSource() # noqa: E501 + if include_optional : + return V1NFSVolumeSource( + path = '0', + read_only = True, + server = '0' + ) + else : + return V1NFSVolumeSource( + path = '0', + server = '0', + ) + + def testV1NFSVolumeSource(self): + """Test V1NFSVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node.py b/kubernetes/test/test_v1_node.py new file mode 100644 index 0000000000..3841a1f07d --- /dev/null +++ b/kubernetes/test/test_v1_node.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node import V1Node # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Node(unittest.TestCase): + """V1Node unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Node + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node.V1Node() # noqa: E501 + if include_optional : + return V1Node( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( + config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ), + external_id = '0', + pod_cidr = '0', + pod_cid_rs = [ + '0' + ], + provider_id = '0', + taints = [ + kubernetes.client.models.v1/taint.v1.Taint( + effect = '0', + key = '0', + time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + value = '0', ) + ], + unschedulable = True, ), + status = kubernetes.client.models.v1/node_status.v1.NodeStatus( + addresses = [ + kubernetes.client.models.v1/node_address.v1.NodeAddress( + address = '0', + type = '0', ) + ], + allocatable = { + 'key' : '0' + }, + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/node_condition.v1.NodeCondition( + last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( + active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ), + assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), + error = '0', + last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), + daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( + kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( + port = 56, ), ), + images = [ + kubernetes.client.models.v1/container_image.v1.ContainerImage( + names = [ + '0' + ], + size_bytes = 56, ) + ], + node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( + architecture = '0', + boot_id = '0', + container_runtime_version = '0', + kernel_version = '0', + kube_proxy_version = '0', + kubelet_version = '0', + machine_id = '0', + operating_system = '0', + os_image = '0', + system_uuid = '0', ), + phase = '0', + volumes_attached = [ + kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( + device_path = '0', + name = '0', ) + ], + volumes_in_use = [ + '0' + ], ) + ) + else : + return V1Node( + ) + + def testV1Node(self): + """Test V1Node""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_address.py b/kubernetes/test/test_v1_node_address.py new file mode 100644 index 0000000000..a7430c398b --- /dev/null +++ b/kubernetes/test/test_v1_node_address.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_address import V1NodeAddress # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeAddress(unittest.TestCase): + """V1NodeAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeAddress + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_address.V1NodeAddress() # noqa: E501 + if include_optional : + return V1NodeAddress( + address = '0', + type = '0' + ) + else : + return V1NodeAddress( + address = '0', + type = '0', + ) + + def testV1NodeAddress(self): + """Test V1NodeAddress""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_affinity.py b/kubernetes/test/test_v1_node_affinity.py new file mode 100644 index 0000000000..e6011585b3 --- /dev/null +++ b/kubernetes/test/test_v1_node_affinity.py @@ -0,0 +1,86 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_affinity import V1NodeAffinity # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeAffinity(unittest.TestCase): + """V1NodeAffinity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeAffinity + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_affinity.V1NodeAffinity() # noqa: E501 + if include_optional : + return V1NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ) + ) + else : + return V1NodeAffinity( + ) + + def testV1NodeAffinity(self): + """Test V1NodeAffinity""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_condition.py b/kubernetes/test/test_v1_node_condition.py new file mode 100644 index 0000000000..cde95f2a6e --- /dev/null +++ b/kubernetes/test/test_v1_node_condition.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_condition import V1NodeCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeCondition(unittest.TestCase): + """V1NodeCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_condition.V1NodeCondition() # noqa: E501 + if include_optional : + return V1NodeCondition( + last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1NodeCondition( + status = '0', + type = '0', + ) + + def testV1NodeCondition(self): + """Test V1NodeCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_config_source.py b/kubernetes/test/test_v1_node_config_source.py new file mode 100644 index 0000000000..6726e2a6d2 --- /dev/null +++ b/kubernetes/test/test_v1_node_config_source.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_config_source import V1NodeConfigSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeConfigSource(unittest.TestCase): + """V1NodeConfigSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeConfigSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_config_source.V1NodeConfigSource() # noqa: E501 + if include_optional : + return V1NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ) + else : + return V1NodeConfigSource( + ) + + def testV1NodeConfigSource(self): + """Test V1NodeConfigSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_config_status.py b/kubernetes/test/test_v1_node_config_status.py new file mode 100644 index 0000000000..1f28d4f2a8 --- /dev/null +++ b/kubernetes/test/test_v1_node_config_status.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_config_status import V1NodeConfigStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeConfigStatus(unittest.TestCase): + """V1NodeConfigStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeConfigStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_config_status.V1NodeConfigStatus() # noqa: E501 + if include_optional : + return V1NodeConfigStatus( + active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ), + assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ), + error = '0', + last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ) + ) + else : + return V1NodeConfigStatus( + ) + + def testV1NodeConfigStatus(self): + """Test V1NodeConfigStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_daemon_endpoints.py b/kubernetes/test/test_v1_node_daemon_endpoints.py new file mode 100644 index 0000000000..a88a8e447e --- /dev/null +++ b/kubernetes/test/test_v1_node_daemon_endpoints.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeDaemonEndpoints(unittest.TestCase): + """V1NodeDaemonEndpoints unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeDaemonEndpoints + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_daemon_endpoints.V1NodeDaemonEndpoints() # noqa: E501 + if include_optional : + return V1NodeDaemonEndpoints( + kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( + port = 56, ) + ) + else : + return V1NodeDaemonEndpoints( + ) + + def testV1NodeDaemonEndpoints(self): + """Test V1NodeDaemonEndpoints""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_list.py b/kubernetes/test/test_v1_node_list.py new file mode 100644 index 0000000000..532f929a19 --- /dev/null +++ b/kubernetes/test/test_v1_node_list.py @@ -0,0 +1,302 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_list import V1NodeList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeList(unittest.TestCase): + """V1NodeList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_list.V1NodeList() # noqa: E501 + if include_optional : + return V1NodeList( + api_version = '0', + items = [ + kubernetes.client.models.v1/node.v1.Node( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( + config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ), + external_id = '0', + pod_cidr = '0', + pod_cid_rs = [ + '0' + ], + provider_id = '0', + taints = [ + kubernetes.client.models.v1/taint.v1.Taint( + effect = '0', + key = '0', + time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + value = '0', ) + ], + unschedulable = True, ), + status = kubernetes.client.models.v1/node_status.v1.NodeStatus( + addresses = [ + kubernetes.client.models.v1/node_address.v1.NodeAddress( + address = '0', + type = '0', ) + ], + allocatable = { + 'key' : '0' + }, + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/node_condition.v1.NodeCondition( + last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( + active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), + assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), + error = '0', + last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), + daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( + kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( + port = 56, ), ), + images = [ + kubernetes.client.models.v1/container_image.v1.ContainerImage( + names = [ + '0' + ], + size_bytes = 56, ) + ], + node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( + architecture = '0', + boot_id = '0', + container_runtime_version = '0', + kernel_version = '0', + kube_proxy_version = '0', + kubelet_version = '0', + machine_id = '0', + operating_system = '0', + os_image = '0', + system_uuid = '0', ), + phase = '0', + volumes_attached = [ + kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( + device_path = '0', + name = '0', ) + ], + volumes_in_use = [ + '0' + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1NodeList( + items = [ + kubernetes.client.models.v1/node.v1.Node( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( + config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ), + external_id = '0', + pod_cidr = '0', + pod_cid_rs = [ + '0' + ], + provider_id = '0', + taints = [ + kubernetes.client.models.v1/taint.v1.Taint( + effect = '0', + key = '0', + time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + value = '0', ) + ], + unschedulable = True, ), + status = kubernetes.client.models.v1/node_status.v1.NodeStatus( + addresses = [ + kubernetes.client.models.v1/node_address.v1.NodeAddress( + address = '0', + type = '0', ) + ], + allocatable = { + 'key' : '0' + }, + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/node_condition.v1.NodeCondition( + last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( + active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), + assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), + error = '0', + last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), + daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( + kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( + port = 56, ), ), + images = [ + kubernetes.client.models.v1/container_image.v1.ContainerImage( + names = [ + '0' + ], + size_bytes = 56, ) + ], + node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( + architecture = '0', + boot_id = '0', + container_runtime_version = '0', + kernel_version = '0', + kube_proxy_version = '0', + kubelet_version = '0', + machine_id = '0', + operating_system = '0', + os_image = '0', + system_uuid = '0', ), + phase = '0', + volumes_attached = [ + kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( + device_path = '0', + name = '0', ) + ], + volumes_in_use = [ + '0' + ], ), ) + ], + ) + + def testV1NodeList(self): + """Test V1NodeList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_selector.py b/kubernetes/test/test_v1_node_selector.py new file mode 100644 index 0000000000..555129d0d8 --- /dev/null +++ b/kubernetes/test/test_v1_node_selector.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_selector import V1NodeSelector # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeSelector(unittest.TestCase): + """V1NodeSelector unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeSelector + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_selector.V1NodeSelector() # noqa: E501 + if include_optional : + return V1NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ] + ) + else : + return V1NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], + ) + + def testV1NodeSelector(self): + """Test V1NodeSelector""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_selector_requirement.py b/kubernetes/test/test_v1_node_selector_requirement.py new file mode 100644 index 0000000000..8b3171b937 --- /dev/null +++ b/kubernetes/test/test_v1_node_selector_requirement.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_selector_requirement import V1NodeSelectorRequirement # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeSelectorRequirement(unittest.TestCase): + """V1NodeSelectorRequirement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeSelectorRequirement + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_selector_requirement.V1NodeSelectorRequirement() # noqa: E501 + if include_optional : + return V1NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ] + ) + else : + return V1NodeSelectorRequirement( + key = '0', + operator = '0', + ) + + def testV1NodeSelectorRequirement(self): + """Test V1NodeSelectorRequirement""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_selector_term.py b/kubernetes/test/test_v1_node_selector_term.py new file mode 100644 index 0000000000..5c8f1175e4 --- /dev/null +++ b/kubernetes/test/test_v1_node_selector_term.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_selector_term import V1NodeSelectorTerm # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeSelectorTerm(unittest.TestCase): + """V1NodeSelectorTerm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeSelectorTerm + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_selector_term.V1NodeSelectorTerm() # noqa: E501 + if include_optional : + return V1NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ] + ) + else : + return V1NodeSelectorTerm( + ) + + def testV1NodeSelectorTerm(self): + """Test V1NodeSelectorTerm""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_spec.py b/kubernetes/test/test_v1_node_spec.py new file mode 100644 index 0000000000..2c6619b9e9 --- /dev/null +++ b/kubernetes/test/test_v1_node_spec.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_spec import V1NodeSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeSpec(unittest.TestCase): + """V1NodeSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_spec.V1NodeSpec() # noqa: E501 + if include_optional : + return V1NodeSpec( + config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ), + external_id = '0', + pod_cidr = '0', + pod_cid_rs = [ + '0' + ], + provider_id = '0', + taints = [ + kubernetes.client.models.v1/taint.v1.Taint( + effect = '0', + key = '0', + time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + value = '0', ) + ], + unschedulable = True + ) + else : + return V1NodeSpec( + ) + + def testV1NodeSpec(self): + """Test V1NodeSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_status.py b/kubernetes/test/test_v1_node_status.py new file mode 100644 index 0000000000..1c9d376ca9 --- /dev/null +++ b/kubernetes/test/test_v1_node_status.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_status import V1NodeStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeStatus(unittest.TestCase): + """V1NodeStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_status.V1NodeStatus() # noqa: E501 + if include_optional : + return V1NodeStatus( + addresses = [ + kubernetes.client.models.v1/node_address.v1.NodeAddress( + address = '0', + type = '0', ) + ], + allocatable = { + 'key' : '0' + }, + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/node_condition.v1.NodeCondition( + last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( + active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( + config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( + kubelet_config_key = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), ), + assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), + error = '0', + last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), + daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( + kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( + port = 56, ), ), + images = [ + kubernetes.client.models.v1/container_image.v1.ContainerImage( + names = [ + '0' + ], + size_bytes = 56, ) + ], + node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( + architecture = '0', + boot_id = '0', + container_runtime_version = '0', + kernel_version = '0', + kube_proxy_version = '0', + kubelet_version = '0', + machine_id = '0', + operating_system = '0', + os_image = '0', + system_uuid = '0', ), + phase = '0', + volumes_attached = [ + kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( + device_path = '0', + name = '0', ) + ], + volumes_in_use = [ + '0' + ] + ) + else : + return V1NodeStatus( + ) + + def testV1NodeStatus(self): + """Test V1NodeStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_node_system_info.py b/kubernetes/test/test_v1_node_system_info.py new file mode 100644 index 0000000000..cf8ed26712 --- /dev/null +++ b/kubernetes/test/test_v1_node_system_info.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_node_system_info import V1NodeSystemInfo # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NodeSystemInfo(unittest.TestCase): + """V1NodeSystemInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NodeSystemInfo + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_node_system_info.V1NodeSystemInfo() # noqa: E501 + if include_optional : + return V1NodeSystemInfo( + architecture = '0', + boot_id = '0', + container_runtime_version = '0', + kernel_version = '0', + kube_proxy_version = '0', + kubelet_version = '0', + machine_id = '0', + operating_system = '0', + os_image = '0', + system_uuid = '0' + ) + else : + return V1NodeSystemInfo( + architecture = '0', + boot_id = '0', + container_runtime_version = '0', + kernel_version = '0', + kube_proxy_version = '0', + kubelet_version = '0', + machine_id = '0', + operating_system = '0', + os_image = '0', + system_uuid = '0', + ) + + def testV1NodeSystemInfo(self): + """Test V1NodeSystemInfo""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_non_resource_attributes.py b/kubernetes/test/test_v1_non_resource_attributes.py new file mode 100644 index 0000000000..bbf2011ba4 --- /dev/null +++ b/kubernetes/test/test_v1_non_resource_attributes.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_non_resource_attributes import V1NonResourceAttributes # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NonResourceAttributes(unittest.TestCase): + """V1NonResourceAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NonResourceAttributes + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_non_resource_attributes.V1NonResourceAttributes() # noqa: E501 + if include_optional : + return V1NonResourceAttributes( + path = '0', + verb = '0' + ) + else : + return V1NonResourceAttributes( + ) + + def testV1NonResourceAttributes(self): + """Test V1NonResourceAttributes""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_non_resource_rule.py b/kubernetes/test/test_v1_non_resource_rule.py new file mode 100644 index 0000000000..549dc5d2ec --- /dev/null +++ b/kubernetes/test/test_v1_non_resource_rule.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_non_resource_rule import V1NonResourceRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1NonResourceRule(unittest.TestCase): + """V1NonResourceRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1NonResourceRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_non_resource_rule.V1NonResourceRule() # noqa: E501 + if include_optional : + return V1NonResourceRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1NonResourceRule( + verbs = [ + '0' + ], + ) + + def testV1NonResourceRule(self): + """Test V1NonResourceRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_object_field_selector.py b/kubernetes/test/test_v1_object_field_selector.py new file mode 100644 index 0000000000..b7711e72c8 --- /dev/null +++ b/kubernetes/test/test_v1_object_field_selector.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_object_field_selector import V1ObjectFieldSelector # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ObjectFieldSelector(unittest.TestCase): + """V1ObjectFieldSelector unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ObjectFieldSelector + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_object_field_selector.V1ObjectFieldSelector() # noqa: E501 + if include_optional : + return V1ObjectFieldSelector( + api_version = '0', + field_path = '0' + ) + else : + return V1ObjectFieldSelector( + field_path = '0', + ) + + def testV1ObjectFieldSelector(self): + """Test V1ObjectFieldSelector""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_object_meta.py b/kubernetes/test/test_v1_object_meta.py new file mode 100644 index 0000000000..61672d095a --- /dev/null +++ b/kubernetes/test/test_v1_object_meta.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_object_meta import V1ObjectMeta # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ObjectMeta(unittest.TestCase): + """V1ObjectMeta unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ObjectMeta + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_object_meta.V1ObjectMeta() # noqa: E501 + if include_optional : + return V1ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0' + ) + else : + return V1ObjectMeta( + ) + + def testV1ObjectMeta(self): + """Test V1ObjectMeta""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_object_reference.py b/kubernetes/test/test_v1_object_reference.py new file mode 100644 index 0000000000..0bf0d0981c --- /dev/null +++ b/kubernetes/test/test_v1_object_reference.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_object_reference import V1ObjectReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ObjectReference(unittest.TestCase): + """V1ObjectReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ObjectReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_object_reference.V1ObjectReference() # noqa: E501 + if include_optional : + return V1ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0' + ) + else : + return V1ObjectReference( + ) + + def testV1ObjectReference(self): + """Test V1ObjectReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_owner_reference.py b/kubernetes/test/test_v1_owner_reference.py new file mode 100644 index 0000000000..4fe44c511a --- /dev/null +++ b/kubernetes/test/test_v1_owner_reference.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_owner_reference import V1OwnerReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1OwnerReference(unittest.TestCase): + """V1OwnerReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1OwnerReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_owner_reference.V1OwnerReference() # noqa: E501 + if include_optional : + return V1OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0' + ) + else : + return V1OwnerReference( + api_version = '0', + kind = '0', + name = '0', + uid = '0', + ) + + def testV1OwnerReference(self): + """Test V1OwnerReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume.py b/kubernetes/test/test_v1_persistent_volume.py new file mode 100644 index 0000000000..05139551f9 --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume.py @@ -0,0 +1,287 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume import V1PersistentVolume # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolume(unittest.TestCase): + """V1PersistentVolume unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolume + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume.V1PersistentVolume() # noqa: E501 + if include_optional : + return V1PersistentVolume( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( + message = '0', + phase = '0', + reason = '0', ) + ) + else : + return V1PersistentVolume( + ) + + def testV1PersistentVolume(self): + """Test V1PersistentVolume""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim.py b/kubernetes/test/test_v1_persistent_volume_claim.py new file mode 100644 index 0000000000..af1b9feaaf --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_claim.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeClaim(unittest.TestCase): + """V1PersistentVolumeClaim unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeClaim + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_claim.V1PersistentVolumeClaim() # noqa: E501 + if include_optional : + return V1PersistentVolumeClaim( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( + access_modes = [ + '0' + ], + data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( + api_group = '0', + kind = '0', + name = '0', ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + storage_class_name = '0', + volume_mode = '0', + volume_name = '0', ), + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ) + ) + else : + return V1PersistentVolumeClaim( + ) + + def testV1PersistentVolumeClaim(self): + """Test V1PersistentVolumeClaim""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_condition.py b/kubernetes/test/test_v1_persistent_volume_claim_condition.py new file mode 100644 index 0000000000..e32d1b2b5d --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_claim_condition.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeClaimCondition(unittest.TestCase): + """V1PersistentVolumeClaimCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeClaimCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_claim_condition.V1PersistentVolumeClaimCondition() # noqa: E501 + if include_optional : + return V1PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1PersistentVolumeClaimCondition( + status = '0', + type = '0', + ) + + def testV1PersistentVolumeClaimCondition(self): + """Test V1PersistentVolumeClaimCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_list.py b/kubernetes/test/test_v1_persistent_volume_claim_list.py new file mode 100644 index 0000000000..6e772f4f6e --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_claim_list.py @@ -0,0 +1,234 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeClaimList(unittest.TestCase): + """V1PersistentVolumeClaimList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeClaimList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_claim_list.V1PersistentVolumeClaimList() # noqa: E501 + if include_optional : + return V1PersistentVolumeClaimList( + api_version = '0', + items = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( + access_modes = [ + '0' + ], + data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( + api_group = '0', + kind = '0', + name = '0', ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + storage_class_name = '0', + volume_mode = '0', + volume_name = '0', ), + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1PersistentVolumeClaimList( + items = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( + access_modes = [ + '0' + ], + data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( + api_group = '0', + kind = '0', + name = '0', ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + storage_class_name = '0', + volume_mode = '0', + volume_name = '0', ), + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], + ) + + def testV1PersistentVolumeClaimList(self): + """Test V1PersistentVolumeClaimList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_spec.py b/kubernetes/test/test_v1_persistent_volume_claim_spec.py new file mode 100644 index 0000000000..4a5fcf69e7 --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_claim_spec.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeClaimSpec(unittest.TestCase): + """V1PersistentVolumeClaimSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeClaimSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_claim_spec.V1PersistentVolumeClaimSpec() # noqa: E501 + if include_optional : + return V1PersistentVolumeClaimSpec( + access_modes = [ + '0' + ], + data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( + api_group = '0', + kind = '0', + name = '0', ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + storage_class_name = '0', + volume_mode = '0', + volume_name = '0' + ) + else : + return V1PersistentVolumeClaimSpec( + ) + + def testV1PersistentVolumeClaimSpec(self): + """Test V1PersistentVolumeClaimSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_status.py b/kubernetes/test/test_v1_persistent_volume_claim_status.py new file mode 100644 index 0000000000..610ebbea96 --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_claim_status.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeClaimStatus(unittest.TestCase): + """V1PersistentVolumeClaimStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeClaimStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_claim_status.V1PersistentVolumeClaimStatus() # noqa: E501 + if include_optional : + return V1PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0' + ) + else : + return V1PersistentVolumeClaimStatus( + ) + + def testV1PersistentVolumeClaimStatus(self): + """Test V1PersistentVolumeClaimStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py new file mode 100644 index 0000000000..2be77a0b22 --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeClaimVolumeSource(unittest.TestCase): + """V1PersistentVolumeClaimVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeClaimVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_claim_volume_source.V1PersistentVolumeClaimVolumeSource() # noqa: E501 + if include_optional : + return V1PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True + ) + else : + return V1PersistentVolumeClaimVolumeSource( + claim_name = '0', + ) + + def testV1PersistentVolumeClaimVolumeSource(self): + """Test V1PersistentVolumeClaimVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_list.py b/kubernetes/test/test_v1_persistent_volume_list.py new file mode 100644 index 0000000000..f581c95681 --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_list.py @@ -0,0 +1,536 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_list import V1PersistentVolumeList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeList(unittest.TestCase): + """V1PersistentVolumeList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_list.V1PersistentVolumeList() # noqa: E501 + if include_optional : + return V1PersistentVolumeList( + api_version = '0', + items = [ + kubernetes.client.models.v1/persistent_volume.v1.PersistentVolume( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( + message = '0', + phase = '0', + reason = '0', ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1PersistentVolumeList( + items = [ + kubernetes.client.models.v1/persistent_volume.v1.PersistentVolume( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( + message = '0', + phase = '0', + reason = '0', ), ) + ], + ) + + def testV1PersistentVolumeList(self): + """Test V1PersistentVolumeList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_spec.py b/kubernetes/test/test_v1_persistent_volume_spec.py new file mode 100644 index 0000000000..4a66728f94 --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_spec.py @@ -0,0 +1,261 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeSpec(unittest.TestCase): + """V1PersistentVolumeSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_spec.V1PersistentVolumeSpec() # noqa: E501 + if include_optional : + return V1PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ) + ) + else : + return V1PersistentVolumeSpec( + ) + + def testV1PersistentVolumeSpec(self): + """Test V1PersistentVolumeSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_status.py b/kubernetes/test/test_v1_persistent_volume_status.py new file mode 100644 index 0000000000..7bf093a3a9 --- /dev/null +++ b/kubernetes/test/test_v1_persistent_volume_status.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PersistentVolumeStatus(unittest.TestCase): + """V1PersistentVolumeStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PersistentVolumeStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_persistent_volume_status.V1PersistentVolumeStatus() # noqa: E501 + if include_optional : + return V1PersistentVolumeStatus( + message = '0', + phase = '0', + reason = '0' + ) + else : + return V1PersistentVolumeStatus( + ) + + def testV1PersistentVolumeStatus(self): + """Test V1PersistentVolumeStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py new file mode 100644 index 0000000000..58f55f456e --- /dev/null +++ b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PhotonPersistentDiskVolumeSource(unittest.TestCase): + """V1PhotonPersistentDiskVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PhotonPersistentDiskVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_photon_persistent_disk_volume_source.V1PhotonPersistentDiskVolumeSource() # noqa: E501 + if include_optional : + return V1PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0' + ) + else : + return V1PhotonPersistentDiskVolumeSource( + pd_id = '0', + ) + + def testV1PhotonPersistentDiskVolumeSource(self): + """Test V1PhotonPersistentDiskVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod.py b/kubernetes/test/test_v1_pod.py new file mode 100644 index 0000000000..7ca8fb4b7c --- /dev/null +++ b/kubernetes/test/test_v1_pod.py @@ -0,0 +1,603 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod import V1Pod # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Pod(unittest.TestCase): + """V1Pod unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Pod + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod.V1Pod() # noqa: E501 + if include_optional : + return V1Pod( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), + status = kubernetes.client.models.v1/pod_status.v1.PodStatus( + conditions = [ + kubernetes.client.models.v1/pod_condition.v1.PodCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ), ), + name = '0', + ready = True, + restart_count = 56, + started = True, + state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) + ], + ephemeral_container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + name = '0', + ready = True, + restart_count = 56, + started = True, ) + ], + host_ip = '0', + init_container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + name = '0', + ready = True, + restart_count = 56, + started = True, ) + ], + message = '0', + nominated_node_name = '0', + phase = '0', + pod_ip = '0', + pod_i_ps = [ + kubernetes.client.models.v1/pod_ip.v1.PodIP( + ip = '0', ) + ], + qos_class = '0', + reason = '0', + start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ) + else : + return V1Pod( + ) + + def testV1Pod(self): + """Test V1Pod""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_affinity.py b/kubernetes/test/test_v1_pod_affinity.py new file mode 100644 index 0000000000..c37020bbc7 --- /dev/null +++ b/kubernetes/test/test_v1_pod_affinity.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_affinity import V1PodAffinity # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodAffinity(unittest.TestCase): + """V1PodAffinity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodAffinity + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_affinity.V1PodAffinity() # noqa: E501 + if include_optional : + return V1PodAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( + pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0', ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0', ) + ] + ) + else : + return V1PodAffinity( + ) + + def testV1PodAffinity(self): + """Test V1PodAffinity""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_affinity_term.py b/kubernetes/test/test_v1_pod_affinity_term.py new file mode 100644 index 0000000000..86141a9ab2 --- /dev/null +++ b/kubernetes/test/test_v1_pod_affinity_term.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_affinity_term import V1PodAffinityTerm # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodAffinityTerm(unittest.TestCase): + """V1PodAffinityTerm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodAffinityTerm + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_affinity_term.V1PodAffinityTerm() # noqa: E501 + if include_optional : + return V1PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0' + ) + else : + return V1PodAffinityTerm( + topology_key = '0', + ) + + def testV1PodAffinityTerm(self): + """Test V1PodAffinityTerm""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_anti_affinity.py b/kubernetes/test/test_v1_pod_anti_affinity.py new file mode 100644 index 0000000000..ca2f4d1b25 --- /dev/null +++ b/kubernetes/test/test_v1_pod_anti_affinity.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_anti_affinity import V1PodAntiAffinity # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodAntiAffinity(unittest.TestCase): + """V1PodAntiAffinity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodAntiAffinity + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_anti_affinity.V1PodAntiAffinity() # noqa: E501 + if include_optional : + return V1PodAntiAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( + pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0', ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0', ) + ] + ) + else : + return V1PodAntiAffinity( + ) + + def testV1PodAntiAffinity(self): + """Test V1PodAntiAffinity""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_condition.py b/kubernetes/test/test_v1_pod_condition.py new file mode 100644 index 0000000000..88cd0074c2 --- /dev/null +++ b/kubernetes/test/test_v1_pod_condition.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_condition import V1PodCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodCondition(unittest.TestCase): + """V1PodCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_condition.V1PodCondition() # noqa: E501 + if include_optional : + return V1PodCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1PodCondition( + status = '0', + type = '0', + ) + + def testV1PodCondition(self): + """Test V1PodCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_dns_config.py b/kubernetes/test/test_v1_pod_dns_config.py new file mode 100644 index 0000000000..51d4f9655d --- /dev/null +++ b/kubernetes/test/test_v1_pod_dns_config.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_dns_config import V1PodDNSConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodDNSConfig(unittest.TestCase): + """V1PodDNSConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodDNSConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_dns_config.V1PodDNSConfig() # noqa: E501 + if include_optional : + return V1PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ] + ) + else : + return V1PodDNSConfig( + ) + + def testV1PodDNSConfig(self): + """Test V1PodDNSConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_dns_config_option.py b/kubernetes/test/test_v1_pod_dns_config_option.py new file mode 100644 index 0000000000..6aa749da90 --- /dev/null +++ b/kubernetes/test/test_v1_pod_dns_config_option.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodDNSConfigOption(unittest.TestCase): + """V1PodDNSConfigOption unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodDNSConfigOption + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_dns_config_option.V1PodDNSConfigOption() # noqa: E501 + if include_optional : + return V1PodDNSConfigOption( + name = '0', + value = '0' + ) + else : + return V1PodDNSConfigOption( + ) + + def testV1PodDNSConfigOption(self): + """Test V1PodDNSConfigOption""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_ip.py b/kubernetes/test/test_v1_pod_ip.py new file mode 100644 index 0000000000..9c5a67ffb7 --- /dev/null +++ b/kubernetes/test/test_v1_pod_ip.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_ip import V1PodIP # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodIP(unittest.TestCase): + """V1PodIP unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodIP + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_ip.V1PodIP() # noqa: E501 + if include_optional : + return V1PodIP( + ip = '0' + ) + else : + return V1PodIP( + ) + + def testV1PodIP(self): + """Test V1PodIP""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_list.py b/kubernetes/test/test_v1_pod_list.py new file mode 100644 index 0000000000..30e0ff4199 --- /dev/null +++ b/kubernetes/test/test_v1_pod_list.py @@ -0,0 +1,1168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_list import V1PodList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodList(unittest.TestCase): + """V1PodList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_list.V1PodList() # noqa: E501 + if include_optional : + return V1PodList( + api_version = '0', + items = [ + kubernetes.client.models.v1/pod.v1.Pod( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), + status = kubernetes.client.models.v1/pod_status.v1.PodStatus( + conditions = [ + kubernetes.client.models.v1/pod_condition.v1.PodCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ), ), + name = '0', + ready = True, + restart_count = 56, + started = True, + state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) + ], + ephemeral_container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + name = '0', + ready = True, + restart_count = 56, + started = True, ) + ], + host_ip = '0', + init_container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + name = '0', + ready = True, + restart_count = 56, + started = True, ) + ], + message = '0', + nominated_node_name = '0', + phase = '0', + pod_ip = '0', + pod_i_ps = [ + kubernetes.client.models.v1/pod_ip.v1.PodIP( + ip = '0', ) + ], + qos_class = '0', + reason = '0', + start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1PodList( + items = [ + kubernetes.client.models.v1/pod.v1.Pod( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), + status = kubernetes.client.models.v1/pod_status.v1.PodStatus( + conditions = [ + kubernetes.client.models.v1/pod_condition.v1.PodCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ), ), + name = '0', + ready = True, + restart_count = 56, + started = True, + state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) + ], + ephemeral_container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + name = '0', + ready = True, + restart_count = 56, + started = True, ) + ], + host_ip = '0', + init_container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + name = '0', + ready = True, + restart_count = 56, + started = True, ) + ], + message = '0', + nominated_node_name = '0', + phase = '0', + pod_ip = '0', + pod_i_ps = [ + kubernetes.client.models.v1/pod_ip.v1.PodIP( + ip = '0', ) + ], + qos_class = '0', + reason = '0', + start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + ) + + def testV1PodList(self): + """Test V1PodList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_readiness_gate.py b/kubernetes/test/test_v1_pod_readiness_gate.py new file mode 100644 index 0000000000..1ac4f05724 --- /dev/null +++ b/kubernetes/test/test_v1_pod_readiness_gate.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_readiness_gate import V1PodReadinessGate # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodReadinessGate(unittest.TestCase): + """V1PodReadinessGate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodReadinessGate + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_readiness_gate.V1PodReadinessGate() # noqa: E501 + if include_optional : + return V1PodReadinessGate( + condition_type = '0' + ) + else : + return V1PodReadinessGate( + condition_type = '0', + ) + + def testV1PodReadinessGate(self): + """Test V1PodReadinessGate""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_security_context.py b/kubernetes/test/test_v1_pod_security_context.py new file mode 100644 index 0000000000..49d2428286 --- /dev/null +++ b/kubernetes/test/test_v1_pod_security_context.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_security_context import V1PodSecurityContext # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodSecurityContext(unittest.TestCase): + """V1PodSecurityContext unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodSecurityContext + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_security_context.V1PodSecurityContext() # noqa: E501 + if include_optional : + return V1PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ) + ) + else : + return V1PodSecurityContext( + ) + + def testV1PodSecurityContext(self): + """Test V1PodSecurityContext""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_spec.py b/kubernetes/test/test_v1_pod_spec.py new file mode 100644 index 0000000000..b9c458a9b6 --- /dev/null +++ b/kubernetes/test/test_v1_pod_spec.py @@ -0,0 +1,903 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_spec import V1PodSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodSpec(unittest.TestCase): + """V1PodSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_spec.V1PodSpec() # noqa: E501 + if include_optional : + return V1PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ] + ) + else : + return V1PodSpec( + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + ) + + def testV1PodSpec(self): + """Test V1PodSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_status.py b/kubernetes/test/test_v1_pod_status.py new file mode 100644 index 0000000000..2e58d7d2ea --- /dev/null +++ b/kubernetes/test/test_v1_pod_status.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_status import V1PodStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodStatus(unittest.TestCase): + """V1PodStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_status.V1PodStatus() # noqa: E501 + if include_optional : + return V1PodStatus( + conditions = [ + kubernetes.client.models.v1/pod_condition.v1.PodCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ), ), + name = '0', + ready = True, + restart_count = 56, + started = True, + state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) + ], + ephemeral_container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ), ), + name = '0', + ready = True, + restart_count = 56, + started = True, + state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) + ], + host_ip = '0', + init_container_statuses = [ + kubernetes.client.models.v1/container_status.v1.ContainerStatus( + container_id = '0', + image = '0', + image_id = '0', + last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( + running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( + container_id = '0', + exit_code = 56, + finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + signal = 56, + started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( + message = '0', + reason = '0', ), ), + name = '0', + ready = True, + restart_count = 56, + started = True, + state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) + ], + message = '0', + nominated_node_name = '0', + phase = '0', + pod_ip = '0', + pod_i_ps = [ + kubernetes.client.models.v1/pod_ip.v1.PodIP( + ip = '0', ) + ], + qos_class = '0', + reason = '0', + start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1PodStatus( + ) + + def testV1PodStatus(self): + """Test V1PodStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_template.py b/kubernetes/test/test_v1_pod_template.py new file mode 100644 index 0000000000..a84c00ab47 --- /dev/null +++ b/kubernetes/test/test_v1_pod_template.py @@ -0,0 +1,576 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_template import V1PodTemplate # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodTemplate(unittest.TestCase): + """V1PodTemplate unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodTemplate + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_template.V1PodTemplate() # noqa: E501 + if include_optional : + return V1PodTemplate( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return V1PodTemplate( + ) + + def testV1PodTemplate(self): + """Test V1PodTemplate""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_template_list.py b/kubernetes/test/test_v1_pod_template_list.py new file mode 100644 index 0000000000..359a4e25e6 --- /dev/null +++ b/kubernetes/test/test_v1_pod_template_list.py @@ -0,0 +1,1036 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_template_list import V1PodTemplateList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodTemplateList(unittest.TestCase): + """V1PodTemplateList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodTemplateList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_template_list.V1PodTemplateList() # noqa: E501 + if include_optional : + return V1PodTemplateList( + api_version = '0', + items = [ + kubernetes.client.models.v1/pod_template.v1.PodTemplate( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1PodTemplateList( + items = [ + kubernetes.client.models.v1/pod_template.v1.PodTemplate( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), ) + ], + ) + + def testV1PodTemplateList(self): + """Test V1PodTemplateList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_pod_template_spec.py b/kubernetes/test/test_v1_pod_template_spec.py new file mode 100644 index 0000000000..b4c8b15225 --- /dev/null +++ b/kubernetes/test/test_v1_pod_template_spec.py @@ -0,0 +1,534 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_pod_template_spec import V1PodTemplateSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PodTemplateSpec(unittest.TestCase): + """V1PodTemplateSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PodTemplateSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_pod_template_spec.V1PodTemplateSpec() # noqa: E501 + if include_optional : + return V1PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ) + ) + else : + return V1PodTemplateSpec( + ) + + def testV1PodTemplateSpec(self): + """Test V1PodTemplateSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_policy_rule.py b/kubernetes/test/test_v1_policy_rule.py new file mode 100644 index 0000000000..58cff3366e --- /dev/null +++ b/kubernetes/test/test_v1_policy_rule.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_policy_rule import V1PolicyRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PolicyRule(unittest.TestCase): + """V1PolicyRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PolicyRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_policy_rule.V1PolicyRule() # noqa: E501 + if include_optional : + return V1PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1PolicyRule( + verbs = [ + '0' + ], + ) + + def testV1PolicyRule(self): + """Test V1PolicyRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_portworx_volume_source.py b/kubernetes/test/test_v1_portworx_volume_source.py new file mode 100644 index 0000000000..40e6bb3c4c --- /dev/null +++ b/kubernetes/test/test_v1_portworx_volume_source.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_portworx_volume_source import V1PortworxVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PortworxVolumeSource(unittest.TestCase): + """V1PortworxVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PortworxVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_portworx_volume_source.V1PortworxVolumeSource() # noqa: E501 + if include_optional : + return V1PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0' + ) + else : + return V1PortworxVolumeSource( + volume_id = '0', + ) + + def testV1PortworxVolumeSource(self): + """Test V1PortworxVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_preconditions.py b/kubernetes/test/test_v1_preconditions.py new file mode 100644 index 0000000000..1bf78c9544 --- /dev/null +++ b/kubernetes/test/test_v1_preconditions.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_preconditions import V1Preconditions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Preconditions(unittest.TestCase): + """V1Preconditions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Preconditions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_preconditions.V1Preconditions() # noqa: E501 + if include_optional : + return V1Preconditions( + resource_version = '0', + uid = '0' + ) + else : + return V1Preconditions( + ) + + def testV1Preconditions(self): + """Test V1Preconditions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_preferred_scheduling_term.py b/kubernetes/test/test_v1_preferred_scheduling_term.py new file mode 100644 index 0000000000..776b441990 --- /dev/null +++ b/kubernetes/test/test_v1_preferred_scheduling_term.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_preferred_scheduling_term import V1PreferredSchedulingTerm # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PreferredSchedulingTerm(unittest.TestCase): + """V1PreferredSchedulingTerm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PreferredSchedulingTerm + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_preferred_scheduling_term.V1PreferredSchedulingTerm() # noqa: E501 + if include_optional : + return V1PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56 + ) + else : + return V1PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, + ) + + def testV1PreferredSchedulingTerm(self): + """Test V1PreferredSchedulingTerm""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_priority_class.py b/kubernetes/test/test_v1_priority_class.py new file mode 100644 index 0000000000..6672b6040e --- /dev/null +++ b/kubernetes/test/test_v1_priority_class.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_priority_class import V1PriorityClass # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PriorityClass(unittest.TestCase): + """V1PriorityClass unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PriorityClass + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_priority_class.V1PriorityClass() # noqa: E501 + if include_optional : + return V1PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56 + ) + else : + return V1PriorityClass( + value = 56, + ) + + def testV1PriorityClass(self): + """Test V1PriorityClass""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_priority_class_list.py b/kubernetes/test/test_v1_priority_class_list.py new file mode 100644 index 0000000000..ee73fbabb0 --- /dev/null +++ b/kubernetes/test/test_v1_priority_class_list.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_priority_class_list import V1PriorityClassList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1PriorityClassList(unittest.TestCase): + """V1PriorityClassList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1PriorityClassList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_priority_class_list.V1PriorityClassList() # noqa: E501 + if include_optional : + return V1PriorityClassList( + api_version = '0', + items = [ + kubernetes.client.models.v1/priority_class.v1.PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1PriorityClassList( + items = [ + kubernetes.client.models.v1/priority_class.v1.PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56, ) + ], + ) + + def testV1PriorityClassList(self): + """Test V1PriorityClassList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_probe.py b/kubernetes/test/test_v1_probe.py new file mode 100644 index 0000000000..d30cff9879 --- /dev/null +++ b/kubernetes/test/test_v1_probe.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_probe import V1Probe # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Probe(unittest.TestCase): + """V1Probe unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Probe + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_probe.V1Probe() # noqa: E501 + if include_optional : + return V1Probe( + _exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( + command = [ + '0' + ], ), + failure_threshold = 56, + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), + timeout_seconds = 56 + ) + else : + return V1Probe( + ) + + def testV1Probe(self): + """Test V1Probe""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_projected_volume_source.py b/kubernetes/test/test_v1_projected_volume_source.py new file mode 100644 index 0000000000..0f18eb8062 --- /dev/null +++ b/kubernetes/test/test_v1_projected_volume_source.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_projected_volume_source import V1ProjectedVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ProjectedVolumeSource(unittest.TestCase): + """V1ProjectedVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ProjectedVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_projected_volume_source.V1ProjectedVolumeSource() # noqa: E501 + if include_optional : + return V1ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ] + ) + else : + return V1ProjectedVolumeSource( + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], + ) + + def testV1ProjectedVolumeSource(self): + """Test V1ProjectedVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_quobyte_volume_source.py b/kubernetes/test/test_v1_quobyte_volume_source.py new file mode 100644 index 0000000000..3be82d8196 --- /dev/null +++ b/kubernetes/test/test_v1_quobyte_volume_source.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1QuobyteVolumeSource(unittest.TestCase): + """V1QuobyteVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1QuobyteVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_quobyte_volume_source.V1QuobyteVolumeSource() # noqa: E501 + if include_optional : + return V1QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0' + ) + else : + return V1QuobyteVolumeSource( + registry = '0', + volume = '0', + ) + + def testV1QuobyteVolumeSource(self): + """Test V1QuobyteVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_rbd_persistent_volume_source.py b/kubernetes/test/test_v1_rbd_persistent_volume_source.py new file mode 100644 index 0000000000..ff7f4d085f --- /dev/null +++ b/kubernetes/test/test_v1_rbd_persistent_volume_source.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_rbd_persistent_volume_source import V1RBDPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RBDPersistentVolumeSource(unittest.TestCase): + """V1RBDPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RBDPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_rbd_persistent_volume_source.V1RBDPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0' + ) + else : + return V1RBDPersistentVolumeSource( + image = '0', + monitors = [ + '0' + ], + ) + + def testV1RBDPersistentVolumeSource(self): + """Test V1RBDPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_rbd_volume_source.py b/kubernetes/test/test_v1_rbd_volume_source.py new file mode 100644 index 0000000000..6450b670c0 --- /dev/null +++ b/kubernetes/test/test_v1_rbd_volume_source.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_rbd_volume_source import V1RBDVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RBDVolumeSource(unittest.TestCase): + """V1RBDVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RBDVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_rbd_volume_source.V1RBDVolumeSource() # noqa: E501 + if include_optional : + return V1RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + user = '0' + ) + else : + return V1RBDVolumeSource( + image = '0', + monitors = [ + '0' + ], + ) + + def testV1RBDVolumeSource(self): + """Test V1RBDVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replica_set.py b/kubernetes/test/test_v1_replica_set.py new file mode 100644 index 0000000000..83704ae449 --- /dev/null +++ b/kubernetes/test/test_v1_replica_set.py @@ -0,0 +1,161 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replica_set import V1ReplicaSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicaSet(unittest.TestCase): + """V1ReplicaSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicaSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replica_set.V1ReplicaSet() # noqa: E501 + if include_optional : + return V1ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ), ), + status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ) + ) + else : + return V1ReplicaSet( + ) + + def testV1ReplicaSet(self): + """Test V1ReplicaSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_condition.py b/kubernetes/test/test_v1_replica_set_condition.py new file mode 100644 index 0000000000..2a65de3723 --- /dev/null +++ b/kubernetes/test/test_v1_replica_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replica_set_condition import V1ReplicaSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicaSetCondition(unittest.TestCase): + """V1ReplicaSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicaSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replica_set_condition.V1ReplicaSetCondition() # noqa: E501 + if include_optional : + return V1ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1ReplicaSetCondition( + status = '0', + type = '0', + ) + + def testV1ReplicaSetCondition(self): + """Test V1ReplicaSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_list.py b/kubernetes/test/test_v1_replica_set_list.py new file mode 100644 index 0000000000..52637bd130 --- /dev/null +++ b/kubernetes/test/test_v1_replica_set_list.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replica_set_list import V1ReplicaSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicaSetList(unittest.TestCase): + """V1ReplicaSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicaSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replica_set_list.V1ReplicaSetList() # noqa: E501 + if include_optional : + return V1ReplicaSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1/replica_set.v1.ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ReplicaSetList( + items = [ + kubernetes.client.models.v1/replica_set.v1.ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ), ) + ], + ) + + def testV1ReplicaSetList(self): + """Test V1ReplicaSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_spec.py b/kubernetes/test/test_v1_replica_set_spec.py new file mode 100644 index 0000000000..b74906f9a3 --- /dev/null +++ b/kubernetes/test/test_v1_replica_set_spec.py @@ -0,0 +1,561 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replica_set_spec import V1ReplicaSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicaSetSpec(unittest.TestCase): + """V1ReplicaSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicaSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replica_set_spec.V1ReplicaSetSpec() # noqa: E501 + if include_optional : + return V1ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return V1ReplicaSetSpec( + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + ) + + def testV1ReplicaSetSpec(self): + """Test V1ReplicaSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_status.py b/kubernetes/test/test_v1_replica_set_status.py new file mode 100644 index 0000000000..51cf09894f --- /dev/null +++ b/kubernetes/test/test_v1_replica_set_status.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replica_set_status import V1ReplicaSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicaSetStatus(unittest.TestCase): + """V1ReplicaSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicaSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replica_set_status.V1ReplicaSetStatus() # noqa: E501 + if include_optional : + return V1ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56 + ) + else : + return V1ReplicaSetStatus( + replicas = 56, + ) + + def testV1ReplicaSetStatus(self): + """Test V1ReplicaSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller.py b/kubernetes/test/test_v1_replication_controller.py new file mode 100644 index 0000000000..784b001c15 --- /dev/null +++ b/kubernetes/test/test_v1_replication_controller.py @@ -0,0 +1,152 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replication_controller import V1ReplicationController # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicationController(unittest.TestCase): + """V1ReplicationController unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicationController + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replication_controller.V1ReplicationController() # noqa: E501 + if include_optional : + return V1ReplicationController( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( + min_ready_seconds = 56, + replicas = 56, + selector = { + 'key' : '0' + }, + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ), ), + status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ) + ) + else : + return V1ReplicationController( + ) + + def testV1ReplicationController(self): + """Test V1ReplicationController""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_condition.py b/kubernetes/test/test_v1_replication_controller_condition.py new file mode 100644 index 0000000000..6902e67d87 --- /dev/null +++ b/kubernetes/test/test_v1_replication_controller_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicationControllerCondition(unittest.TestCase): + """V1ReplicationControllerCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicationControllerCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replication_controller_condition.V1ReplicationControllerCondition() # noqa: E501 + if include_optional : + return V1ReplicationControllerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1ReplicationControllerCondition( + status = '0', + type = '0', + ) + + def testV1ReplicationControllerCondition(self): + """Test V1ReplicationControllerCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_list.py b/kubernetes/test/test_v1_replication_controller_list.py new file mode 100644 index 0000000000..10cfa25f06 --- /dev/null +++ b/kubernetes/test/test_v1_replication_controller_list.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replication_controller_list import V1ReplicationControllerList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicationControllerList(unittest.TestCase): + """V1ReplicationControllerList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicationControllerList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replication_controller_list.V1ReplicationControllerList() # noqa: E501 + if include_optional : + return V1ReplicationControllerList( + api_version = '0', + items = [ + kubernetes.client.models.v1/replication_controller.v1.ReplicationController( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( + min_ready_seconds = 56, + replicas = 56, + selector = { + 'key' : '0' + }, + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ReplicationControllerList( + items = [ + kubernetes.client.models.v1/replication_controller.v1.ReplicationController( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( + min_ready_seconds = 56, + replicas = 56, + selector = { + 'key' : '0' + }, + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ), ) + ], + ) + + def testV1ReplicationControllerList(self): + """Test V1ReplicationControllerList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_spec.py b/kubernetes/test/test_v1_replication_controller_spec.py new file mode 100644 index 0000000000..6e9cdb3ad7 --- /dev/null +++ b/kubernetes/test/test_v1_replication_controller_spec.py @@ -0,0 +1,540 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicationControllerSpec(unittest.TestCase): + """V1ReplicationControllerSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicationControllerSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replication_controller_spec.V1ReplicationControllerSpec() # noqa: E501 + if include_optional : + return V1ReplicationControllerSpec( + min_ready_seconds = 56, + replicas = 56, + selector = { + 'key' : '0' + }, + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return V1ReplicationControllerSpec( + ) + + def testV1ReplicationControllerSpec(self): + """Test V1ReplicationControllerSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_status.py b/kubernetes/test/test_v1_replication_controller_status.py new file mode 100644 index 0000000000..028ed74534 --- /dev/null +++ b/kubernetes/test/test_v1_replication_controller_status.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_replication_controller_status import V1ReplicationControllerStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ReplicationControllerStatus(unittest.TestCase): + """V1ReplicationControllerStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ReplicationControllerStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_replication_controller_status.V1ReplicationControllerStatus() # noqa: E501 + if include_optional : + return V1ReplicationControllerStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56 + ) + else : + return V1ReplicationControllerStatus( + replicas = 56, + ) + + def testV1ReplicationControllerStatus(self): + """Test V1ReplicationControllerStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_resource_attributes.py b/kubernetes/test/test_v1_resource_attributes.py new file mode 100644 index 0000000000..684bed873b --- /dev/null +++ b/kubernetes/test/test_v1_resource_attributes.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_resource_attributes import V1ResourceAttributes # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ResourceAttributes(unittest.TestCase): + """V1ResourceAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ResourceAttributes + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_resource_attributes.V1ResourceAttributes() # noqa: E501 + if include_optional : + return V1ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0' + ) + else : + return V1ResourceAttributes( + ) + + def testV1ResourceAttributes(self): + """Test V1ResourceAttributes""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_resource_field_selector.py b/kubernetes/test/test_v1_resource_field_selector.py new file mode 100644 index 0000000000..816cfd78b1 --- /dev/null +++ b/kubernetes/test/test_v1_resource_field_selector.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ResourceFieldSelector(unittest.TestCase): + """V1ResourceFieldSelector unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ResourceFieldSelector + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_resource_field_selector.V1ResourceFieldSelector() # noqa: E501 + if include_optional : + return V1ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0' + ) + else : + return V1ResourceFieldSelector( + resource = '0', + ) + + def testV1ResourceFieldSelector(self): + """Test V1ResourceFieldSelector""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota.py b/kubernetes/test/test_v1_resource_quota.py new file mode 100644 index 0000000000..8f59e6d8b5 --- /dev/null +++ b/kubernetes/test/test_v1_resource_quota.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_resource_quota import V1ResourceQuota # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ResourceQuota(unittest.TestCase): + """V1ResourceQuota unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ResourceQuota + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_resource_quota.V1ResourceQuota() # noqa: E501 + if include_optional : + return V1ResourceQuota( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( + hard = { + 'key' : '0' + }, + scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( + match_expressions = [ + kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( + operator = '0', + scope_name = '0', + values = [ + '0' + ], ) + ], ), + scopes = [ + '0' + ], ), + status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( + hard = { + 'key' : '0' + }, + used = { + 'key' : '0' + }, ) + ) + else : + return V1ResourceQuota( + ) + + def testV1ResourceQuota(self): + """Test V1ResourceQuota""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_list.py b/kubernetes/test/test_v1_resource_quota_list.py new file mode 100644 index 0000000000..cf2015be25 --- /dev/null +++ b/kubernetes/test/test_v1_resource_quota_list.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_resource_quota_list import V1ResourceQuotaList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ResourceQuotaList(unittest.TestCase): + """V1ResourceQuotaList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ResourceQuotaList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_resource_quota_list.V1ResourceQuotaList() # noqa: E501 + if include_optional : + return V1ResourceQuotaList( + api_version = '0', + items = [ + kubernetes.client.models.v1/resource_quota.v1.ResourceQuota( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( + hard = { + 'key' : '0' + }, + scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( + match_expressions = [ + kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( + operator = '0', + scope_name = '0', + values = [ + '0' + ], ) + ], ), + scopes = [ + '0' + ], ), + status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( + used = { + 'key' : '0' + }, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ResourceQuotaList( + items = [ + kubernetes.client.models.v1/resource_quota.v1.ResourceQuota( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( + hard = { + 'key' : '0' + }, + scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( + match_expressions = [ + kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( + operator = '0', + scope_name = '0', + values = [ + '0' + ], ) + ], ), + scopes = [ + '0' + ], ), + status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( + used = { + 'key' : '0' + }, ), ) + ], + ) + + def testV1ResourceQuotaList(self): + """Test V1ResourceQuotaList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_spec.py b/kubernetes/test/test_v1_resource_quota_spec.py new file mode 100644 index 0000000000..2a0b1ab008 --- /dev/null +++ b/kubernetes/test/test_v1_resource_quota_spec.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ResourceQuotaSpec(unittest.TestCase): + """V1ResourceQuotaSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ResourceQuotaSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_resource_quota_spec.V1ResourceQuotaSpec() # noqa: E501 + if include_optional : + return V1ResourceQuotaSpec( + hard = { + 'key' : '0' + }, + scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( + match_expressions = [ + kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( + operator = '0', + scope_name = '0', + values = [ + '0' + ], ) + ], ), + scopes = [ + '0' + ] + ) + else : + return V1ResourceQuotaSpec( + ) + + def testV1ResourceQuotaSpec(self): + """Test V1ResourceQuotaSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_status.py b/kubernetes/test/test_v1_resource_quota_status.py new file mode 100644 index 0000000000..afce599880 --- /dev/null +++ b/kubernetes/test/test_v1_resource_quota_status.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_resource_quota_status import V1ResourceQuotaStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ResourceQuotaStatus(unittest.TestCase): + """V1ResourceQuotaStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ResourceQuotaStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_resource_quota_status.V1ResourceQuotaStatus() # noqa: E501 + if include_optional : + return V1ResourceQuotaStatus( + hard = { + 'key' : '0' + }, + used = { + 'key' : '0' + } + ) + else : + return V1ResourceQuotaStatus( + ) + + def testV1ResourceQuotaStatus(self): + """Test V1ResourceQuotaStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_resource_requirements.py b/kubernetes/test/test_v1_resource_requirements.py new file mode 100644 index 0000000000..dd1c912af2 --- /dev/null +++ b/kubernetes/test/test_v1_resource_requirements.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_resource_requirements import V1ResourceRequirements # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ResourceRequirements(unittest.TestCase): + """V1ResourceRequirements unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ResourceRequirements + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_resource_requirements.V1ResourceRequirements() # noqa: E501 + if include_optional : + return V1ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + } + ) + else : + return V1ResourceRequirements( + ) + + def testV1ResourceRequirements(self): + """Test V1ResourceRequirements""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_resource_rule.py b/kubernetes/test/test_v1_resource_rule.py new file mode 100644 index 0000000000..7fbc6ebfee --- /dev/null +++ b/kubernetes/test/test_v1_resource_rule.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_resource_rule import V1ResourceRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ResourceRule(unittest.TestCase): + """V1ResourceRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ResourceRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_resource_rule.V1ResourceRule() # noqa: E501 + if include_optional : + return V1ResourceRule( + api_groups = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1ResourceRule( + verbs = [ + '0' + ], + ) + + def testV1ResourceRule(self): + """Test V1ResourceRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_role.py b/kubernetes/test/test_v1_role.py new file mode 100644 index 0000000000..5481b22f6a --- /dev/null +++ b/kubernetes/test/test_v1_role.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_role import V1Role # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Role(unittest.TestCase): + """V1Role unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Role + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_role.V1Role() # noqa: E501 + if include_optional : + return V1Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1/policy_rule.v1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ] + ) + else : + return V1Role( + ) + + def testV1Role(self): + """Test V1Role""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_role_binding.py b/kubernetes/test/test_v1_role_binding.py new file mode 100644 index 0000000000..6b5dbfc29b --- /dev/null +++ b/kubernetes/test/test_v1_role_binding.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_role_binding import V1RoleBinding # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RoleBinding(unittest.TestCase): + """V1RoleBinding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RoleBinding + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_role_binding.V1RoleBinding() # noqa: E501 + if include_optional : + return V1RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1/subject.v1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ] + ) + else : + return V1RoleBinding( + role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + ) + + def testV1RoleBinding(self): + """Test V1RoleBinding""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_role_binding_list.py b/kubernetes/test/test_v1_role_binding_list.py new file mode 100644 index 0000000000..0492bdda31 --- /dev/null +++ b/kubernetes/test/test_v1_role_binding_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_role_binding_list import V1RoleBindingList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RoleBindingList(unittest.TestCase): + """V1RoleBindingList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RoleBindingList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_role_binding_list.V1RoleBindingList() # noqa: E501 + if include_optional : + return V1RoleBindingList( + api_version = '0', + items = [ + kubernetes.client.models.v1/role_binding.v1.RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1/subject.v1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1RoleBindingList( + items = [ + kubernetes.client.models.v1/role_binding.v1.RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1/subject.v1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + ) + + def testV1RoleBindingList(self): + """Test V1RoleBindingList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_role_list.py b/kubernetes/test/test_v1_role_list.py new file mode 100644 index 0000000000..84085f6079 --- /dev/null +++ b/kubernetes/test/test_v1_role_list.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_role_list import V1RoleList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RoleList(unittest.TestCase): + """V1RoleList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RoleList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_role_list.V1RoleList() # noqa: E501 + if include_optional : + return V1RoleList( + api_version = '0', + items = [ + kubernetes.client.models.v1/role.v1.Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1/policy_rule.v1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1RoleList( + items = [ + kubernetes.client.models.v1/role.v1.Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1/policy_rule.v1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + ) + + def testV1RoleList(self): + """Test V1RoleList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_role_ref.py b/kubernetes/test/test_v1_role_ref.py new file mode 100644 index 0000000000..ec3dfdf7b2 --- /dev/null +++ b/kubernetes/test/test_v1_role_ref.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_role_ref import V1RoleRef # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RoleRef(unittest.TestCase): + """V1RoleRef unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RoleRef + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_role_ref.V1RoleRef() # noqa: E501 + if include_optional : + return V1RoleRef( + api_group = '0', + kind = '0', + name = '0' + ) + else : + return V1RoleRef( + api_group = '0', + kind = '0', + name = '0', + ) + + def testV1RoleRef(self): + """Test V1RoleRef""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_daemon_set.py b/kubernetes/test/test_v1_rolling_update_daemon_set.py new file mode 100644 index 0000000000..7fe11ca8e9 --- /dev/null +++ b/kubernetes/test/test_v1_rolling_update_daemon_set.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_rolling_update_daemon_set import V1RollingUpdateDaemonSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RollingUpdateDaemonSet(unittest.TestCase): + """V1RollingUpdateDaemonSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RollingUpdateDaemonSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_rolling_update_daemon_set.V1RollingUpdateDaemonSet() # noqa: E501 + if include_optional : + return V1RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() + ) + else : + return V1RollingUpdateDaemonSet( + ) + + def testV1RollingUpdateDaemonSet(self): + """Test V1RollingUpdateDaemonSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_deployment.py b/kubernetes/test/test_v1_rolling_update_deployment.py new file mode 100644 index 0000000000..7b55a2dc03 --- /dev/null +++ b/kubernetes/test/test_v1_rolling_update_deployment.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_rolling_update_deployment import V1RollingUpdateDeployment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RollingUpdateDeployment(unittest.TestCase): + """V1RollingUpdateDeployment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RollingUpdateDeployment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_rolling_update_deployment.V1RollingUpdateDeployment() # noqa: E501 + if include_optional : + return V1RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() + ) + else : + return V1RollingUpdateDeployment( + ) + + def testV1RollingUpdateDeployment(self): + """Test V1RollingUpdateDeployment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py new file mode 100644 index 0000000000..b0fc2d5c72 --- /dev/null +++ b/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_rolling_update_stateful_set_strategy import V1RollingUpdateStatefulSetStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RollingUpdateStatefulSetStrategy(unittest.TestCase): + """V1RollingUpdateStatefulSetStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RollingUpdateStatefulSetStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_rolling_update_stateful_set_strategy.V1RollingUpdateStatefulSetStrategy() # noqa: E501 + if include_optional : + return V1RollingUpdateStatefulSetStrategy( + partition = 56 + ) + else : + return V1RollingUpdateStatefulSetStrategy( + ) + + def testV1RollingUpdateStatefulSetStrategy(self): + """Test V1RollingUpdateStatefulSetStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_rule_with_operations.py b/kubernetes/test/test_v1_rule_with_operations.py new file mode 100644 index 0000000000..3e706f8564 --- /dev/null +++ b/kubernetes/test/test_v1_rule_with_operations.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_rule_with_operations import V1RuleWithOperations # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1RuleWithOperations(unittest.TestCase): + """V1RuleWithOperations unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1RuleWithOperations + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_rule_with_operations.V1RuleWithOperations() # noqa: E501 + if include_optional : + return V1RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0' + ) + else : + return V1RuleWithOperations( + ) + + def testV1RuleWithOperations(self): + """Test V1RuleWithOperations""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_scale.py b/kubernetes/test/test_v1_scale.py new file mode 100644 index 0000000000..68fdbc263a --- /dev/null +++ b/kubernetes/test/test_v1_scale.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_scale import V1Scale # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Scale(unittest.TestCase): + """V1Scale unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Scale + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_scale.V1Scale() # noqa: E501 + if include_optional : + return V1Scale( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/scale_spec.v1.ScaleSpec( + replicas = 56, ), + status = kubernetes.client.models.v1/scale_status.v1.ScaleStatus( + replicas = 56, + selector = '0', ) + ) + else : + return V1Scale( + ) + + def testV1Scale(self): + """Test V1Scale""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py b/kubernetes/test/test_v1_scale_io_persistent_volume_source.py new file mode 100644 index 0000000000..a1b86c967c --- /dev/null +++ b/kubernetes/test/test_v1_scale_io_persistent_volume_source.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ScaleIOPersistentVolumeSource(unittest.TestCase): + """V1ScaleIOPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ScaleIOPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_scale_io_persistent_volume_source.V1ScaleIOPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0' + ) + else : + return V1ScaleIOPersistentVolumeSource( + gateway = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + system = '0', + ) + + def testV1ScaleIOPersistentVolumeSource(self): + """Test V1ScaleIOPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_scale_io_volume_source.py b/kubernetes/test/test_v1_scale_io_volume_source.py new file mode 100644 index 0000000000..7f7cb98341 --- /dev/null +++ b/kubernetes/test/test_v1_scale_io_volume_source.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_scale_io_volume_source import V1ScaleIOVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ScaleIOVolumeSource(unittest.TestCase): + """V1ScaleIOVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ScaleIOVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_scale_io_volume_source.V1ScaleIOVolumeSource() # noqa: E501 + if include_optional : + return V1ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0' + ) + else : + return V1ScaleIOVolumeSource( + gateway = '0', + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + system = '0', + ) + + def testV1ScaleIOVolumeSource(self): + """Test V1ScaleIOVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_scale_spec.py b/kubernetes/test/test_v1_scale_spec.py new file mode 100644 index 0000000000..55ef08f645 --- /dev/null +++ b/kubernetes/test/test_v1_scale_spec.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_scale_spec import V1ScaleSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ScaleSpec(unittest.TestCase): + """V1ScaleSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ScaleSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_scale_spec.V1ScaleSpec() # noqa: E501 + if include_optional : + return V1ScaleSpec( + replicas = 56 + ) + else : + return V1ScaleSpec( + ) + + def testV1ScaleSpec(self): + """Test V1ScaleSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_scale_status.py b/kubernetes/test/test_v1_scale_status.py new file mode 100644 index 0000000000..926a29d817 --- /dev/null +++ b/kubernetes/test/test_v1_scale_status.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_scale_status import V1ScaleStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ScaleStatus(unittest.TestCase): + """V1ScaleStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ScaleStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_scale_status.V1ScaleStatus() # noqa: E501 + if include_optional : + return V1ScaleStatus( + replicas = 56, + selector = '0' + ) + else : + return V1ScaleStatus( + replicas = 56, + ) + + def testV1ScaleStatus(self): + """Test V1ScaleStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_scope_selector.py b/kubernetes/test/test_v1_scope_selector.py new file mode 100644 index 0000000000..23381ec26c --- /dev/null +++ b/kubernetes/test/test_v1_scope_selector.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_scope_selector import V1ScopeSelector # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ScopeSelector(unittest.TestCase): + """V1ScopeSelector unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ScopeSelector + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_scope_selector.V1ScopeSelector() # noqa: E501 + if include_optional : + return V1ScopeSelector( + match_expressions = [ + kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( + operator = '0', + scope_name = '0', + values = [ + '0' + ], ) + ] + ) + else : + return V1ScopeSelector( + ) + + def testV1ScopeSelector(self): + """Test V1ScopeSelector""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_scoped_resource_selector_requirement.py b/kubernetes/test/test_v1_scoped_resource_selector_requirement.py new file mode 100644 index 0000000000..3866610e00 --- /dev/null +++ b/kubernetes/test/test_v1_scoped_resource_selector_requirement.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ScopedResourceSelectorRequirement(unittest.TestCase): + """V1ScopedResourceSelectorRequirement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ScopedResourceSelectorRequirement + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_scoped_resource_selector_requirement.V1ScopedResourceSelectorRequirement() # noqa: E501 + if include_optional : + return V1ScopedResourceSelectorRequirement( + operator = '0', + scope_name = '0', + values = [ + '0' + ] + ) + else : + return V1ScopedResourceSelectorRequirement( + operator = '0', + scope_name = '0', + ) + + def testV1ScopedResourceSelectorRequirement(self): + """Test V1ScopedResourceSelectorRequirement""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_se_linux_options.py b/kubernetes/test/test_v1_se_linux_options.py new file mode 100644 index 0000000000..76a78a9372 --- /dev/null +++ b/kubernetes/test/test_v1_se_linux_options.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_se_linux_options import V1SELinuxOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SELinuxOptions(unittest.TestCase): + """V1SELinuxOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SELinuxOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_se_linux_options.V1SELinuxOptions() # noqa: E501 + if include_optional : + return V1SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0' + ) + else : + return V1SELinuxOptions( + ) + + def testV1SELinuxOptions(self): + """Test V1SELinuxOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_secret.py b/kubernetes/test/test_v1_secret.py new file mode 100644 index 0000000000..f345c363d6 --- /dev/null +++ b/kubernetes/test/test_v1_secret.py @@ -0,0 +1,99 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_secret import V1Secret # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Secret(unittest.TestCase): + """V1Secret unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Secret + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_secret.V1Secret() # noqa: E501 + if include_optional : + return V1Secret( + api_version = '0', + data = { + 'key' : 'YQ==' + }, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + string_data = { + 'key' : '0' + }, + type = '0' + ) + else : + return V1Secret( + ) + + def testV1Secret(self): + """Test V1Secret""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_secret_env_source.py b/kubernetes/test/test_v1_secret_env_source.py new file mode 100644 index 0000000000..703e17c4e6 --- /dev/null +++ b/kubernetes/test/test_v1_secret_env_source.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_secret_env_source import V1SecretEnvSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SecretEnvSource(unittest.TestCase): + """V1SecretEnvSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SecretEnvSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_secret_env_source.V1SecretEnvSource() # noqa: E501 + if include_optional : + return V1SecretEnvSource( + name = '0', + optional = True + ) + else : + return V1SecretEnvSource( + ) + + def testV1SecretEnvSource(self): + """Test V1SecretEnvSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_secret_key_selector.py b/kubernetes/test/test_v1_secret_key_selector.py new file mode 100644 index 0000000000..a56e805f81 --- /dev/null +++ b/kubernetes/test/test_v1_secret_key_selector.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_secret_key_selector import V1SecretKeySelector # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SecretKeySelector(unittest.TestCase): + """V1SecretKeySelector unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SecretKeySelector + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_secret_key_selector.V1SecretKeySelector() # noqa: E501 + if include_optional : + return V1SecretKeySelector( + key = '0', + name = '0', + optional = True + ) + else : + return V1SecretKeySelector( + key = '0', + ) + + def testV1SecretKeySelector(self): + """Test V1SecretKeySelector""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_secret_list.py b/kubernetes/test/test_v1_secret_list.py new file mode 100644 index 0000000000..3558606d60 --- /dev/null +++ b/kubernetes/test/test_v1_secret_list.py @@ -0,0 +1,160 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_secret_list import V1SecretList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SecretList(unittest.TestCase): + """V1SecretList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SecretList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_secret_list.V1SecretList() # noqa: E501 + if include_optional : + return V1SecretList( + api_version = '0', + items = [ + kubernetes.client.models.v1/secret.v1.Secret( + api_version = '0', + data = { + 'key' : 'YQ==' + }, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + string_data = { + 'key' : '0' + }, + type = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1SecretList( + items = [ + kubernetes.client.models.v1/secret.v1.Secret( + api_version = '0', + data = { + 'key' : 'YQ==' + }, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + string_data = { + 'key' : '0' + }, + type = '0', ) + ], + ) + + def testV1SecretList(self): + """Test V1SecretList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_secret_projection.py b/kubernetes/test/test_v1_secret_projection.py new file mode 100644 index 0000000000..9739a5c8ec --- /dev/null +++ b/kubernetes/test/test_v1_secret_projection.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_secret_projection import V1SecretProjection # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SecretProjection(unittest.TestCase): + """V1SecretProjection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SecretProjection + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_secret_projection.V1SecretProjection() # noqa: E501 + if include_optional : + return V1SecretProjection( + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True + ) + else : + return V1SecretProjection( + ) + + def testV1SecretProjection(self): + """Test V1SecretProjection""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_secret_reference.py b/kubernetes/test/test_v1_secret_reference.py new file mode 100644 index 0000000000..c48b410669 --- /dev/null +++ b/kubernetes/test/test_v1_secret_reference.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_secret_reference import V1SecretReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SecretReference(unittest.TestCase): + """V1SecretReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SecretReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_secret_reference.V1SecretReference() # noqa: E501 + if include_optional : + return V1SecretReference( + name = '0', + namespace = '0' + ) + else : + return V1SecretReference( + ) + + def testV1SecretReference(self): + """Test V1SecretReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_secret_volume_source.py b/kubernetes/test/test_v1_secret_volume_source.py new file mode 100644 index 0000000000..62c1961b4e --- /dev/null +++ b/kubernetes/test/test_v1_secret_volume_source.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_secret_volume_source import V1SecretVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SecretVolumeSource(unittest.TestCase): + """V1SecretVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SecretVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_secret_volume_source.V1SecretVolumeSource() # noqa: E501 + if include_optional : + return V1SecretVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + optional = True, + secret_name = '0' + ) + else : + return V1SecretVolumeSource( + ) + + def testV1SecretVolumeSource(self): + """Test V1SecretVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_security_context.py b/kubernetes/test/test_v1_security_context.py new file mode 100644 index 0000000000..3ff7e387a9 --- /dev/null +++ b/kubernetes/test/test_v1_security_context.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_security_context import V1SecurityContext # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SecurityContext(unittest.TestCase): + """V1SecurityContext unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SecurityContext + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_security_context.V1SecurityContext() # noqa: E501 + if include_optional : + return V1SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ) + ) + else : + return V1SecurityContext( + ) + + def testV1SecurityContext(self): + """Test V1SecurityContext""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_access_review.py b/kubernetes/test/test_v1_self_subject_access_review.py new file mode 100644 index 0000000000..60ca62d7d7 --- /dev/null +++ b/kubernetes/test/test_v1_self_subject_access_review.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_self_subject_access_review import V1SelfSubjectAccessReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SelfSubjectAccessReview(unittest.TestCase): + """V1SelfSubjectAccessReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SelfSubjectAccessReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_self_subject_access_review.V1SelfSubjectAccessReview() # noqa: E501 + if include_optional : + return V1SelfSubjectAccessReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/self_subject_access_review_spec.v1.SelfSubjectAccessReviewSpec( + non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), ), + status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( + allowed = True, + denied = True, + evaluation_error = '0', + reason = '0', ) + ) + else : + return V1SelfSubjectAccessReview( + spec = kubernetes.client.models.v1/self_subject_access_review_spec.v1.SelfSubjectAccessReviewSpec( + non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), ), + ) + + def testV1SelfSubjectAccessReview(self): + """Test V1SelfSubjectAccessReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_access_review_spec.py b/kubernetes/test/test_v1_self_subject_access_review_spec.py new file mode 100644 index 0000000000..316ec9bd34 --- /dev/null +++ b/kubernetes/test/test_v1_self_subject_access_review_spec.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SelfSubjectAccessReviewSpec(unittest.TestCase): + """V1SelfSubjectAccessReviewSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SelfSubjectAccessReviewSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_self_subject_access_review_spec.V1SelfSubjectAccessReviewSpec() # noqa: E501 + if include_optional : + return V1SelfSubjectAccessReviewSpec( + non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ) + ) + else : + return V1SelfSubjectAccessReviewSpec( + ) + + def testV1SelfSubjectAccessReviewSpec(self): + """Test V1SelfSubjectAccessReviewSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_rules_review.py b/kubernetes/test/test_v1_self_subject_rules_review.py new file mode 100644 index 0000000000..da76d7135e --- /dev/null +++ b/kubernetes/test/test_v1_self_subject_rules_review.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_self_subject_rules_review import V1SelfSubjectRulesReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SelfSubjectRulesReview(unittest.TestCase): + """V1SelfSubjectRulesReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SelfSubjectRulesReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_self_subject_rules_review.V1SelfSubjectRulesReview() # noqa: E501 + if include_optional : + return V1SelfSubjectRulesReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/self_subject_rules_review_spec.v1.SelfSubjectRulesReviewSpec( + namespace = '0', ), + status = kubernetes.client.models.v1/subject_rules_review_status.v1.SubjectRulesReviewStatus( + evaluation_error = '0', + incomplete = True, + non_resource_rules = [ + kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1/resource_rule.v1.ResourceRule( + api_groups = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ) + else : + return V1SelfSubjectRulesReview( + spec = kubernetes.client.models.v1/self_subject_rules_review_spec.v1.SelfSubjectRulesReviewSpec( + namespace = '0', ), + ) + + def testV1SelfSubjectRulesReview(self): + """Test V1SelfSubjectRulesReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1_self_subject_rules_review_spec.py new file mode 100644 index 0000000000..352e458d13 --- /dev/null +++ b/kubernetes/test/test_v1_self_subject_rules_review_spec.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SelfSubjectRulesReviewSpec(unittest.TestCase): + """V1SelfSubjectRulesReviewSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SelfSubjectRulesReviewSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_self_subject_rules_review_spec.V1SelfSubjectRulesReviewSpec() # noqa: E501 + if include_optional : + return V1SelfSubjectRulesReviewSpec( + namespace = '0' + ) + else : + return V1SelfSubjectRulesReviewSpec( + ) + + def testV1SelfSubjectRulesReviewSpec(self): + """Test V1SelfSubjectRulesReviewSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_server_address_by_client_cidr.py b/kubernetes/test/test_v1_server_address_by_client_cidr.py new file mode 100644 index 0000000000..518f18419f --- /dev/null +++ b/kubernetes/test/test_v1_server_address_by_client_cidr.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ServerAddressByClientCIDR(unittest.TestCase): + """V1ServerAddressByClientCIDR unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ServerAddressByClientCIDR + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_server_address_by_client_cidr.V1ServerAddressByClientCIDR() # noqa: E501 + if include_optional : + return V1ServerAddressByClientCIDR( + kubernetes.client_cidr = '0', + server_address = '0' + ) + else : + return V1ServerAddressByClientCIDR( + kubernetes.client_cidr = '0', + server_address = '0', + ) + + def testV1ServerAddressByClientCIDR(self): + """Test V1ServerAddressByClientCIDR""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service.py b/kubernetes/test/test_v1_service.py new file mode 100644 index 0000000000..b73e09036c --- /dev/null +++ b/kubernetes/test/test_v1_service.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_service import V1Service # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Service(unittest.TestCase): + """V1Service unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Service + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_service.V1Service() # noqa: E501 + if include_optional : + return V1Service( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( + cluster_ip = '0', + external_i_ps = [ + '0' + ], + external_name = '0', + external_traffic_policy = '0', + health_check_node_port = 56, + ip_family = '0', + load_balancer_ip = '0', + load_balancer_source_ranges = [ + '0' + ], + ports = [ + kubernetes.client.models.v1/service_port.v1.ServicePort( + name = '0', + node_port = 56, + port = 56, + protocol = '0', + target_port = kubernetes.client.models.target_port.targetPort(), ) + ], + publish_not_ready_addresses = True, + selector = { + 'key' : '0' + }, + session_affinity = '0', + session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( + kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( + timeout_seconds = 56, ), ), + topology_keys = [ + '0' + ], + type = '0', ), + status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ) + ) + else : + return V1Service( + ) + + def testV1Service(self): + """Test V1Service""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service_account.py b/kubernetes/test/test_v1_service_account.py new file mode 100644 index 0000000000..a14a216a41 --- /dev/null +++ b/kubernetes/test/test_v1_service_account.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_service_account import V1ServiceAccount # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ServiceAccount(unittest.TestCase): + """V1ServiceAccount unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ServiceAccount + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_service_account.V1ServiceAccount() # noqa: E501 + if include_optional : + return V1ServiceAccount( + api_version = '0', + automount_service_account_token = True, + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + secrets = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ] + ) + else : + return V1ServiceAccount( + ) + + def testV1ServiceAccount(self): + """Test V1ServiceAccount""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service_account_list.py b/kubernetes/test/test_v1_service_account_list.py new file mode 100644 index 0000000000..7e8ecb448c --- /dev/null +++ b/kubernetes/test/test_v1_service_account_list.py @@ -0,0 +1,176 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_service_account_list import V1ServiceAccountList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ServiceAccountList(unittest.TestCase): + """V1ServiceAccountList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ServiceAccountList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_service_account_list.V1ServiceAccountList() # noqa: E501 + if include_optional : + return V1ServiceAccountList( + api_version = '0', + items = [ + kubernetes.client.models.v1/service_account.v1.ServiceAccount( + api_version = '0', + automount_service_account_token = True, + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + secrets = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ServiceAccountList( + items = [ + kubernetes.client.models.v1/service_account.v1.ServiceAccount( + api_version = '0', + automount_service_account_token = True, + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + secrets = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], ) + ], + ) + + def testV1ServiceAccountList(self): + """Test V1ServiceAccountList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service_account_token_projection.py b/kubernetes/test/test_v1_service_account_token_projection.py new file mode 100644 index 0000000000..b425b1e9ae --- /dev/null +++ b/kubernetes/test/test_v1_service_account_token_projection.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ServiceAccountTokenProjection(unittest.TestCase): + """V1ServiceAccountTokenProjection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ServiceAccountTokenProjection + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_service_account_token_projection.V1ServiceAccountTokenProjection() # noqa: E501 + if include_optional : + return V1ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0' + ) + else : + return V1ServiceAccountTokenProjection( + path = '0', + ) + + def testV1ServiceAccountTokenProjection(self): + """Test V1ServiceAccountTokenProjection""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service_list.py b/kubernetes/test/test_v1_service_list.py new file mode 100644 index 0000000000..d6cb580140 --- /dev/null +++ b/kubernetes/test/test_v1_service_list.py @@ -0,0 +1,226 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_service_list import V1ServiceList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ServiceList(unittest.TestCase): + """V1ServiceList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ServiceList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_service_list.V1ServiceList() # noqa: E501 + if include_optional : + return V1ServiceList( + api_version = '0', + items = [ + kubernetes.client.models.v1/service.v1.Service( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( + cluster_ip = '0', + external_i_ps = [ + '0' + ], + external_name = '0', + external_traffic_policy = '0', + health_check_node_port = 56, + ip_family = '0', + load_balancer_ip = '0', + load_balancer_source_ranges = [ + '0' + ], + ports = [ + kubernetes.client.models.v1/service_port.v1.ServicePort( + name = '0', + node_port = 56, + port = 56, + protocol = '0', + target_port = kubernetes.client.models.target_port.targetPort(), ) + ], + publish_not_ready_addresses = True, + selector = { + 'key' : '0' + }, + session_affinity = '0', + session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( + kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( + timeout_seconds = 56, ), ), + topology_keys = [ + '0' + ], + type = '0', ), + status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ServiceList( + items = [ + kubernetes.client.models.v1/service.v1.Service( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( + cluster_ip = '0', + external_i_ps = [ + '0' + ], + external_name = '0', + external_traffic_policy = '0', + health_check_node_port = 56, + ip_family = '0', + load_balancer_ip = '0', + load_balancer_source_ranges = [ + '0' + ], + ports = [ + kubernetes.client.models.v1/service_port.v1.ServicePort( + name = '0', + node_port = 56, + port = 56, + protocol = '0', + target_port = kubernetes.client.models.target_port.targetPort(), ) + ], + publish_not_ready_addresses = True, + selector = { + 'key' : '0' + }, + session_affinity = '0', + session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( + kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( + timeout_seconds = 56, ), ), + topology_keys = [ + '0' + ], + type = '0', ), + status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ), ), ) + ], + ) + + def testV1ServiceList(self): + """Test V1ServiceList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service_port.py b/kubernetes/test/test_v1_service_port.py new file mode 100644 index 0000000000..7649f2a394 --- /dev/null +++ b/kubernetes/test/test_v1_service_port.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_service_port import V1ServicePort # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ServicePort(unittest.TestCase): + """V1ServicePort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ServicePort + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_service_port.V1ServicePort() # noqa: E501 + if include_optional : + return V1ServicePort( + name = '0', + node_port = 56, + port = 56, + protocol = '0', + target_port = None + ) + else : + return V1ServicePort( + port = 56, + ) + + def testV1ServicePort(self): + """Test V1ServicePort""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service_spec.py b/kubernetes/test/test_v1_service_spec.py new file mode 100644 index 0000000000..09120b97a3 --- /dev/null +++ b/kubernetes/test/test_v1_service_spec.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_service_spec import V1ServiceSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ServiceSpec(unittest.TestCase): + """V1ServiceSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ServiceSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_service_spec.V1ServiceSpec() # noqa: E501 + if include_optional : + return V1ServiceSpec( + cluster_ip = '0', + external_i_ps = [ + '0' + ], + external_name = '0', + external_traffic_policy = '0', + health_check_node_port = 56, + ip_family = '0', + load_balancer_ip = '0', + load_balancer_source_ranges = [ + '0' + ], + ports = [ + kubernetes.client.models.v1/service_port.v1.ServicePort( + name = '0', + node_port = 56, + port = 56, + protocol = '0', + target_port = kubernetes.client.models.target_port.targetPort(), ) + ], + publish_not_ready_addresses = True, + selector = { + 'key' : '0' + }, + session_affinity = '0', + session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( + kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( + timeout_seconds = 56, ), ), + topology_keys = [ + '0' + ], + type = '0' + ) + else : + return V1ServiceSpec( + ) + + def testV1ServiceSpec(self): + """Test V1ServiceSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_service_status.py b/kubernetes/test/test_v1_service_status.py new file mode 100644 index 0000000000..00cc0b74c9 --- /dev/null +++ b/kubernetes/test/test_v1_service_status.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_service_status import V1ServiceStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ServiceStatus(unittest.TestCase): + """V1ServiceStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ServiceStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_service_status.V1ServiceStatus() # noqa: E501 + if include_optional : + return V1ServiceStatus( + load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( + ingress = [ + kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( + hostname = '0', + ip = '0', ) + ], ) + ) + else : + return V1ServiceStatus( + ) + + def testV1ServiceStatus(self): + """Test V1ServiceStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_session_affinity_config.py b/kubernetes/test/test_v1_session_affinity_config.py new file mode 100644 index 0000000000..80b43db600 --- /dev/null +++ b/kubernetes/test/test_v1_session_affinity_config.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_session_affinity_config import V1SessionAffinityConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SessionAffinityConfig(unittest.TestCase): + """V1SessionAffinityConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SessionAffinityConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_session_affinity_config.V1SessionAffinityConfig() # noqa: E501 + if include_optional : + return V1SessionAffinityConfig( + kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( + timeout_seconds = 56, ) + ) + else : + return V1SessionAffinityConfig( + ) + + def testV1SessionAffinityConfig(self): + """Test V1SessionAffinityConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set.py b/kubernetes/test/test_v1_stateful_set.py new file mode 100644 index 0000000000..98814b19cb --- /dev/null +++ b/kubernetes/test/test_v1_stateful_set.py @@ -0,0 +1,625 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_stateful_set import V1StatefulSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StatefulSet(unittest.TestCase): + """V1StatefulSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StatefulSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_stateful_set.V1StatefulSet() # noqa: E501 + if include_optional : + return V1StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/stateful_set_condition.v1.StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ) + ) + else : + return V1StatefulSet( + ) + + def testV1StatefulSet(self): + """Test V1StatefulSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_condition.py b/kubernetes/test/test_v1_stateful_set_condition.py new file mode 100644 index 0000000000..bcb2033c49 --- /dev/null +++ b/kubernetes/test/test_v1_stateful_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_stateful_set_condition import V1StatefulSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StatefulSetCondition(unittest.TestCase): + """V1StatefulSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StatefulSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_stateful_set_condition.V1StatefulSetCondition() # noqa: E501 + if include_optional : + return V1StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1StatefulSetCondition( + status = '0', + type = '0', + ) + + def testV1StatefulSetCondition(self): + """Test V1StatefulSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_list.py b/kubernetes/test/test_v1_stateful_set_list.py new file mode 100644 index 0000000000..4ae26f6751 --- /dev/null +++ b/kubernetes/test/test_v1_stateful_set_list.py @@ -0,0 +1,252 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_stateful_set_list import V1StatefulSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StatefulSetList(unittest.TestCase): + """V1StatefulSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StatefulSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_stateful_set_list.V1StatefulSetList() # noqa: E501 + if include_optional : + return V1StatefulSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1/stateful_set.v1.StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( + collision_count = 56, + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1StatefulSetList( + items = [ + kubernetes.client.models.v1/stateful_set.v1.StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( + collision_count = 56, + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ), ) + ], + ) + + def testV1StatefulSetList(self): + """Test V1StatefulSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_spec.py b/kubernetes/test/test_v1_stateful_set_spec.py new file mode 100644 index 0000000000..daac778767 --- /dev/null +++ b/kubernetes/test/test_v1_stateful_set_spec.py @@ -0,0 +1,1140 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_stateful_set_spec import V1StatefulSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StatefulSetSpec(unittest.TestCase): + """V1StatefulSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StatefulSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_stateful_set_spec.V1StatefulSetSpec() # noqa: E501 + if include_optional : + return V1StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( + access_modes = [ + '0' + ], + data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( + api_group = '0', + kind = '0', + name = '0', ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + storage_class_name = '0', + volume_mode = '0', + volume_name = '0', ), + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ] + ) + else : + return V1StatefulSetSpec( + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1StatefulSetSpec(self): + """Test V1StatefulSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_status.py b/kubernetes/test/test_v1_stateful_set_status.py new file mode 100644 index 0000000000..d0c186a6ff --- /dev/null +++ b/kubernetes/test/test_v1_stateful_set_status.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_stateful_set_status import V1StatefulSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StatefulSetStatus(unittest.TestCase): + """V1StatefulSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StatefulSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_stateful_set_status.V1StatefulSetStatus() # noqa: E501 + if include_optional : + return V1StatefulSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1/stateful_set_condition.v1.StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56 + ) + else : + return V1StatefulSetStatus( + replicas = 56, + ) + + def testV1StatefulSetStatus(self): + """Test V1StatefulSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_update_strategy.py b/kubernetes/test/test_v1_stateful_set_update_strategy.py new file mode 100644 index 0000000000..09ff1428d4 --- /dev/null +++ b/kubernetes/test/test_v1_stateful_set_update_strategy.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StatefulSetUpdateStrategy(unittest.TestCase): + """V1StatefulSetUpdateStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StatefulSetUpdateStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_stateful_set_update_strategy.V1StatefulSetUpdateStrategy() # noqa: E501 + if include_optional : + return V1StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0' + ) + else : + return V1StatefulSetUpdateStrategy( + ) + + def testV1StatefulSetUpdateStrategy(self): + """Test V1StatefulSetUpdateStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_status.py b/kubernetes/test/test_v1_status.py new file mode 100644 index 0000000000..8cd45ee493 --- /dev/null +++ b/kubernetes/test/test_v1_status.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_status import V1Status # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Status(unittest.TestCase): + """V1Status unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Status + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_status.V1Status() # noqa: E501 + if include_optional : + return V1Status( + api_version = '0', + code = 56, + details = kubernetes.client.models.v1/status_details.v1.StatusDetails( + causes = [ + kubernetes.client.models.v1/status_cause.v1.StatusCause( + field = '0', + message = '0', + reason = '0', ) + ], + group = '0', + kind = '0', + name = '0', + retry_after_seconds = 56, + uid = '0', ), + kind = '0', + message = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ), + reason = '0', + status = '0' + ) + else : + return V1Status( + ) + + def testV1Status(self): + """Test V1Status""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_status_cause.py b/kubernetes/test/test_v1_status_cause.py new file mode 100644 index 0000000000..3acfe53170 --- /dev/null +++ b/kubernetes/test/test_v1_status_cause.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_status_cause import V1StatusCause # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StatusCause(unittest.TestCase): + """V1StatusCause unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StatusCause + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_status_cause.V1StatusCause() # noqa: E501 + if include_optional : + return V1StatusCause( + field = '0', + message = '0', + reason = '0' + ) + else : + return V1StatusCause( + ) + + def testV1StatusCause(self): + """Test V1StatusCause""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_status_details.py b/kubernetes/test/test_v1_status_details.py new file mode 100644 index 0000000000..a398b2d8d0 --- /dev/null +++ b/kubernetes/test/test_v1_status_details.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_status_details import V1StatusDetails # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StatusDetails(unittest.TestCase): + """V1StatusDetails unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StatusDetails + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_status_details.V1StatusDetails() # noqa: E501 + if include_optional : + return V1StatusDetails( + causes = [ + kubernetes.client.models.v1/status_cause.v1.StatusCause( + field = '0', + message = '0', + reason = '0', ) + ], + group = '0', + kind = '0', + name = '0', + retry_after_seconds = 56, + uid = '0' + ) + else : + return V1StatusDetails( + ) + + def testV1StatusDetails(self): + """Test V1StatusDetails""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_storage_class.py b/kubernetes/test/test_v1_storage_class.py new file mode 100644 index 0000000000..0812dde1fa --- /dev/null +++ b/kubernetes/test/test_v1_storage_class.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_storage_class import V1StorageClass # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StorageClass(unittest.TestCase): + """V1StorageClass unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StorageClass + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_storage_class.V1StorageClass() # noqa: E501 + if include_optional : + return V1StorageClass( + allow_volume_expansion = True, + allowed_topologies = [ + kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( + match_label_expressions = [ + kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ], ) + ], ) + ], + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + mount_options = [ + '0' + ], + parameters = { + 'key' : '0' + }, + provisioner = '0', + reclaim_policy = '0', + volume_binding_mode = '0' + ) + else : + return V1StorageClass( + provisioner = '0', + ) + + def testV1StorageClass(self): + """Test V1StorageClass""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_storage_class_list.py b/kubernetes/test/test_v1_storage_class_list.py new file mode 100644 index 0000000000..432fdc05fc --- /dev/null +++ b/kubernetes/test/test_v1_storage_class_list.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_storage_class_list import V1StorageClassList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StorageClassList(unittest.TestCase): + """V1StorageClassList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StorageClassList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_storage_class_list.V1StorageClassList() # noqa: E501 + if include_optional : + return V1StorageClassList( + api_version = '0', + items = [ + kubernetes.client.models.v1/storage_class.v1.StorageClass( + allow_volume_expansion = True, + allowed_topologies = [ + kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( + match_label_expressions = [ + kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ], ) + ], ) + ], + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + mount_options = [ + '0' + ], + parameters = { + 'key' : '0' + }, + provisioner = '0', + reclaim_policy = '0', + volume_binding_mode = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1StorageClassList( + items = [ + kubernetes.client.models.v1/storage_class.v1.StorageClass( + allow_volume_expansion = True, + allowed_topologies = [ + kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( + match_label_expressions = [ + kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ], ) + ], ) + ], + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + mount_options = [ + '0' + ], + parameters = { + 'key' : '0' + }, + provisioner = '0', + reclaim_policy = '0', + volume_binding_mode = '0', ) + ], + ) + + def testV1StorageClassList(self): + """Test V1StorageClassList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py b/kubernetes/test/test_v1_storage_os_persistent_volume_source.py new file mode 100644 index 0000000000..3960ffcdbf --- /dev/null +++ b/kubernetes/test/test_v1_storage_os_persistent_volume_source.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_storage_os_persistent_volume_source import V1StorageOSPersistentVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StorageOSPersistentVolumeSource(unittest.TestCase): + """V1StorageOSPersistentVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StorageOSPersistentVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_storage_os_persistent_volume_source.V1StorageOSPersistentVolumeSource() # noqa: E501 + if include_optional : + return V1StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + volume_name = '0', + volume_namespace = '0' + ) + else : + return V1StorageOSPersistentVolumeSource( + ) + + def testV1StorageOSPersistentVolumeSource(self): + """Test V1StorageOSPersistentVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_storage_os_volume_source.py b/kubernetes/test/test_v1_storage_os_volume_source.py new file mode 100644 index 0000000000..aad96cd5ed --- /dev/null +++ b/kubernetes/test/test_v1_storage_os_volume_source.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_storage_os_volume_source import V1StorageOSVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1StorageOSVolumeSource(unittest.TestCase): + """V1StorageOSVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1StorageOSVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_storage_os_volume_source.V1StorageOSVolumeSource() # noqa: E501 + if include_optional : + return V1StorageOSVolumeSource( + fs_type = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + volume_name = '0', + volume_namespace = '0' + ) + else : + return V1StorageOSVolumeSource( + ) + + def testV1StorageOSVolumeSource(self): + """Test V1StorageOSVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_subject.py b/kubernetes/test/test_v1_subject.py new file mode 100644 index 0000000000..cf9c92a506 --- /dev/null +++ b/kubernetes/test/test_v1_subject.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_subject import V1Subject # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Subject(unittest.TestCase): + """V1Subject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Subject + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_subject.V1Subject() # noqa: E501 + if include_optional : + return V1Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0' + ) + else : + return V1Subject( + kind = '0', + name = '0', + ) + + def testV1Subject(self): + """Test V1Subject""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review.py b/kubernetes/test/test_v1_subject_access_review.py new file mode 100644 index 0000000000..d6044abd71 --- /dev/null +++ b/kubernetes/test/test_v1_subject_access_review.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_subject_access_review import V1SubjectAccessReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SubjectAccessReview(unittest.TestCase): + """V1SubjectAccessReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SubjectAccessReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_subject_access_review.V1SubjectAccessReview() # noqa: E501 + if include_optional : + return V1SubjectAccessReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0', ), + status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( + allowed = True, + denied = True, + evaluation_error = '0', + reason = '0', ) + ) + else : + return V1SubjectAccessReview( + spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0', ), + ) + + def testV1SubjectAccessReview(self): + """Test V1SubjectAccessReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review_spec.py b/kubernetes/test/test_v1_subject_access_review_spec.py new file mode 100644 index 0000000000..2beb781356 --- /dev/null +++ b/kubernetes/test/test_v1_subject_access_review_spec.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SubjectAccessReviewSpec(unittest.TestCase): + """V1SubjectAccessReviewSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SubjectAccessReviewSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_subject_access_review_spec.V1SubjectAccessReviewSpec() # noqa: E501 + if include_optional : + return V1SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0' + ) + else : + return V1SubjectAccessReviewSpec( + ) + + def testV1SubjectAccessReviewSpec(self): + """Test V1SubjectAccessReviewSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review_status.py b/kubernetes/test/test_v1_subject_access_review_status.py new file mode 100644 index 0000000000..9b3a32033f --- /dev/null +++ b/kubernetes/test/test_v1_subject_access_review_status.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_subject_access_review_status import V1SubjectAccessReviewStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SubjectAccessReviewStatus(unittest.TestCase): + """V1SubjectAccessReviewStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SubjectAccessReviewStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_subject_access_review_status.V1SubjectAccessReviewStatus() # noqa: E501 + if include_optional : + return V1SubjectAccessReviewStatus( + allowed = True, + denied = True, + evaluation_error = '0', + reason = '0' + ) + else : + return V1SubjectAccessReviewStatus( + allowed = True, + ) + + def testV1SubjectAccessReviewStatus(self): + """Test V1SubjectAccessReviewStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_subject_rules_review_status.py b/kubernetes/test/test_v1_subject_rules_review_status.py new file mode 100644 index 0000000000..bcc5addfd9 --- /dev/null +++ b/kubernetes/test/test_v1_subject_rules_review_status.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1SubjectRulesReviewStatus(unittest.TestCase): + """V1SubjectRulesReviewStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1SubjectRulesReviewStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_subject_rules_review_status.V1SubjectRulesReviewStatus() # noqa: E501 + if include_optional : + return V1SubjectRulesReviewStatus( + evaluation_error = '0', + incomplete = True, + non_resource_rules = [ + kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1/resource_rule.v1.ResourceRule( + api_groups = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ] + ) + else : + return V1SubjectRulesReviewStatus( + incomplete = True, + non_resource_rules = [ + kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1/resource_rule.v1.ResourceRule( + api_groups = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + ) + + def testV1SubjectRulesReviewStatus(self): + """Test V1SubjectRulesReviewStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_sysctl.py b/kubernetes/test/test_v1_sysctl.py new file mode 100644 index 0000000000..4aaa1f2f45 --- /dev/null +++ b/kubernetes/test/test_v1_sysctl.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_sysctl import V1Sysctl # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Sysctl(unittest.TestCase): + """V1Sysctl unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Sysctl + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_sysctl.V1Sysctl() # noqa: E501 + if include_optional : + return V1Sysctl( + name = '0', + value = '0' + ) + else : + return V1Sysctl( + name = '0', + value = '0', + ) + + def testV1Sysctl(self): + """Test V1Sysctl""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_taint.py b/kubernetes/test/test_v1_taint.py new file mode 100644 index 0000000000..d362753b01 --- /dev/null +++ b/kubernetes/test/test_v1_taint.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_taint import V1Taint # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Taint(unittest.TestCase): + """V1Taint unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Taint + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_taint.V1Taint() # noqa: E501 + if include_optional : + return V1Taint( + effect = '0', + key = '0', + time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + value = '0' + ) + else : + return V1Taint( + effect = '0', + key = '0', + ) + + def testV1Taint(self): + """Test V1Taint""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_tcp_socket_action.py b/kubernetes/test/test_v1_tcp_socket_action.py new file mode 100644 index 0000000000..c1f9aa3e3f --- /dev/null +++ b/kubernetes/test/test_v1_tcp_socket_action.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_tcp_socket_action import V1TCPSocketAction # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TCPSocketAction(unittest.TestCase): + """V1TCPSocketAction unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TCPSocketAction + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_tcp_socket_action.V1TCPSocketAction() # noqa: E501 + if include_optional : + return V1TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port() + ) + else : + return V1TCPSocketAction( + port = kubernetes.client.models.port.port(), + ) + + def testV1TCPSocketAction(self): + """Test V1TCPSocketAction""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_token_request.py b/kubernetes/test/test_v1_token_request.py new file mode 100644 index 0000000000..0132fe5578 --- /dev/null +++ b/kubernetes/test/test_v1_token_request.py @@ -0,0 +1,115 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_token_request import V1TokenRequest # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TokenRequest(unittest.TestCase): + """V1TokenRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TokenRequest + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_token_request.V1TokenRequest() # noqa: E501 + if include_optional : + return V1TokenRequest( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/token_request_spec.v1.TokenRequestSpec( + audiences = [ + '0' + ], + bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( + api_version = '0', + kind = '0', + name = '0', + uid = '0', ), + expiration_seconds = 56, ), + status = kubernetes.client.models.v1/token_request_status.v1.TokenRequestStatus( + expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + token = '0', ) + ) + else : + return V1TokenRequest( + spec = kubernetes.client.models.v1/token_request_spec.v1.TokenRequestSpec( + audiences = [ + '0' + ], + bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( + api_version = '0', + kind = '0', + name = '0', + uid = '0', ), + expiration_seconds = 56, ), + ) + + def testV1TokenRequest(self): + """Test V1TokenRequest""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_token_request_spec.py b/kubernetes/test/test_v1_token_request_spec.py new file mode 100644 index 0000000000..50ba27ca9d --- /dev/null +++ b/kubernetes/test/test_v1_token_request_spec.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_token_request_spec import V1TokenRequestSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TokenRequestSpec(unittest.TestCase): + """V1TokenRequestSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TokenRequestSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_token_request_spec.V1TokenRequestSpec() # noqa: E501 + if include_optional : + return V1TokenRequestSpec( + audiences = [ + '0' + ], + bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( + api_version = '0', + kind = '0', + name = '0', + uid = '0', ), + expiration_seconds = 56 + ) + else : + return V1TokenRequestSpec( + audiences = [ + '0' + ], + ) + + def testV1TokenRequestSpec(self): + """Test V1TokenRequestSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_token_request_status.py b/kubernetes/test/test_v1_token_request_status.py new file mode 100644 index 0000000000..74fb031805 --- /dev/null +++ b/kubernetes/test/test_v1_token_request_status.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_token_request_status import V1TokenRequestStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TokenRequestStatus(unittest.TestCase): + """V1TokenRequestStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TokenRequestStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_token_request_status.V1TokenRequestStatus() # noqa: E501 + if include_optional : + return V1TokenRequestStatus( + expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + token = '0' + ) + else : + return V1TokenRequestStatus( + expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + token = '0', + ) + + def testV1TokenRequestStatus(self): + """Test V1TokenRequestStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_token_review.py b/kubernetes/test/test_v1_token_review.py new file mode 100644 index 0000000000..b94834554c --- /dev/null +++ b/kubernetes/test/test_v1_token_review.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_token_review import V1TokenReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TokenReview(unittest.TestCase): + """V1TokenReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TokenReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_token_review.V1TokenReview() # noqa: E501 + if include_optional : + return V1TokenReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/token_review_spec.v1.TokenReviewSpec( + audiences = [ + '0' + ], + token = '0', ), + status = kubernetes.client.models.v1/token_review_status.v1.TokenReviewStatus( + audiences = [ + '0' + ], + authenticated = True, + error = '0', + user = kubernetes.client.models.v1/user_info.v1.UserInfo( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + uid = '0', + username = '0', ), ) + ) + else : + return V1TokenReview( + spec = kubernetes.client.models.v1/token_review_spec.v1.TokenReviewSpec( + audiences = [ + '0' + ], + token = '0', ), + ) + + def testV1TokenReview(self): + """Test V1TokenReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_token_review_spec.py b/kubernetes/test/test_v1_token_review_spec.py new file mode 100644 index 0000000000..7f2e0750a0 --- /dev/null +++ b/kubernetes/test/test_v1_token_review_spec.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_token_review_spec import V1TokenReviewSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TokenReviewSpec(unittest.TestCase): + """V1TokenReviewSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TokenReviewSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_token_review_spec.V1TokenReviewSpec() # noqa: E501 + if include_optional : + return V1TokenReviewSpec( + audiences = [ + '0' + ], + token = '0' + ) + else : + return V1TokenReviewSpec( + ) + + def testV1TokenReviewSpec(self): + """Test V1TokenReviewSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_token_review_status.py b/kubernetes/test/test_v1_token_review_status.py new file mode 100644 index 0000000000..3922b61068 --- /dev/null +++ b/kubernetes/test/test_v1_token_review_status.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_token_review_status import V1TokenReviewStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TokenReviewStatus(unittest.TestCase): + """V1TokenReviewStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TokenReviewStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_token_review_status.V1TokenReviewStatus() # noqa: E501 + if include_optional : + return V1TokenReviewStatus( + audiences = [ + '0' + ], + authenticated = True, + error = '0', + user = kubernetes.client.models.v1/user_info.v1.UserInfo( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + uid = '0', + username = '0', ) + ) + else : + return V1TokenReviewStatus( + ) + + def testV1TokenReviewStatus(self): + """Test V1TokenReviewStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_toleration.py b/kubernetes/test/test_v1_toleration.py new file mode 100644 index 0000000000..5894ce0999 --- /dev/null +++ b/kubernetes/test/test_v1_toleration.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_toleration import V1Toleration # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Toleration(unittest.TestCase): + """V1Toleration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Toleration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_toleration.V1Toleration() # noqa: E501 + if include_optional : + return V1Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0' + ) + else : + return V1Toleration( + ) + + def testV1Toleration(self): + """Test V1Toleration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_topology_selector_label_requirement.py b/kubernetes/test/test_v1_topology_selector_label_requirement.py new file mode 100644 index 0000000000..33d2808cf4 --- /dev/null +++ b/kubernetes/test/test_v1_topology_selector_label_requirement.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TopologySelectorLabelRequirement(unittest.TestCase): + """V1TopologySelectorLabelRequirement unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TopologySelectorLabelRequirement + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_topology_selector_label_requirement.V1TopologySelectorLabelRequirement() # noqa: E501 + if include_optional : + return V1TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ] + ) + else : + return V1TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ], + ) + + def testV1TopologySelectorLabelRequirement(self): + """Test V1TopologySelectorLabelRequirement""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_topology_selector_term.py b/kubernetes/test/test_v1_topology_selector_term.py new file mode 100644 index 0000000000..fa15037edb --- /dev/null +++ b/kubernetes/test/test_v1_topology_selector_term.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_topology_selector_term import V1TopologySelectorTerm # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TopologySelectorTerm(unittest.TestCase): + """V1TopologySelectorTerm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TopologySelectorTerm + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_topology_selector_term.V1TopologySelectorTerm() # noqa: E501 + if include_optional : + return V1TopologySelectorTerm( + match_label_expressions = [ + kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ], ) + ] + ) + else : + return V1TopologySelectorTerm( + ) + + def testV1TopologySelectorTerm(self): + """Test V1TopologySelectorTerm""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_topology_spread_constraint.py b/kubernetes/test/test_v1_topology_spread_constraint.py new file mode 100644 index 0000000000..4c5db04412 --- /dev/null +++ b/kubernetes/test/test_v1_topology_spread_constraint.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_topology_spread_constraint import V1TopologySpreadConstraint # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TopologySpreadConstraint(unittest.TestCase): + """V1TopologySpreadConstraint unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TopologySpreadConstraint + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_topology_spread_constraint.V1TopologySpreadConstraint() # noqa: E501 + if include_optional : + return V1TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0' + ) + else : + return V1TopologySpreadConstraint( + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', + ) + + def testV1TopologySpreadConstraint(self): + """Test V1TopologySpreadConstraint""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_typed_local_object_reference.py b/kubernetes/test/test_v1_typed_local_object_reference.py new file mode 100644 index 0000000000..fd3cc88ed2 --- /dev/null +++ b/kubernetes/test/test_v1_typed_local_object_reference.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_typed_local_object_reference import V1TypedLocalObjectReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1TypedLocalObjectReference(unittest.TestCase): + """V1TypedLocalObjectReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1TypedLocalObjectReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_typed_local_object_reference.V1TypedLocalObjectReference() # noqa: E501 + if include_optional : + return V1TypedLocalObjectReference( + api_group = '0', + kind = '0', + name = '0' + ) + else : + return V1TypedLocalObjectReference( + kind = '0', + name = '0', + ) + + def testV1TypedLocalObjectReference(self): + """Test V1TypedLocalObjectReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_user_info.py b/kubernetes/test/test_v1_user_info.py new file mode 100644 index 0000000000..5047dc2bd3 --- /dev/null +++ b/kubernetes/test/test_v1_user_info.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_user_info import V1UserInfo # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1UserInfo(unittest.TestCase): + """V1UserInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1UserInfo + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_user_info.V1UserInfo() # noqa: E501 + if include_optional : + return V1UserInfo( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + uid = '0', + username = '0' + ) + else : + return V1UserInfo( + ) + + def testV1UserInfo(self): + """Test V1UserInfo""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook.py b/kubernetes/test/test_v1_validating_webhook.py new file mode 100644 index 0000000000..844676278a --- /dev/null +++ b/kubernetes/test/test_v1_validating_webhook.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_validating_webhook import V1ValidatingWebhook # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ValidatingWebhook(unittest.TestCase): + """V1ValidatingWebhook unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ValidatingWebhook + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_validating_webhook.V1ValidatingWebhook() # noqa: E501 + if include_optional : + return V1ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + rules = [ + kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56 + ) + else : + return V1ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + name = '0', + side_effects = '0', + ) + + def testV1ValidatingWebhook(self): + """Test V1ValidatingWebhook""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook_configuration.py b/kubernetes/test/test_v1_validating_webhook_configuration.py new file mode 100644 index 0000000000..e89f499f51 --- /dev/null +++ b/kubernetes/test/test_v1_validating_webhook_configuration.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ValidatingWebhookConfiguration(unittest.TestCase): + """V1ValidatingWebhookConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ValidatingWebhookConfiguration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_validating_webhook_configuration.V1ValidatingWebhookConfiguration() # noqa: E501 + if include_optional : + return V1ValidatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + rules = [ + kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ] + ) + else : + return V1ValidatingWebhookConfiguration( + ) + + def testV1ValidatingWebhookConfiguration(self): + """Test V1ValidatingWebhookConfiguration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook_configuration_list.py b/kubernetes/test/test_v1_validating_webhook_configuration_list.py new file mode 100644 index 0000000000..9cb590e9ad --- /dev/null +++ b/kubernetes/test/test_v1_validating_webhook_configuration_list.py @@ -0,0 +1,242 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1ValidatingWebhookConfigurationList(unittest.TestCase): + """V1ValidatingWebhookConfigurationList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1ValidatingWebhookConfigurationList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_validating_webhook_configuration_list.V1ValidatingWebhookConfigurationList() # noqa: E501 + if include_optional : + return V1ValidatingWebhookConfigurationList( + api_version = '0', + items = [ + kubernetes.client.models.v1/validating_webhook_configuration.v1.ValidatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + rules = [ + kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1ValidatingWebhookConfigurationList( + items = [ + kubernetes.client.models.v1/validating_webhook_configuration.v1.ValidatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + rules = [ + kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ], ) + ], + ) + + def testV1ValidatingWebhookConfigurationList(self): + """Test V1ValidatingWebhookConfigurationList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume.py b/kubernetes/test/test_v1_volume.py new file mode 100644 index 0000000000..7ffef7b466 --- /dev/null +++ b/kubernetes/test/test_v1_volume.py @@ -0,0 +1,263 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume import V1Volume # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1Volume(unittest.TestCase): + """V1Volume unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1Volume + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume.V1Volume() # noqa: E501 + if include_optional : + return V1Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + mode = 56, + path = '0', + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), ) + ], ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ) + ) + else : + return V1Volume( + name = '0', + ) + + def testV1Volume(self): + """Test V1Volume""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment.py b/kubernetes/test/test_v1_volume_attachment.py new file mode 100644 index 0000000000..11bea4cc88 --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment.py @@ -0,0 +1,495 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_attachment import V1VolumeAttachment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeAttachment(unittest.TestCase): + """V1VolumeAttachment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeAttachment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_attachment.V1VolumeAttachment() # noqa: E501 + if include_optional : + return V1VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ) + else : + return V1VolumeAttachment( + spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + ) + + def testV1VolumeAttachment(self): + """Test V1VolumeAttachment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_list.py b/kubernetes/test/test_v1_volume_attachment_list.py new file mode 100644 index 0000000000..54e2ecfa3d --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment_list.py @@ -0,0 +1,560 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_attachment_list import V1VolumeAttachmentList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeAttachmentList(unittest.TestCase): + """V1VolumeAttachmentList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeAttachmentList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_attachment_list.V1VolumeAttachmentList() # noqa: E501 + if include_optional : + return V1VolumeAttachmentList( + api_version = '0', + items = [ + kubernetes.client.models.v1/volume_attachment.v1.VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1VolumeAttachmentList( + items = [ + kubernetes.client.models.v1/volume_attachment.v1.VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) + ], + ) + + def testV1VolumeAttachmentList(self): + """Test V1VolumeAttachmentList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_source.py b/kubernetes/test/test_v1_volume_attachment_source.py new file mode 100644 index 0000000000..668f45a847 --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment_source.py @@ -0,0 +1,243 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeAttachmentSource(unittest.TestCase): + """V1VolumeAttachmentSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeAttachmentSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_attachment_source.V1VolumeAttachmentSource() # noqa: E501 + if include_optional : + return V1VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0' + ) + else : + return V1VolumeAttachmentSource( + ) + + def testV1VolumeAttachmentSource(self): + """Test V1VolumeAttachmentSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_spec.py b/kubernetes/test/test_v1_volume_attachment_spec.py new file mode 100644 index 0000000000..d13de4908f --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment_spec.py @@ -0,0 +1,441 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeAttachmentSpec(unittest.TestCase): + """V1VolumeAttachmentSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeAttachmentSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_attachment_spec.V1VolumeAttachmentSpec() # noqa: E501 + if include_optional : + return V1VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ) + ) + else : + return V1VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), + ) + + def testV1VolumeAttachmentSpec(self): + """Test V1VolumeAttachmentSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_status.py b/kubernetes/test/test_v1_volume_attachment_status.py new file mode 100644 index 0000000000..39a8f06d0c --- /dev/null +++ b/kubernetes/test/test_v1_volume_attachment_status.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeAttachmentStatus(unittest.TestCase): + """V1VolumeAttachmentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeAttachmentStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_attachment_status.V1VolumeAttachmentStatus() # noqa: E501 + if include_optional : + return V1VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ) + else : + return V1VolumeAttachmentStatus( + attached = True, + ) + + def testV1VolumeAttachmentStatus(self): + """Test V1VolumeAttachmentStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_device.py b/kubernetes/test/test_v1_volume_device.py new file mode 100644 index 0000000000..969bbb5f5e --- /dev/null +++ b/kubernetes/test/test_v1_volume_device.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_device import V1VolumeDevice # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeDevice(unittest.TestCase): + """V1VolumeDevice unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeDevice + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_device.V1VolumeDevice() # noqa: E501 + if include_optional : + return V1VolumeDevice( + device_path = '0', + name = '0' + ) + else : + return V1VolumeDevice( + device_path = '0', + name = '0', + ) + + def testV1VolumeDevice(self): + """Test V1VolumeDevice""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_error.py b/kubernetes/test/test_v1_volume_error.py new file mode 100644 index 0000000000..8a1a161cfa --- /dev/null +++ b/kubernetes/test/test_v1_volume_error.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_error import V1VolumeError # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeError(unittest.TestCase): + """V1VolumeError unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeError + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_error.V1VolumeError() # noqa: E501 + if include_optional : + return V1VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1VolumeError( + ) + + def testV1VolumeError(self): + """Test V1VolumeError""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_mount.py b/kubernetes/test/test_v1_volume_mount.py new file mode 100644 index 0000000000..b39616a551 --- /dev/null +++ b/kubernetes/test/test_v1_volume_mount.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_mount import V1VolumeMount # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeMount(unittest.TestCase): + """V1VolumeMount unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeMount + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_mount.V1VolumeMount() # noqa: E501 + if include_optional : + return V1VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0' + ) + else : + return V1VolumeMount( + mount_path = '0', + name = '0', + ) + + def testV1VolumeMount(self): + """Test V1VolumeMount""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_node_affinity.py b/kubernetes/test/test_v1_volume_node_affinity.py new file mode 100644 index 0000000000..30a60ec002 --- /dev/null +++ b/kubernetes/test/test_v1_volume_node_affinity.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeNodeAffinity(unittest.TestCase): + """V1VolumeNodeAffinity unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeNodeAffinity + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_node_affinity.V1VolumeNodeAffinity() # noqa: E501 + if include_optional : + return V1VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ) + ) + else : + return V1VolumeNodeAffinity( + ) + + def testV1VolumeNodeAffinity(self): + """Test V1VolumeNodeAffinity""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_node_resources.py b/kubernetes/test/test_v1_volume_node_resources.py new file mode 100644 index 0000000000..700888b90f --- /dev/null +++ b/kubernetes/test/test_v1_volume_node_resources.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_node_resources import V1VolumeNodeResources # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeNodeResources(unittest.TestCase): + """V1VolumeNodeResources unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeNodeResources + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_node_resources.V1VolumeNodeResources() # noqa: E501 + if include_optional : + return V1VolumeNodeResources( + count = 56 + ) + else : + return V1VolumeNodeResources( + ) + + def testV1VolumeNodeResources(self): + """Test V1VolumeNodeResources""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_volume_projection.py b/kubernetes/test/test_v1_volume_projection.py new file mode 100644 index 0000000000..8afcc803c5 --- /dev/null +++ b/kubernetes/test/test_v1_volume_projection.py @@ -0,0 +1,86 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_volume_projection import V1VolumeProjection # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VolumeProjection(unittest.TestCase): + """V1VolumeProjection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VolumeProjection + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_volume_projection.V1VolumeProjection() # noqa: E501 + if include_optional : + return V1VolumeProjection( + config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection( + items = [ + kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + mode = 56, + path = '0', + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), ) + ], ), + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ) + ) + else : + return V1VolumeProjection( + ) + + def testV1VolumeProjection(self): + """Test V1VolumeProjection""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py new file mode 100644 index 0000000000..6ec13e8538 --- /dev/null +++ b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1VsphereVirtualDiskVolumeSource(unittest.TestCase): + """V1VsphereVirtualDiskVolumeSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1VsphereVirtualDiskVolumeSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_vsphere_virtual_disk_volume_source.V1VsphereVirtualDiskVolumeSource() # noqa: E501 + if include_optional : + return V1VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0' + ) + else : + return V1VsphereVirtualDiskVolumeSource( + volume_path = '0', + ) + + def testV1VsphereVirtualDiskVolumeSource(self): + """Test V1VsphereVirtualDiskVolumeSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_watch_event.py b/kubernetes/test/test_v1_watch_event.py new file mode 100644 index 0000000000..c162bab22c --- /dev/null +++ b/kubernetes/test/test_v1_watch_event.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_watch_event import V1WatchEvent # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1WatchEvent(unittest.TestCase): + """V1WatchEvent unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1WatchEvent + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_watch_event.V1WatchEvent() # noqa: E501 + if include_optional : + return V1WatchEvent( + object = None, + type = '0' + ) + else : + return V1WatchEvent( + object = None, + type = '0', + ) + + def testV1WatchEvent(self): + """Test V1WatchEvent""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_webhook_conversion.py b/kubernetes/test/test_v1_webhook_conversion.py new file mode 100644 index 0000000000..97ce5b2fea --- /dev/null +++ b/kubernetes/test/test_v1_webhook_conversion.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_webhook_conversion import V1WebhookConversion # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1WebhookConversion(unittest.TestCase): + """V1WebhookConversion unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1WebhookConversion + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_webhook_conversion.V1WebhookConversion() # noqa: E501 + if include_optional : + return V1WebhookConversion( + kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + conversion_review_versions = [ + '0' + ] + ) + else : + return V1WebhookConversion( + conversion_review_versions = [ + '0' + ], + ) + + def testV1WebhookConversion(self): + """Test V1WebhookConversion""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_weighted_pod_affinity_term.py b/kubernetes/test/test_v1_weighted_pod_affinity_term.py new file mode 100644 index 0000000000..cd8eb30495 --- /dev/null +++ b/kubernetes/test/test_v1_weighted_pod_affinity_term.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1WeightedPodAffinityTerm(unittest.TestCase): + """V1WeightedPodAffinityTerm unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1WeightedPodAffinityTerm + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_weighted_pod_affinity_term.V1WeightedPodAffinityTerm() # noqa: E501 + if include_optional : + return V1WeightedPodAffinityTerm( + pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0', ), + weight = 56 + ) + else : + return V1WeightedPodAffinityTerm( + pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + namespaces = [ + '0' + ], + topology_key = '0', ), + weight = 56, + ) + + def testV1WeightedPodAffinityTerm(self): + """Test V1WeightedPodAffinityTerm""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1_windows_security_context_options.py b/kubernetes/test/test_v1_windows_security_context_options.py new file mode 100644 index 0000000000..34c4f31ae3 --- /dev/null +++ b/kubernetes/test/test_v1_windows_security_context_options.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1WindowsSecurityContextOptions(unittest.TestCase): + """V1WindowsSecurityContextOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1WindowsSecurityContextOptions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1_windows_security_context_options.V1WindowsSecurityContextOptions() # noqa: E501 + if include_optional : + return V1WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0' + ) + else : + return V1WindowsSecurityContextOptions( + ) + + def testV1WindowsSecurityContextOptions(self): + """Test V1WindowsSecurityContextOptions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_aggregation_rule.py b/kubernetes/test/test_v1alpha1_aggregation_rule.py new file mode 100644 index 0000000000..213701c0ff --- /dev/null +++ b/kubernetes/test/test_v1alpha1_aggregation_rule.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_aggregation_rule import V1alpha1AggregationRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1AggregationRule(unittest.TestCase): + """V1alpha1AggregationRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1AggregationRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_aggregation_rule.V1alpha1AggregationRule() # noqa: E501 + if include_optional : + return V1alpha1AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ] + ) + else : + return V1alpha1AggregationRule( + ) + + def testV1alpha1AggregationRule(self): + """Test V1alpha1AggregationRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink.py b/kubernetes/test/test_v1alpha1_audit_sink.py new file mode 100644 index 0000000000..24bbe6f9a6 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_audit_sink.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_audit_sink import V1alpha1AuditSink # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1AuditSink(unittest.TestCase): + """V1alpha1AuditSink unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1AuditSink + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_audit_sink.V1alpha1AuditSink() # noqa: E501 + if include_optional : + return V1alpha1AuditSink( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( + policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( + level = '0', + stages = [ + '0' + ], ), + webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( + kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( + burst = 56, + qps = 56, ), ), ) + ) + else : + return V1alpha1AuditSink( + ) + + def testV1alpha1AuditSink(self): + """Test V1alpha1AuditSink""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink_list.py b/kubernetes/test/test_v1alpha1_audit_sink_list.py new file mode 100644 index 0000000000..f85a072208 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_audit_sink_list.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_audit_sink_list import V1alpha1AuditSinkList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1AuditSinkList(unittest.TestCase): + """V1alpha1AuditSinkList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1AuditSinkList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_audit_sink_list.V1alpha1AuditSinkList() # noqa: E501 + if include_optional : + return V1alpha1AuditSinkList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/audit_sink.v1alpha1.AuditSink( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( + policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( + level = '0', + stages = [ + '0' + ], ), + webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( + kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( + burst = 56, + qps = 56, ), ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1AuditSinkList( + items = [ + kubernetes.client.models.v1alpha1/audit_sink.v1alpha1.AuditSink( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( + policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( + level = '0', + stages = [ + '0' + ], ), + webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( + kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( + burst = 56, + qps = 56, ), ), ), ) + ], + ) + + def testV1alpha1AuditSinkList(self): + """Test V1alpha1AuditSinkList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink_spec.py b/kubernetes/test/test_v1alpha1_audit_sink_spec.py new file mode 100644 index 0000000000..6b81f9b78e --- /dev/null +++ b/kubernetes/test/test_v1alpha1_audit_sink_spec.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_audit_sink_spec import V1alpha1AuditSinkSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1AuditSinkSpec(unittest.TestCase): + """V1alpha1AuditSinkSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1AuditSinkSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_audit_sink_spec.V1alpha1AuditSinkSpec() # noqa: E501 + if include_optional : + return V1alpha1AuditSinkSpec( + policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( + level = '0', + stages = [ + '0' + ], ), + webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( + kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( + burst = 56, + qps = 56, ), ) + ) + else : + return V1alpha1AuditSinkSpec( + policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( + level = '0', + stages = [ + '0' + ], ), + webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( + kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( + burst = 56, + qps = 56, ), ), + ) + + def testV1alpha1AuditSinkSpec(self): + """Test V1alpha1AuditSinkSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role.py b/kubernetes/test/test_v1alpha1_cluster_role.py new file mode 100644 index 0000000000..df2a9aad1e --- /dev/null +++ b/kubernetes/test/test_v1alpha1_cluster_role.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_cluster_role import V1alpha1ClusterRole # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1ClusterRole(unittest.TestCase): + """V1alpha1ClusterRole unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1ClusterRole + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_cluster_role.V1alpha1ClusterRole() # noqa: E501 + if include_optional : + return V1alpha1ClusterRole( + aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ] + ) + else : + return V1alpha1ClusterRole( + ) + + def testV1alpha1ClusterRole(self): + """Test V1alpha1ClusterRole""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding.py b/kubernetes/test/test_v1alpha1_cluster_role_binding.py new file mode 100644 index 0000000000..a00b544fca --- /dev/null +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_cluster_role_binding import V1alpha1ClusterRoleBinding # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1ClusterRoleBinding(unittest.TestCase): + """V1alpha1ClusterRoleBinding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1ClusterRoleBinding + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_cluster_role_binding.V1alpha1ClusterRoleBinding() # noqa: E501 + if include_optional : + return V1alpha1ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( + api_version = '0', + kind = '0', + name = '0', + namespace = '0', ) + ] + ) + else : + return V1alpha1ClusterRoleBinding( + role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + ) + + def testV1alpha1ClusterRoleBinding(self): + """Test V1alpha1ClusterRoleBinding""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py new file mode 100644 index 0000000000..a923b95a12 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_cluster_role_binding_list import V1alpha1ClusterRoleBindingList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1ClusterRoleBindingList(unittest.TestCase): + """V1alpha1ClusterRoleBindingList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1ClusterRoleBindingList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_cluster_role_binding_list.V1alpha1ClusterRoleBindingList() # noqa: E501 + if include_optional : + return V1alpha1ClusterRoleBindingList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/cluster_role_binding.v1alpha1.ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( + api_version = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1ClusterRoleBindingList( + items = [ + kubernetes.client.models.v1alpha1/cluster_role_binding.v1alpha1.ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( + api_version = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + ) + + def testV1alpha1ClusterRoleBindingList(self): + """Test V1alpha1ClusterRoleBindingList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_list.py b/kubernetes/test/test_v1alpha1_cluster_role_list.py new file mode 100644 index 0000000000..01b431759b --- /dev/null +++ b/kubernetes/test/test_v1alpha1_cluster_role_list.py @@ -0,0 +1,212 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_cluster_role_list import V1alpha1ClusterRoleList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1ClusterRoleList(unittest.TestCase): + """V1alpha1ClusterRoleList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1ClusterRoleList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_cluster_role_list.V1alpha1ClusterRoleList() # noqa: E501 + if include_optional : + return V1alpha1ClusterRoleList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/cluster_role.v1alpha1.ClusterRole( + aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1ClusterRoleList( + items = [ + kubernetes.client.models.v1alpha1/cluster_role.v1alpha1.ClusterRole( + aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + ) + + def testV1alpha1ClusterRoleList(self): + """Test V1alpha1ClusterRoleList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_distinguisher_method.py b/kubernetes/test/test_v1alpha1_flow_distinguisher_method.py new file mode 100644 index 0000000000..a77ca1c3d2 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_flow_distinguisher_method.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_flow_distinguisher_method import V1alpha1FlowDistinguisherMethod # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1FlowDistinguisherMethod(unittest.TestCase): + """V1alpha1FlowDistinguisherMethod unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1FlowDistinguisherMethod + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_flow_distinguisher_method.V1alpha1FlowDistinguisherMethod() # noqa: E501 + if include_optional : + return V1alpha1FlowDistinguisherMethod( + type = '0' + ) + else : + return V1alpha1FlowDistinguisherMethod( + type = '0', + ) + + def testV1alpha1FlowDistinguisherMethod(self): + """Test V1alpha1FlowDistinguisherMethod""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema.py b/kubernetes/test/test_v1alpha1_flow_schema.py new file mode 100644 index 0000000000..c1289d8d33 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_flow_schema.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_flow_schema import V1alpha1FlowSchema # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1FlowSchema(unittest.TestCase): + """V1alpha1FlowSchema unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1FlowSchema + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_flow_schema.V1alpha1FlowSchema() # noqa: E501 + if include_optional : + return V1alpha1FlowSchema( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/flow_schema_spec.v1alpha1.FlowSchemaSpec( + distinguisher_method = kubernetes.client.models.v1alpha1/flow_distinguisher_method.v1alpha1.FlowDistinguisherMethod( + type = '0', ), + matching_precedence = 56, + priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( + name = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rules_with_subjects.v1alpha1.PolicyRulesWithSubjects( + non_resource_rules = [ + kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( + api_groups = [ + '0' + ], + cluster_scope = True, + namespaces = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + subjects = [ + kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( + group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( + name = '0', ), + kind = '0', + service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( + name = '0', + namespace = '0', ), + user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( + name = '0', ), ) + ], ) + ], ), + status = kubernetes.client.models.v1alpha1/flow_schema_status.v1alpha1.FlowSchemaStatus( + conditions = [ + kubernetes.client.models.v1alpha1/flow_schema_condition.v1alpha1.FlowSchemaCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ) + ) + else : + return V1alpha1FlowSchema( + ) + + def testV1alpha1FlowSchema(self): + """Test V1alpha1FlowSchema""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema_condition.py b/kubernetes/test/test_v1alpha1_flow_schema_condition.py new file mode 100644 index 0000000000..dc34d2e929 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_flow_schema_condition.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_flow_schema_condition import V1alpha1FlowSchemaCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1FlowSchemaCondition(unittest.TestCase): + """V1alpha1FlowSchemaCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1FlowSchemaCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_flow_schema_condition.V1alpha1FlowSchemaCondition() # noqa: E501 + if include_optional : + return V1alpha1FlowSchemaCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1alpha1FlowSchemaCondition( + ) + + def testV1alpha1FlowSchemaCondition(self): + """Test V1alpha1FlowSchemaCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema_list.py b/kubernetes/test/test_v1alpha1_flow_schema_list.py new file mode 100644 index 0000000000..98073677d3 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_flow_schema_list.py @@ -0,0 +1,252 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_flow_schema_list import V1alpha1FlowSchemaList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1FlowSchemaList(unittest.TestCase): + """V1alpha1FlowSchemaList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1FlowSchemaList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_flow_schema_list.V1alpha1FlowSchemaList() # noqa: E501 + if include_optional : + return V1alpha1FlowSchemaList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/flow_schema.v1alpha1.FlowSchema( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/flow_schema_spec.v1alpha1.FlowSchemaSpec( + distinguisher_method = kubernetes.client.models.v1alpha1/flow_distinguisher_method.v1alpha1.FlowDistinguisherMethod( + type = '0', ), + matching_precedence = 56, + priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( + name = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rules_with_subjects.v1alpha1.PolicyRulesWithSubjects( + non_resource_rules = [ + kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( + api_groups = [ + '0' + ], + cluster_scope = True, + namespaces = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + subjects = [ + kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( + group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( + name = '0', ), + kind = '0', + service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( + name = '0', + namespace = '0', ), + user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( + name = '0', ), ) + ], ) + ], ), + status = kubernetes.client.models.v1alpha1/flow_schema_status.v1alpha1.FlowSchemaStatus( + conditions = [ + kubernetes.client.models.v1alpha1/flow_schema_condition.v1alpha1.FlowSchemaCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1FlowSchemaList( + items = [ + kubernetes.client.models.v1alpha1/flow_schema.v1alpha1.FlowSchema( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/flow_schema_spec.v1alpha1.FlowSchemaSpec( + distinguisher_method = kubernetes.client.models.v1alpha1/flow_distinguisher_method.v1alpha1.FlowDistinguisherMethod( + type = '0', ), + matching_precedence = 56, + priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( + name = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rules_with_subjects.v1alpha1.PolicyRulesWithSubjects( + non_resource_rules = [ + kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( + api_groups = [ + '0' + ], + cluster_scope = True, + namespaces = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + subjects = [ + kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( + group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( + name = '0', ), + kind = '0', + service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( + name = '0', + namespace = '0', ), + user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( + name = '0', ), ) + ], ) + ], ), + status = kubernetes.client.models.v1alpha1/flow_schema_status.v1alpha1.FlowSchemaStatus( + conditions = [ + kubernetes.client.models.v1alpha1/flow_schema_condition.v1alpha1.FlowSchemaCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ), ) + ], + ) + + def testV1alpha1FlowSchemaList(self): + """Test V1alpha1FlowSchemaList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema_spec.py b/kubernetes/test/test_v1alpha1_flow_schema_spec.py new file mode 100644 index 0000000000..f2575445b3 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_flow_schema_spec.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_flow_schema_spec import V1alpha1FlowSchemaSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1FlowSchemaSpec(unittest.TestCase): + """V1alpha1FlowSchemaSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1FlowSchemaSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_flow_schema_spec.V1alpha1FlowSchemaSpec() # noqa: E501 + if include_optional : + return V1alpha1FlowSchemaSpec( + distinguisher_method = kubernetes.client.models.v1alpha1/flow_distinguisher_method.v1alpha1.FlowDistinguisherMethod( + type = '0', ), + matching_precedence = 56, + priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( + name = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rules_with_subjects.v1alpha1.PolicyRulesWithSubjects( + non_resource_rules = [ + kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( + api_groups = [ + '0' + ], + cluster_scope = True, + namespaces = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + subjects = [ + kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( + group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( + name = '0', ), + kind = '0', + service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( + name = '0', + namespace = '0', ), + user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( + name = '0', ), ) + ], ) + ] + ) + else : + return V1alpha1FlowSchemaSpec( + priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( + name = '0', ), + ) + + def testV1alpha1FlowSchemaSpec(self): + """Test V1alpha1FlowSchemaSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema_status.py b/kubernetes/test/test_v1alpha1_flow_schema_status.py new file mode 100644 index 0000000000..2662062b64 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_flow_schema_status.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_flow_schema_status import V1alpha1FlowSchemaStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1FlowSchemaStatus(unittest.TestCase): + """V1alpha1FlowSchemaStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1FlowSchemaStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_flow_schema_status.V1alpha1FlowSchemaStatus() # noqa: E501 + if include_optional : + return V1alpha1FlowSchemaStatus( + conditions = [ + kubernetes.client.models.v1alpha1/flow_schema_condition.v1alpha1.FlowSchemaCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ] + ) + else : + return V1alpha1FlowSchemaStatus( + ) + + def testV1alpha1FlowSchemaStatus(self): + """Test V1alpha1FlowSchemaStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_group_subject.py b/kubernetes/test/test_v1alpha1_group_subject.py new file mode 100644 index 0000000000..5b268d3bcc --- /dev/null +++ b/kubernetes/test/test_v1alpha1_group_subject.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_group_subject import V1alpha1GroupSubject # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1GroupSubject(unittest.TestCase): + """V1alpha1GroupSubject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1GroupSubject + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_group_subject.V1alpha1GroupSubject() # noqa: E501 + if include_optional : + return V1alpha1GroupSubject( + name = '0' + ) + else : + return V1alpha1GroupSubject( + name = '0', + ) + + def testV1alpha1GroupSubject(self): + """Test V1alpha1GroupSubject""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_limit_response.py b/kubernetes/test/test_v1alpha1_limit_response.py new file mode 100644 index 0000000000..d8833b561e --- /dev/null +++ b/kubernetes/test/test_v1alpha1_limit_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_limit_response import V1alpha1LimitResponse # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1LimitResponse(unittest.TestCase): + """V1alpha1LimitResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1LimitResponse + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_limit_response.V1alpha1LimitResponse() # noqa: E501 + if include_optional : + return V1alpha1LimitResponse( + queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( + hand_size = 56, + queue_length_limit = 56, + queues = 56, ), + type = '0' + ) + else : + return V1alpha1LimitResponse( + type = '0', + ) + + def testV1alpha1LimitResponse(self): + """Test V1alpha1LimitResponse""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_limited_priority_level_configuration.py b/kubernetes/test/test_v1alpha1_limited_priority_level_configuration.py new file mode 100644 index 0000000000..e80b3364b9 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_limited_priority_level_configuration.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_limited_priority_level_configuration import V1alpha1LimitedPriorityLevelConfiguration # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1LimitedPriorityLevelConfiguration(unittest.TestCase): + """V1alpha1LimitedPriorityLevelConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1LimitedPriorityLevelConfiguration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_limited_priority_level_configuration.V1alpha1LimitedPriorityLevelConfiguration() # noqa: E501 + if include_optional : + return V1alpha1LimitedPriorityLevelConfiguration( + assured_concurrency_shares = 56, + limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( + queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( + hand_size = 56, + queue_length_limit = 56, + queues = 56, ), + type = '0', ) + ) + else : + return V1alpha1LimitedPriorityLevelConfiguration( + ) + + def testV1alpha1LimitedPriorityLevelConfiguration(self): + """Test V1alpha1LimitedPriorityLevelConfiguration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_non_resource_policy_rule.py b/kubernetes/test/test_v1alpha1_non_resource_policy_rule.py new file mode 100644 index 0000000000..98cfb1a897 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_non_resource_policy_rule.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_non_resource_policy_rule import V1alpha1NonResourcePolicyRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1NonResourcePolicyRule(unittest.TestCase): + """V1alpha1NonResourcePolicyRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1NonResourcePolicyRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_non_resource_policy_rule.V1alpha1NonResourcePolicyRule() # noqa: E501 + if include_optional : + return V1alpha1NonResourcePolicyRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1alpha1NonResourcePolicyRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], + ) + + def testV1alpha1NonResourcePolicyRule(self): + """Test V1alpha1NonResourcePolicyRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_overhead.py b/kubernetes/test/test_v1alpha1_overhead.py new file mode 100644 index 0000000000..948f685120 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_overhead.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_overhead import V1alpha1Overhead # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1Overhead(unittest.TestCase): + """V1alpha1Overhead unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1Overhead + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_overhead.V1alpha1Overhead() # noqa: E501 + if include_optional : + return V1alpha1Overhead( + pod_fixed = { + 'key' : '0' + } + ) + else : + return V1alpha1Overhead( + ) + + def testV1alpha1Overhead(self): + """Test V1alpha1Overhead""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset.py b/kubernetes/test/test_v1alpha1_pod_preset.py new file mode 100644 index 0000000000..13bf8a74b4 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_pod_preset.py @@ -0,0 +1,319 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_pod_preset import V1alpha1PodPreset # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PodPreset(unittest.TestCase): + """V1alpha1PodPreset unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PodPreset + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_pod_preset.V1alpha1PodPreset() # noqa: E501 + if include_optional : + return V1alpha1PodPreset( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ) + ) + else : + return V1alpha1PodPreset( + ) + + def testV1alpha1PodPreset(self): + """Test V1alpha1PodPreset""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset_list.py b/kubernetes/test/test_v1alpha1_pod_preset_list.py new file mode 100644 index 0000000000..dc11a90423 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_pod_preset_list.py @@ -0,0 +1,600 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_pod_preset_list import V1alpha1PodPresetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PodPresetList(unittest.TestCase): + """V1alpha1PodPresetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PodPresetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_pod_preset_list.V1alpha1PodPresetList() # noqa: E501 + if include_optional : + return V1alpha1PodPresetList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/pod_preset.v1alpha1.PodPreset( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1PodPresetList( + items = [ + kubernetes.client.models.v1alpha1/pod_preset.v1alpha1.PodPreset( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ], + ) + + def testV1alpha1PodPresetList(self): + """Test V1alpha1PodPresetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset_spec.py b/kubernetes/test/test_v1alpha1_pod_preset_spec.py new file mode 100644 index 0000000000..9f6a5f3de7 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_pod_preset_spec.py @@ -0,0 +1,279 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_pod_preset_spec import V1alpha1PodPresetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PodPresetSpec(unittest.TestCase): + """V1alpha1PodPresetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PodPresetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_pod_preset_spec.V1alpha1PodPresetSpec() # noqa: E501 + if include_optional : + return V1alpha1PodPresetSpec( + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ] + ) + else : + return V1alpha1PodPresetSpec( + ) + + def testV1alpha1PodPresetSpec(self): + """Test V1alpha1PodPresetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy.py b/kubernetes/test/test_v1alpha1_policy.py new file mode 100644 index 0000000000..d3b530b313 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_policy.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_policy import V1alpha1Policy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1Policy(unittest.TestCase): + """V1alpha1Policy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1Policy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_policy.V1alpha1Policy() # noqa: E501 + if include_optional : + return V1alpha1Policy( + level = '0', + stages = [ + '0' + ] + ) + else : + return V1alpha1Policy( + level = '0', + ) + + def testV1alpha1Policy(self): + """Test V1alpha1Policy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy_rule.py b/kubernetes/test/test_v1alpha1_policy_rule.py new file mode 100644 index 0000000000..104cfbb9c0 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_policy_rule.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_policy_rule import V1alpha1PolicyRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PolicyRule(unittest.TestCase): + """V1alpha1PolicyRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PolicyRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_policy_rule.V1alpha1PolicyRule() # noqa: E501 + if include_optional : + return V1alpha1PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1alpha1PolicyRule( + verbs = [ + '0' + ], + ) + + def testV1alpha1PolicyRule(self): + """Test V1alpha1PolicyRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy_rules_with_subjects.py b/kubernetes/test/test_v1alpha1_policy_rules_with_subjects.py new file mode 100644 index 0000000000..6fbbba9b96 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_policy_rules_with_subjects.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_policy_rules_with_subjects import V1alpha1PolicyRulesWithSubjects # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PolicyRulesWithSubjects(unittest.TestCase): + """V1alpha1PolicyRulesWithSubjects unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PolicyRulesWithSubjects + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_policy_rules_with_subjects.V1alpha1PolicyRulesWithSubjects() # noqa: E501 + if include_optional : + return V1alpha1PolicyRulesWithSubjects( + non_resource_rules = [ + kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( + api_groups = [ + '0' + ], + cluster_scope = True, + namespaces = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + subjects = [ + kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( + group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( + name = '0', ), + kind = '0', + service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( + name = '0', + namespace = '0', ), + user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( + name = '0', ), ) + ] + ) + else : + return V1alpha1PolicyRulesWithSubjects( + subjects = [ + kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( + group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( + name = '0', ), + kind = '0', + service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( + name = '0', + namespace = '0', ), + user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( + name = '0', ), ) + ], + ) + + def testV1alpha1PolicyRulesWithSubjects(self): + """Test V1alpha1PolicyRulesWithSubjects""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_class.py b/kubernetes/test/test_v1alpha1_priority_class.py new file mode 100644 index 0000000000..20573641d1 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_priority_class.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_priority_class import V1alpha1PriorityClass # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PriorityClass(unittest.TestCase): + """V1alpha1PriorityClass unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PriorityClass + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_priority_class.V1alpha1PriorityClass() # noqa: E501 + if include_optional : + return V1alpha1PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56 + ) + else : + return V1alpha1PriorityClass( + value = 56, + ) + + def testV1alpha1PriorityClass(self): + """Test V1alpha1PriorityClass""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_class_list.py b/kubernetes/test/test_v1alpha1_priority_class_list.py new file mode 100644 index 0000000000..c1cab5d216 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_priority_class_list.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_priority_class_list import V1alpha1PriorityClassList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PriorityClassList(unittest.TestCase): + """V1alpha1PriorityClassList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PriorityClassList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_priority_class_list.V1alpha1PriorityClassList() # noqa: E501 + if include_optional : + return V1alpha1PriorityClassList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/priority_class.v1alpha1.PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1PriorityClassList( + items = [ + kubernetes.client.models.v1alpha1/priority_class.v1alpha1.PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56, ) + ], + ) + + def testV1alpha1PriorityClassList(self): + """Test V1alpha1PriorityClassList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration.py b/kubernetes/test/test_v1alpha1_priority_level_configuration.py new file mode 100644 index 0000000000..5ddf3bca9b --- /dev/null +++ b/kubernetes/test/test_v1alpha1_priority_level_configuration.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_priority_level_configuration import V1alpha1PriorityLevelConfiguration # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PriorityLevelConfiguration(unittest.TestCase): + """V1alpha1PriorityLevelConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PriorityLevelConfiguration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_priority_level_configuration.V1alpha1PriorityLevelConfiguration() # noqa: E501 + if include_optional : + return V1alpha1PriorityLevelConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/priority_level_configuration_spec.v1alpha1.PriorityLevelConfigurationSpec( + limited = kubernetes.client.models.v1alpha1/limited_priority_level_configuration.v1alpha1.LimitedPriorityLevelConfiguration( + assured_concurrency_shares = 56, + limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( + queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( + hand_size = 56, + queue_length_limit = 56, + queues = 56, ), + type = '0', ), ), + type = '0', ), + status = kubernetes.client.models.v1alpha1/priority_level_configuration_status.v1alpha1.PriorityLevelConfigurationStatus( + conditions = [ + kubernetes.client.models.v1alpha1/priority_level_configuration_condition.v1alpha1.PriorityLevelConfigurationCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ) + ) + else : + return V1alpha1PriorityLevelConfiguration( + ) + + def testV1alpha1PriorityLevelConfiguration(self): + """Test V1alpha1PriorityLevelConfiguration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_condition.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_condition.py new file mode 100644 index 0000000000..69c1bd06fc --- /dev/null +++ b/kubernetes/test/test_v1alpha1_priority_level_configuration_condition.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_priority_level_configuration_condition import V1alpha1PriorityLevelConfigurationCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PriorityLevelConfigurationCondition(unittest.TestCase): + """V1alpha1PriorityLevelConfigurationCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PriorityLevelConfigurationCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_priority_level_configuration_condition.V1alpha1PriorityLevelConfigurationCondition() # noqa: E501 + if include_optional : + return V1alpha1PriorityLevelConfigurationCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1alpha1PriorityLevelConfigurationCondition( + ) + + def testV1alpha1PriorityLevelConfigurationCondition(self): + """Test V1alpha1PriorityLevelConfigurationCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_list.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_list.py new file mode 100644 index 0000000000..8b0ad2954d --- /dev/null +++ b/kubernetes/test/test_v1alpha1_priority_level_configuration_list.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_priority_level_configuration_list import V1alpha1PriorityLevelConfigurationList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PriorityLevelConfigurationList(unittest.TestCase): + """V1alpha1PriorityLevelConfigurationList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PriorityLevelConfigurationList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_priority_level_configuration_list.V1alpha1PriorityLevelConfigurationList() # noqa: E501 + if include_optional : + return V1alpha1PriorityLevelConfigurationList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/priority_level_configuration.v1alpha1.PriorityLevelConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/priority_level_configuration_spec.v1alpha1.PriorityLevelConfigurationSpec( + limited = kubernetes.client.models.v1alpha1/limited_priority_level_configuration.v1alpha1.LimitedPriorityLevelConfiguration( + assured_concurrency_shares = 56, + limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( + queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( + hand_size = 56, + queue_length_limit = 56, + queues = 56, ), + type = '0', ), ), + type = '0', ), + status = kubernetes.client.models.v1alpha1/priority_level_configuration_status.v1alpha1.PriorityLevelConfigurationStatus( + conditions = [ + kubernetes.client.models.v1alpha1/priority_level_configuration_condition.v1alpha1.PriorityLevelConfigurationCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1PriorityLevelConfigurationList( + items = [ + kubernetes.client.models.v1alpha1/priority_level_configuration.v1alpha1.PriorityLevelConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/priority_level_configuration_spec.v1alpha1.PriorityLevelConfigurationSpec( + limited = kubernetes.client.models.v1alpha1/limited_priority_level_configuration.v1alpha1.LimitedPriorityLevelConfiguration( + assured_concurrency_shares = 56, + limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( + queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( + hand_size = 56, + queue_length_limit = 56, + queues = 56, ), + type = '0', ), ), + type = '0', ), + status = kubernetes.client.models.v1alpha1/priority_level_configuration_status.v1alpha1.PriorityLevelConfigurationStatus( + conditions = [ + kubernetes.client.models.v1alpha1/priority_level_configuration_condition.v1alpha1.PriorityLevelConfigurationCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ), ) + ], + ) + + def testV1alpha1PriorityLevelConfigurationList(self): + """Test V1alpha1PriorityLevelConfigurationList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_reference.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_reference.py new file mode 100644 index 0000000000..680fbe8621 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_priority_level_configuration_reference.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_priority_level_configuration_reference import V1alpha1PriorityLevelConfigurationReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PriorityLevelConfigurationReference(unittest.TestCase): + """V1alpha1PriorityLevelConfigurationReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PriorityLevelConfigurationReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_priority_level_configuration_reference.V1alpha1PriorityLevelConfigurationReference() # noqa: E501 + if include_optional : + return V1alpha1PriorityLevelConfigurationReference( + name = '0' + ) + else : + return V1alpha1PriorityLevelConfigurationReference( + name = '0', + ) + + def testV1alpha1PriorityLevelConfigurationReference(self): + """Test V1alpha1PriorityLevelConfigurationReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_spec.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_spec.py new file mode 100644 index 0000000000..fbbe7044a0 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_priority_level_configuration_spec.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_priority_level_configuration_spec import V1alpha1PriorityLevelConfigurationSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PriorityLevelConfigurationSpec(unittest.TestCase): + """V1alpha1PriorityLevelConfigurationSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PriorityLevelConfigurationSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_priority_level_configuration_spec.V1alpha1PriorityLevelConfigurationSpec() # noqa: E501 + if include_optional : + return V1alpha1PriorityLevelConfigurationSpec( + limited = kubernetes.client.models.v1alpha1/limited_priority_level_configuration.v1alpha1.LimitedPriorityLevelConfiguration( + assured_concurrency_shares = 56, + limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( + queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( + hand_size = 56, + queue_length_limit = 56, + queues = 56, ), + type = '0', ), ), + type = '0' + ) + else : + return V1alpha1PriorityLevelConfigurationSpec( + type = '0', + ) + + def testV1alpha1PriorityLevelConfigurationSpec(self): + """Test V1alpha1PriorityLevelConfigurationSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_status.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_status.py new file mode 100644 index 0000000000..859ac3bd6b --- /dev/null +++ b/kubernetes/test/test_v1alpha1_priority_level_configuration_status.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_priority_level_configuration_status import V1alpha1PriorityLevelConfigurationStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1PriorityLevelConfigurationStatus(unittest.TestCase): + """V1alpha1PriorityLevelConfigurationStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1PriorityLevelConfigurationStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_priority_level_configuration_status.V1alpha1PriorityLevelConfigurationStatus() # noqa: E501 + if include_optional : + return V1alpha1PriorityLevelConfigurationStatus( + conditions = [ + kubernetes.client.models.v1alpha1/priority_level_configuration_condition.v1alpha1.PriorityLevelConfigurationCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ] + ) + else : + return V1alpha1PriorityLevelConfigurationStatus( + ) + + def testV1alpha1PriorityLevelConfigurationStatus(self): + """Test V1alpha1PriorityLevelConfigurationStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_queuing_configuration.py b/kubernetes/test/test_v1alpha1_queuing_configuration.py new file mode 100644 index 0000000000..eef38484a2 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_queuing_configuration.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_queuing_configuration import V1alpha1QueuingConfiguration # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1QueuingConfiguration(unittest.TestCase): + """V1alpha1QueuingConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1QueuingConfiguration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_queuing_configuration.V1alpha1QueuingConfiguration() # noqa: E501 + if include_optional : + return V1alpha1QueuingConfiguration( + hand_size = 56, + queue_length_limit = 56, + queues = 56 + ) + else : + return V1alpha1QueuingConfiguration( + ) + + def testV1alpha1QueuingConfiguration(self): + """Test V1alpha1QueuingConfiguration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_resource_policy_rule.py b/kubernetes/test/test_v1alpha1_resource_policy_rule.py new file mode 100644 index 0000000000..a7a17b7e00 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_resource_policy_rule.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_resource_policy_rule import V1alpha1ResourcePolicyRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1ResourcePolicyRule(unittest.TestCase): + """V1alpha1ResourcePolicyRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1ResourcePolicyRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_resource_policy_rule.V1alpha1ResourcePolicyRule() # noqa: E501 + if include_optional : + return V1alpha1ResourcePolicyRule( + api_groups = [ + '0' + ], + cluster_scope = True, + namespaces = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1alpha1ResourcePolicyRule( + api_groups = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], + ) + + def testV1alpha1ResourcePolicyRule(self): + """Test V1alpha1ResourcePolicyRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role.py b/kubernetes/test/test_v1alpha1_role.py new file mode 100644 index 0000000000..2d5f820cbc --- /dev/null +++ b/kubernetes/test/test_v1alpha1_role.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_role import V1alpha1Role # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1Role(unittest.TestCase): + """V1alpha1Role unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1Role + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_role.V1alpha1Role() # noqa: E501 + if include_optional : + return V1alpha1Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ] + ) + else : + return V1alpha1Role( + ) + + def testV1alpha1Role(self): + """Test V1alpha1Role""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_binding.py b/kubernetes/test/test_v1alpha1_role_binding.py new file mode 100644 index 0000000000..2c0c18ec85 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_role_binding.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_role_binding import V1alpha1RoleBinding # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1RoleBinding(unittest.TestCase): + """V1alpha1RoleBinding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1RoleBinding + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_role_binding.V1alpha1RoleBinding() # noqa: E501 + if include_optional : + return V1alpha1RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( + api_version = '0', + kind = '0', + name = '0', + namespace = '0', ) + ] + ) + else : + return V1alpha1RoleBinding( + role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + ) + + def testV1alpha1RoleBinding(self): + """Test V1alpha1RoleBinding""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_binding_list.py b/kubernetes/test/test_v1alpha1_role_binding_list.py new file mode 100644 index 0000000000..793b4fe204 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_role_binding_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_role_binding_list import V1alpha1RoleBindingList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1RoleBindingList(unittest.TestCase): + """V1alpha1RoleBindingList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1RoleBindingList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_role_binding_list.V1alpha1RoleBindingList() # noqa: E501 + if include_optional : + return V1alpha1RoleBindingList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/role_binding.v1alpha1.RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( + api_version = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1RoleBindingList( + items = [ + kubernetes.client.models.v1alpha1/role_binding.v1alpha1.RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( + api_version = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + ) + + def testV1alpha1RoleBindingList(self): + """Test V1alpha1RoleBindingList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_list.py b/kubernetes/test/test_v1alpha1_role_list.py new file mode 100644 index 0000000000..20efc58f56 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_role_list.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_role_list import V1alpha1RoleList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1RoleList(unittest.TestCase): + """V1alpha1RoleList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1RoleList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_role_list.V1alpha1RoleList() # noqa: E501 + if include_optional : + return V1alpha1RoleList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/role.v1alpha1.Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1RoleList( + items = [ + kubernetes.client.models.v1alpha1/role.v1alpha1.Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + ) + + def testV1alpha1RoleList(self): + """Test V1alpha1RoleList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_ref.py b/kubernetes/test/test_v1alpha1_role_ref.py new file mode 100644 index 0000000000..381d8a1ce6 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_role_ref.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_role_ref import V1alpha1RoleRef # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1RoleRef(unittest.TestCase): + """V1alpha1RoleRef unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1RoleRef + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_role_ref.V1alpha1RoleRef() # noqa: E501 + if include_optional : + return V1alpha1RoleRef( + api_group = '0', + kind = '0', + name = '0' + ) + else : + return V1alpha1RoleRef( + api_group = '0', + kind = '0', + name = '0', + ) + + def testV1alpha1RoleRef(self): + """Test V1alpha1RoleRef""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class.py b/kubernetes/test/test_v1alpha1_runtime_class.py new file mode 100644 index 0000000000..b2d96a83cc --- /dev/null +++ b/kubernetes/test/test_v1alpha1_runtime_class.py @@ -0,0 +1,128 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_runtime_class import V1alpha1RuntimeClass # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1RuntimeClass(unittest.TestCase): + """V1alpha1RuntimeClass unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1RuntimeClass + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_runtime_class.V1alpha1RuntimeClass() # noqa: E501 + if include_optional : + return V1alpha1RuntimeClass( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( + overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( + pod_fixed = { + 'key' : '0' + }, ), + runtime_handler = '0', + scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], ), ) + ) + else : + return V1alpha1RuntimeClass( + spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( + overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( + pod_fixed = { + 'key' : '0' + }, ), + runtime_handler = '0', + scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], ), ), + ) + + def testV1alpha1RuntimeClass(self): + """Test V1alpha1RuntimeClass""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class_list.py b/kubernetes/test/test_v1alpha1_runtime_class_list.py new file mode 100644 index 0000000000..a49b1d22d2 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_runtime_class_list.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_runtime_class_list import V1alpha1RuntimeClassList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1RuntimeClassList(unittest.TestCase): + """V1alpha1RuntimeClassList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1RuntimeClassList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_runtime_class_list.V1alpha1RuntimeClassList() # noqa: E501 + if include_optional : + return V1alpha1RuntimeClassList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/runtime_class.v1alpha1.RuntimeClass( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( + overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( + pod_fixed = { + 'key' : '0' + }, ), + runtime_handler = '0', + scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1RuntimeClassList( + items = [ + kubernetes.client.models.v1alpha1/runtime_class.v1alpha1.RuntimeClass( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( + overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( + pod_fixed = { + 'key' : '0' + }, ), + runtime_handler = '0', + scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], ), ), ) + ], + ) + + def testV1alpha1RuntimeClassList(self): + """Test V1alpha1RuntimeClassList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class_spec.py b/kubernetes/test/test_v1alpha1_runtime_class_spec.py new file mode 100644 index 0000000000..79114aaedb --- /dev/null +++ b/kubernetes/test/test_v1alpha1_runtime_class_spec.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_runtime_class_spec import V1alpha1RuntimeClassSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1RuntimeClassSpec(unittest.TestCase): + """V1alpha1RuntimeClassSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1RuntimeClassSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_runtime_class_spec.V1alpha1RuntimeClassSpec() # noqa: E501 + if include_optional : + return V1alpha1RuntimeClassSpec( + overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( + pod_fixed = { + 'key' : '0' + }, ), + runtime_handler = '0', + scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], ) + ) + else : + return V1alpha1RuntimeClassSpec( + runtime_handler = '0', + ) + + def testV1alpha1RuntimeClassSpec(self): + """Test V1alpha1RuntimeClassSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_scheduling.py b/kubernetes/test/test_v1alpha1_scheduling.py new file mode 100644 index 0000000000..d47d67b0e9 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_scheduling.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_scheduling import V1alpha1Scheduling # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1Scheduling(unittest.TestCase): + """V1alpha1Scheduling unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1Scheduling + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_scheduling.V1alpha1Scheduling() # noqa: E501 + if include_optional : + return V1alpha1Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ] + ) + else : + return V1alpha1Scheduling( + ) + + def testV1alpha1Scheduling(self): + """Test V1alpha1Scheduling""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_service_account_subject.py b/kubernetes/test/test_v1alpha1_service_account_subject.py new file mode 100644 index 0000000000..25b3d8d31c --- /dev/null +++ b/kubernetes/test/test_v1alpha1_service_account_subject.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_service_account_subject import V1alpha1ServiceAccountSubject # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1ServiceAccountSubject(unittest.TestCase): + """V1alpha1ServiceAccountSubject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1ServiceAccountSubject + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_service_account_subject.V1alpha1ServiceAccountSubject() # noqa: E501 + if include_optional : + return V1alpha1ServiceAccountSubject( + name = '0', + namespace = '0' + ) + else : + return V1alpha1ServiceAccountSubject( + name = '0', + namespace = '0', + ) + + def testV1alpha1ServiceAccountSubject(self): + """Test V1alpha1ServiceAccountSubject""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_service_reference.py b/kubernetes/test/test_v1alpha1_service_reference.py new file mode 100644 index 0000000000..b6fedb395d --- /dev/null +++ b/kubernetes/test/test_v1alpha1_service_reference.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_service_reference import V1alpha1ServiceReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1ServiceReference(unittest.TestCase): + """V1alpha1ServiceReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1ServiceReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_service_reference.V1alpha1ServiceReference() # noqa: E501 + if include_optional : + return V1alpha1ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56 + ) + else : + return V1alpha1ServiceReference( + name = '0', + namespace = '0', + ) + + def testV1alpha1ServiceReference(self): + """Test V1alpha1ServiceReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_user_subject.py b/kubernetes/test/test_v1alpha1_user_subject.py new file mode 100644 index 0000000000..87b5970900 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_user_subject.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_user_subject import V1alpha1UserSubject # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1UserSubject(unittest.TestCase): + """V1alpha1UserSubject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1UserSubject + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_user_subject.V1alpha1UserSubject() # noqa: E501 + if include_optional : + return V1alpha1UserSubject( + name = '0' + ) + else : + return V1alpha1UserSubject( + name = '0', + ) + + def testV1alpha1UserSubject(self): + """Test V1alpha1UserSubject""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment.py b/kubernetes/test/test_v1alpha1_volume_attachment.py new file mode 100644 index 0000000000..287fc614ae --- /dev/null +++ b/kubernetes/test/test_v1alpha1_volume_attachment.py @@ -0,0 +1,495 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_volume_attachment import V1alpha1VolumeAttachment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1VolumeAttachment(unittest.TestCase): + """V1alpha1VolumeAttachment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1VolumeAttachment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_volume_attachment.V1alpha1VolumeAttachment() # noqa: E501 + if include_optional : + return V1alpha1VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ) + else : + return V1alpha1VolumeAttachment( + spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + ) + + def testV1alpha1VolumeAttachment(self): + """Test V1alpha1VolumeAttachment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_list.py b/kubernetes/test/test_v1alpha1_volume_attachment_list.py new file mode 100644 index 0000000000..c932071bc1 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_volume_attachment_list.py @@ -0,0 +1,560 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_volume_attachment_list import V1alpha1VolumeAttachmentList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1VolumeAttachmentList(unittest.TestCase): + """V1alpha1VolumeAttachmentList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1VolumeAttachmentList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_volume_attachment_list.V1alpha1VolumeAttachmentList() # noqa: E501 + if include_optional : + return V1alpha1VolumeAttachmentList( + api_version = '0', + items = [ + kubernetes.client.models.v1alpha1/volume_attachment.v1alpha1.VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1alpha1VolumeAttachmentList( + items = [ + kubernetes.client.models.v1alpha1/volume_attachment.v1alpha1.VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) + ], + ) + + def testV1alpha1VolumeAttachmentList(self): + """Test V1alpha1VolumeAttachmentList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_source.py b/kubernetes/test/test_v1alpha1_volume_attachment_source.py new file mode 100644 index 0000000000..4091ad5b84 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_volume_attachment_source.py @@ -0,0 +1,243 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_volume_attachment_source import V1alpha1VolumeAttachmentSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1VolumeAttachmentSource(unittest.TestCase): + """V1alpha1VolumeAttachmentSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1VolumeAttachmentSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_volume_attachment_source.V1alpha1VolumeAttachmentSource() # noqa: E501 + if include_optional : + return V1alpha1VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0' + ) + else : + return V1alpha1VolumeAttachmentSource( + ) + + def testV1alpha1VolumeAttachmentSource(self): + """Test V1alpha1VolumeAttachmentSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py b/kubernetes/test/test_v1alpha1_volume_attachment_spec.py new file mode 100644 index 0000000000..d578298719 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_volume_attachment_spec.py @@ -0,0 +1,441 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_volume_attachment_spec import V1alpha1VolumeAttachmentSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1VolumeAttachmentSpec(unittest.TestCase): + """V1alpha1VolumeAttachmentSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1VolumeAttachmentSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_volume_attachment_spec.V1alpha1VolumeAttachmentSpec() # noqa: E501 + if include_optional : + return V1alpha1VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ) + ) + else : + return V1alpha1VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), + ) + + def testV1alpha1VolumeAttachmentSpec(self): + """Test V1alpha1VolumeAttachmentSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_status.py b/kubernetes/test/test_v1alpha1_volume_attachment_status.py new file mode 100644 index 0000000000..5122ebee10 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_volume_attachment_status.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_volume_attachment_status import V1alpha1VolumeAttachmentStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1VolumeAttachmentStatus(unittest.TestCase): + """V1alpha1VolumeAttachmentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1VolumeAttachmentStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_volume_attachment_status.V1alpha1VolumeAttachmentStatus() # noqa: E501 + if include_optional : + return V1alpha1VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ) + else : + return V1alpha1VolumeAttachmentStatus( + attached = True, + ) + + def testV1alpha1VolumeAttachmentStatus(self): + """Test V1alpha1VolumeAttachmentStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_error.py b/kubernetes/test/test_v1alpha1_volume_error.py new file mode 100644 index 0000000000..20c3160e24 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_volume_error.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_volume_error import V1alpha1VolumeError # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1VolumeError(unittest.TestCase): + """V1alpha1VolumeError unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1VolumeError + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_volume_error.V1alpha1VolumeError() # noqa: E501 + if include_optional : + return V1alpha1VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1alpha1VolumeError( + ) + + def testV1alpha1VolumeError(self): + """Test V1alpha1VolumeError""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook.py b/kubernetes/test/test_v1alpha1_webhook.py new file mode 100644 index 0000000000..43bc352dfb --- /dev/null +++ b/kubernetes/test/test_v1alpha1_webhook.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_webhook import V1alpha1Webhook # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1Webhook(unittest.TestCase): + """V1alpha1Webhook unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1Webhook + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_webhook.V1alpha1Webhook() # noqa: E501 + if include_optional : + return V1alpha1Webhook( + kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( + burst = 56, + qps = 56, ) + ) + else : + return V1alpha1Webhook( + kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + ) + + def testV1alpha1Webhook(self): + """Test V1alpha1Webhook""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook_client_config.py b/kubernetes/test/test_v1alpha1_webhook_client_config.py new file mode 100644 index 0000000000..b467923f22 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_webhook_client_config.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_webhook_client_config import V1alpha1WebhookClientConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1WebhookClientConfig(unittest.TestCase): + """V1alpha1WebhookClientConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1WebhookClientConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_webhook_client_config.V1alpha1WebhookClientConfig() # noqa: E501 + if include_optional : + return V1alpha1WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0' + ) + else : + return V1alpha1WebhookClientConfig( + ) + + def testV1alpha1WebhookClientConfig(self): + """Test V1alpha1WebhookClientConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook_throttle_config.py b/kubernetes/test/test_v1alpha1_webhook_throttle_config.py new file mode 100644 index 0000000000..838d9bae08 --- /dev/null +++ b/kubernetes/test/test_v1alpha1_webhook_throttle_config.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1alpha1_webhook_throttle_config import V1alpha1WebhookThrottleConfig # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1alpha1WebhookThrottleConfig(unittest.TestCase): + """V1alpha1WebhookThrottleConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1alpha1WebhookThrottleConfig + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1alpha1_webhook_throttle_config.V1alpha1WebhookThrottleConfig() # noqa: E501 + if include_optional : + return V1alpha1WebhookThrottleConfig( + burst = 56, + qps = 56 + ) + else : + return V1alpha1WebhookThrottleConfig( + ) + + def testV1alpha1WebhookThrottleConfig(self): + """Test V1alpha1WebhookThrottleConfig""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_aggregation_rule.py b/kubernetes/test/test_v1beta1_aggregation_rule.py new file mode 100644 index 0000000000..f7618f64be --- /dev/null +++ b/kubernetes/test/test_v1beta1_aggregation_rule.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_aggregation_rule import V1beta1AggregationRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1AggregationRule(unittest.TestCase): + """V1beta1AggregationRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1AggregationRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_aggregation_rule.V1beta1AggregationRule() # noqa: E501 + if include_optional : + return V1beta1AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ] + ) + else : + return V1beta1AggregationRule( + ) + + def testV1beta1AggregationRule(self): + """Test V1beta1AggregationRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service.py b/kubernetes/test/test_v1beta1_api_service.py new file mode 100644 index 0000000000..9810efeae3 --- /dev/null +++ b/kubernetes/test/test_v1beta1_api_service.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_api_service import V1beta1APIService # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1APIService(unittest.TestCase): + """V1beta1APIService unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1APIService + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_api_service.V1beta1APIService() # noqa: E501 + if include_optional : + return V1beta1APIService( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( + ca_bundle = 'YQ==', + group = '0', + group_priority_minimum = 56, + insecure_skip_tls_verify = True, + service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version = '0', + version_priority = 56, ), + status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( + conditions = [ + kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], ) + ) + else : + return V1beta1APIService( + ) + + def testV1beta1APIService(self): + """Test V1beta1APIService""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_condition.py b/kubernetes/test/test_v1beta1_api_service_condition.py new file mode 100644 index 0000000000..2cb5b99487 --- /dev/null +++ b/kubernetes/test/test_v1beta1_api_service_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_api_service_condition import V1beta1APIServiceCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1APIServiceCondition(unittest.TestCase): + """V1beta1APIServiceCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1APIServiceCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_api_service_condition.V1beta1APIServiceCondition() # noqa: E501 + if include_optional : + return V1beta1APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta1APIServiceCondition( + status = '0', + type = '0', + ) + + def testV1beta1APIServiceCondition(self): + """Test V1beta1APIServiceCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_list.py b/kubernetes/test/test_v1beta1_api_service_list.py new file mode 100644 index 0000000000..0181ff0afe --- /dev/null +++ b/kubernetes/test/test_v1beta1_api_service_list.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_api_service_list import V1beta1APIServiceList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1APIServiceList(unittest.TestCase): + """V1beta1APIServiceList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1APIServiceList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_api_service_list.V1beta1APIServiceList() # noqa: E501 + if include_optional : + return V1beta1APIServiceList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/api_service.v1beta1.APIService( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( + ca_bundle = 'YQ==', + group = '0', + group_priority_minimum = 56, + insecure_skip_tls_verify = True, + service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version = '0', + version_priority = 56, ), + status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( + conditions = [ + kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1APIServiceList( + items = [ + kubernetes.client.models.v1beta1/api_service.v1beta1.APIService( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( + ca_bundle = 'YQ==', + group = '0', + group_priority_minimum = 56, + insecure_skip_tls_verify = True, + service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version = '0', + version_priority = 56, ), + status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( + conditions = [ + kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], ), ) + ], + ) + + def testV1beta1APIServiceList(self): + """Test V1beta1APIServiceList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_spec.py b/kubernetes/test/test_v1beta1_api_service_spec.py new file mode 100644 index 0000000000..180ba49c98 --- /dev/null +++ b/kubernetes/test/test_v1beta1_api_service_spec.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_api_service_spec import V1beta1APIServiceSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1APIServiceSpec(unittest.TestCase): + """V1beta1APIServiceSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1APIServiceSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_api_service_spec.V1beta1APIServiceSpec() # noqa: E501 + if include_optional : + return V1beta1APIServiceSpec( + ca_bundle = 'YQ==', + group = '0', + group_priority_minimum = 56, + insecure_skip_tls_verify = True, + service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version = '0', + version_priority = 56 + ) + else : + return V1beta1APIServiceSpec( + group_priority_minimum = 56, + service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + port = 56, ), + version_priority = 56, + ) + + def testV1beta1APIServiceSpec(self): + """Test V1beta1APIServiceSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_status.py b/kubernetes/test/test_v1beta1_api_service_status.py new file mode 100644 index 0000000000..d7a5dbfd15 --- /dev/null +++ b/kubernetes/test/test_v1beta1_api_service_status.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_api_service_status import V1beta1APIServiceStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1APIServiceStatus(unittest.TestCase): + """V1beta1APIServiceStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1APIServiceStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_api_service_status.V1beta1APIServiceStatus() # noqa: E501 + if include_optional : + return V1beta1APIServiceStatus( + conditions = [ + kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ] + ) + else : + return V1beta1APIServiceStatus( + ) + + def testV1beta1APIServiceStatus(self): + """Test V1beta1APIServiceStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request.py b/kubernetes/test/test_v1beta1_certificate_signing_request.py new file mode 100644 index 0000000000..d2a38fedda --- /dev/null +++ b/kubernetes/test/test_v1beta1_certificate_signing_request.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_certificate_signing_request import V1beta1CertificateSigningRequest # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CertificateSigningRequest(unittest.TestCase): + """V1beta1CertificateSigningRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CertificateSigningRequest + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_certificate_signing_request.V1beta1CertificateSigningRequest() # noqa: E501 + if include_optional : + return V1beta1CertificateSigningRequest( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + request = 'YQ==', + uid = '0', + usages = [ + '0' + ], + username = '0', ), + status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( + certificate = 'YQ==', + conditions = [ + kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ) + ) + else : + return V1beta1CertificateSigningRequest( + ) + + def testV1beta1CertificateSigningRequest(self): + """Test V1beta1CertificateSigningRequest""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py b/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py new file mode 100644 index 0000000000..da0b06e6c6 --- /dev/null +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_certificate_signing_request_condition import V1beta1CertificateSigningRequestCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CertificateSigningRequestCondition(unittest.TestCase): + """V1beta1CertificateSigningRequestCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CertificateSigningRequestCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_certificate_signing_request_condition.V1beta1CertificateSigningRequestCondition() # noqa: E501 + if include_optional : + return V1beta1CertificateSigningRequestCondition( + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0' + ) + else : + return V1beta1CertificateSigningRequestCondition( + type = '0', + ) + + def testV1beta1CertificateSigningRequestCondition(self): + """Test V1beta1CertificateSigningRequestCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py b/kubernetes/test/test_v1beta1_certificate_signing_request_list.py new file mode 100644 index 0000000000..74763f3309 --- /dev/null +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_list.py @@ -0,0 +1,194 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_certificate_signing_request_list import V1beta1CertificateSigningRequestList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CertificateSigningRequestList(unittest.TestCase): + """V1beta1CertificateSigningRequestList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CertificateSigningRequestList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_certificate_signing_request_list.V1beta1CertificateSigningRequestList() # noqa: E501 + if include_optional : + return V1beta1CertificateSigningRequestList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/certificate_signing_request.v1beta1.CertificateSigningRequest( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + request = 'YQ==', + uid = '0', + usages = [ + '0' + ], + username = '0', ), + status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( + certificate = 'YQ==', + conditions = [ + kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1CertificateSigningRequestList( + items = [ + kubernetes.client.models.v1beta1/certificate_signing_request.v1beta1.CertificateSigningRequest( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + request = 'YQ==', + uid = '0', + usages = [ + '0' + ], + username = '0', ), + status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( + certificate = 'YQ==', + conditions = [ + kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ], ), ) + ], + ) + + def testV1beta1CertificateSigningRequestList(self): + """Test V1beta1CertificateSigningRequestList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py b/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py new file mode 100644 index 0000000000..772bfaf85f --- /dev/null +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_certificate_signing_request_spec import V1beta1CertificateSigningRequestSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CertificateSigningRequestSpec(unittest.TestCase): + """V1beta1CertificateSigningRequestSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CertificateSigningRequestSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_certificate_signing_request_spec.V1beta1CertificateSigningRequestSpec() # noqa: E501 + if include_optional : + return V1beta1CertificateSigningRequestSpec( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + request = 'YQ==', + uid = '0', + usages = [ + '0' + ], + username = '0' + ) + else : + return V1beta1CertificateSigningRequestSpec( + request = 'YQ==', + ) + + def testV1beta1CertificateSigningRequestSpec(self): + """Test V1beta1CertificateSigningRequestSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py b/kubernetes/test/test_v1beta1_certificate_signing_request_status.py new file mode 100644 index 0000000000..6cf825e032 --- /dev/null +++ b/kubernetes/test/test_v1beta1_certificate_signing_request_status.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_certificate_signing_request_status import V1beta1CertificateSigningRequestStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CertificateSigningRequestStatus(unittest.TestCase): + """V1beta1CertificateSigningRequestStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CertificateSigningRequestStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_certificate_signing_request_status.V1beta1CertificateSigningRequestStatus() # noqa: E501 + if include_optional : + return V1beta1CertificateSigningRequestStatus( + certificate = 'YQ==', + conditions = [ + kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + type = '0', ) + ] + ) + else : + return V1beta1CertificateSigningRequestStatus( + ) + + def testV1beta1CertificateSigningRequestStatus(self): + """Test V1beta1CertificateSigningRequestStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role.py b/kubernetes/test/test_v1beta1_cluster_role.py new file mode 100644 index 0000000000..3dffe1a655 --- /dev/null +++ b/kubernetes/test/test_v1beta1_cluster_role.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_cluster_role import V1beta1ClusterRole # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ClusterRole(unittest.TestCase): + """V1beta1ClusterRole unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ClusterRole + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_cluster_role.V1beta1ClusterRole() # noqa: E501 + if include_optional : + return V1beta1ClusterRole( + aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ] + ) + else : + return V1beta1ClusterRole( + ) + + def testV1beta1ClusterRole(self): + """Test V1beta1ClusterRole""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding.py b/kubernetes/test/test_v1beta1_cluster_role_binding.py new file mode 100644 index 0000000000..3d479a3720 --- /dev/null +++ b/kubernetes/test/test_v1beta1_cluster_role_binding.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_cluster_role_binding import V1beta1ClusterRoleBinding # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ClusterRoleBinding(unittest.TestCase): + """V1beta1ClusterRoleBinding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ClusterRoleBinding + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_cluster_role_binding.V1beta1ClusterRoleBinding() # noqa: E501 + if include_optional : + return V1beta1ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1beta1/subject.v1beta1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ] + ) + else : + return V1beta1ClusterRoleBinding( + role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + ) + + def testV1beta1ClusterRoleBinding(self): + """Test V1beta1ClusterRoleBinding""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py b/kubernetes/test/test_v1beta1_cluster_role_binding_list.py new file mode 100644 index 0000000000..110d10b5c3 --- /dev/null +++ b/kubernetes/test/test_v1beta1_cluster_role_binding_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_cluster_role_binding_list import V1beta1ClusterRoleBindingList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ClusterRoleBindingList(unittest.TestCase): + """V1beta1ClusterRoleBindingList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ClusterRoleBindingList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_cluster_role_binding_list.V1beta1ClusterRoleBindingList() # noqa: E501 + if include_optional : + return V1beta1ClusterRoleBindingList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/cluster_role_binding.v1beta1.ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1beta1/subject.v1beta1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1ClusterRoleBindingList( + items = [ + kubernetes.client.models.v1beta1/cluster_role_binding.v1beta1.ClusterRoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1beta1/subject.v1beta1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + ) + + def testV1beta1ClusterRoleBindingList(self): + """Test V1beta1ClusterRoleBindingList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_list.py b/kubernetes/test/test_v1beta1_cluster_role_list.py new file mode 100644 index 0000000000..3f95cbc221 --- /dev/null +++ b/kubernetes/test/test_v1beta1_cluster_role_list.py @@ -0,0 +1,212 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_cluster_role_list import V1beta1ClusterRoleList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ClusterRoleList(unittest.TestCase): + """V1beta1ClusterRoleList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ClusterRoleList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_cluster_role_list.V1beta1ClusterRoleList() # noqa: E501 + if include_optional : + return V1beta1ClusterRoleList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/cluster_role.v1beta1.ClusterRole( + aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1ClusterRoleList( + items = [ + kubernetes.client.models.v1beta1/cluster_role.v1beta1.ClusterRole( + aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( + cluster_role_selectors = [ + kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ], ), + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + ) + + def testV1beta1ClusterRoleList(self): + """Test V1beta1ClusterRoleList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_controller_revision.py b/kubernetes/test/test_v1beta1_controller_revision.py new file mode 100644 index 0000000000..6cfece2805 --- /dev/null +++ b/kubernetes/test/test_v1beta1_controller_revision.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_controller_revision import V1beta1ControllerRevision # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ControllerRevision(unittest.TestCase): + """V1beta1ControllerRevision unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ControllerRevision + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_controller_revision.V1beta1ControllerRevision() # noqa: E501 + if include_optional : + return V1beta1ControllerRevision( + api_version = '0', + data = None, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56 + ) + else : + return V1beta1ControllerRevision( + revision = 56, + ) + + def testV1beta1ControllerRevision(self): + """Test V1beta1ControllerRevision""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_controller_revision_list.py b/kubernetes/test/test_v1beta1_controller_revision_list.py new file mode 100644 index 0000000000..b47b6767c2 --- /dev/null +++ b/kubernetes/test/test_v1beta1_controller_revision_list.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_controller_revision_list import V1beta1ControllerRevisionList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ControllerRevisionList(unittest.TestCase): + """V1beta1ControllerRevisionList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ControllerRevisionList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_controller_revision_list.V1beta1ControllerRevisionList() # noqa: E501 + if include_optional : + return V1beta1ControllerRevisionList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/controller_revision.v1beta1.ControllerRevision( + api_version = '0', + data = kubernetes.client.models.data.data(), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1ControllerRevisionList( + items = [ + kubernetes.client.models.v1beta1/controller_revision.v1beta1.ControllerRevision( + api_version = '0', + data = kubernetes.client.models.data.data(), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56, ) + ], + ) + + def testV1beta1ControllerRevisionList(self): + """Test V1beta1ControllerRevisionList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job.py b/kubernetes/test/test_v1beta1_cron_job.py new file mode 100644 index 0000000000..6a5f2651ef --- /dev/null +++ b/kubernetes/test/test_v1beta1_cron_job.py @@ -0,0 +1,171 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_cron_job import V1beta1CronJob # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CronJob(unittest.TestCase): + """V1beta1CronJob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CronJob + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_cron_job.V1beta1CronJob() # noqa: E501 + if include_optional : + return V1beta1CronJob( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( + concurrency_policy = '0', + failed_jobs_history_limit = 56, + job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + ttl_seconds_after_finished = 56, ), ), + schedule = '0', + starting_deadline_seconds = 56, + successful_jobs_history_limit = 56, + suspend = True, ), + status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( + active = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], + last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ) + else : + return V1beta1CronJob( + ) + + def testV1beta1CronJob(self): + """Test V1beta1CronJob""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_list.py b/kubernetes/test/test_v1beta1_cron_job_list.py new file mode 100644 index 0000000000..fdfde902c0 --- /dev/null +++ b/kubernetes/test/test_v1beta1_cron_job_list.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_cron_job_list import V1beta1CronJobList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CronJobList(unittest.TestCase): + """V1beta1CronJobList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CronJobList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_cron_job_list.V1beta1CronJobList() # noqa: E501 + if include_optional : + return V1beta1CronJobList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/cron_job.v1beta1.CronJob( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( + concurrency_policy = '0', + failed_jobs_history_limit = 56, + job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec(), + schedule = '0', + starting_deadline_seconds = 56, + successful_jobs_history_limit = 56, + suspend = True, ), + status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( + active = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], + last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1CronJobList( + items = [ + kubernetes.client.models.v1beta1/cron_job.v1beta1.CronJob( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( + concurrency_policy = '0', + failed_jobs_history_limit = 56, + job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec(), + schedule = '0', + starting_deadline_seconds = 56, + successful_jobs_history_limit = 56, + suspend = True, ), + status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( + active = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], + last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + ) + + def testV1beta1CronJobList(self): + """Test V1beta1CronJobList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_spec.py b/kubernetes/test/test_v1beta1_cron_job_spec.py new file mode 100644 index 0000000000..b75d3058f6 --- /dev/null +++ b/kubernetes/test/test_v1beta1_cron_job_spec.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_cron_job_spec import V1beta1CronJobSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CronJobSpec(unittest.TestCase): + """V1beta1CronJobSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CronJobSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_cron_job_spec.V1beta1CronJobSpec() # noqa: E501 + if include_optional : + return V1beta1CronJobSpec( + concurrency_policy = '0', + failed_jobs_history_limit = 56, + job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + ttl_seconds_after_finished = 56, ), ), + schedule = '0', + starting_deadline_seconds = 56, + successful_jobs_history_limit = 56, + suspend = True + ) + else : + return V1beta1CronJobSpec( + job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + ttl_seconds_after_finished = 56, ), ), + schedule = '0', + ) + + def testV1beta1CronJobSpec(self): + """Test V1beta1CronJobSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_status.py b/kubernetes/test/test_v1beta1_cron_job_status.py new file mode 100644 index 0000000000..e02b05027f --- /dev/null +++ b/kubernetes/test/test_v1beta1_cron_job_status.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_cron_job_status import V1beta1CronJobStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CronJobStatus(unittest.TestCase): + """V1beta1CronJobStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CronJobStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_cron_job_status.V1beta1CronJobStatus() # noqa: E501 + if include_optional : + return V1beta1CronJobStatus( + active = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], + last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1beta1CronJobStatus( + ) + + def testV1beta1CronJobStatus(self): + """Test V1beta1CronJobStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver.py b/kubernetes/test/test_v1beta1_csi_driver.py new file mode 100644 index 0000000000..d39b01bbde --- /dev/null +++ b/kubernetes/test/test_v1beta1_csi_driver.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_csi_driver import V1beta1CSIDriver # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CSIDriver(unittest.TestCase): + """V1beta1CSIDriver unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CSIDriver + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_csi_driver.V1beta1CSIDriver() # noqa: E501 + if include_optional : + return V1beta1CSIDriver( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( + attach_required = True, + pod_info_on_mount = True, + volume_lifecycle_modes = [ + '0' + ], ) + ) + else : + return V1beta1CSIDriver( + spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( + attach_required = True, + pod_info_on_mount = True, + volume_lifecycle_modes = [ + '0' + ], ), + ) + + def testV1beta1CSIDriver(self): + """Test V1beta1CSIDriver""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver_list.py b/kubernetes/test/test_v1beta1_csi_driver_list.py new file mode 100644 index 0000000000..2cd8250e87 --- /dev/null +++ b/kubernetes/test/test_v1beta1_csi_driver_list.py @@ -0,0 +1,158 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_csi_driver_list import V1beta1CSIDriverList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CSIDriverList(unittest.TestCase): + """V1beta1CSIDriverList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CSIDriverList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_csi_driver_list.V1beta1CSIDriverList() # noqa: E501 + if include_optional : + return V1beta1CSIDriverList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/csi_driver.v1beta1.CSIDriver( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( + attach_required = True, + pod_info_on_mount = True, + volume_lifecycle_modes = [ + '0' + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1CSIDriverList( + items = [ + kubernetes.client.models.v1beta1/csi_driver.v1beta1.CSIDriver( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( + attach_required = True, + pod_info_on_mount = True, + volume_lifecycle_modes = [ + '0' + ], ), ) + ], + ) + + def testV1beta1CSIDriverList(self): + """Test V1beta1CSIDriverList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver_spec.py b/kubernetes/test/test_v1beta1_csi_driver_spec.py new file mode 100644 index 0000000000..6fcb6e4ad0 --- /dev/null +++ b/kubernetes/test/test_v1beta1_csi_driver_spec.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_csi_driver_spec import V1beta1CSIDriverSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CSIDriverSpec(unittest.TestCase): + """V1beta1CSIDriverSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CSIDriverSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_csi_driver_spec.V1beta1CSIDriverSpec() # noqa: E501 + if include_optional : + return V1beta1CSIDriverSpec( + attach_required = True, + pod_info_on_mount = True, + volume_lifecycle_modes = [ + '0' + ] + ) + else : + return V1beta1CSIDriverSpec( + ) + + def testV1beta1CSIDriverSpec(self): + """Test V1beta1CSIDriverSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node.py b/kubernetes/test/test_v1beta1_csi_node.py new file mode 100644 index 0000000000..7749a4c130 --- /dev/null +++ b/kubernetes/test/test_v1beta1_csi_node.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_csi_node import V1beta1CSINode # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CSINode(unittest.TestCase): + """V1beta1CSINode unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CSINode + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_csi_node.V1beta1CSINode() # noqa: E501 + if include_optional : + return V1beta1CSINode( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( + drivers = [ + kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( + allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], ) + ) + else : + return V1beta1CSINode( + spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( + drivers = [ + kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( + allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], ), + ) + + def testV1beta1CSINode(self): + """Test V1beta1CSINode""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_driver.py b/kubernetes/test/test_v1beta1_csi_node_driver.py new file mode 100644 index 0000000000..1132512336 --- /dev/null +++ b/kubernetes/test/test_v1beta1_csi_node_driver.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_csi_node_driver import V1beta1CSINodeDriver # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CSINodeDriver(unittest.TestCase): + """V1beta1CSINodeDriver unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CSINodeDriver + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_csi_node_driver.V1beta1CSINodeDriver() # noqa: E501 + if include_optional : + return V1beta1CSINodeDriver( + allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ] + ) + else : + return V1beta1CSINodeDriver( + name = '0', + node_id = '0', + ) + + def testV1beta1CSINodeDriver(self): + """Test V1beta1CSINodeDriver""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_list.py b/kubernetes/test/test_v1beta1_csi_node_list.py new file mode 100644 index 0000000000..134a147a90 --- /dev/null +++ b/kubernetes/test/test_v1beta1_csi_node_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_csi_node_list import V1beta1CSINodeList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CSINodeList(unittest.TestCase): + """V1beta1CSINodeList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CSINodeList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_csi_node_list.V1beta1CSINodeList() # noqa: E501 + if include_optional : + return V1beta1CSINodeList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/csi_node.v1beta1.CSINode( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( + drivers = [ + kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( + allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1CSINodeList( + items = [ + kubernetes.client.models.v1beta1/csi_node.v1beta1.CSINode( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( + drivers = [ + kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( + allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], ), ) + ], + ) + + def testV1beta1CSINodeList(self): + """Test V1beta1CSINodeList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_spec.py b/kubernetes/test/test_v1beta1_csi_node_spec.py new file mode 100644 index 0000000000..407e736750 --- /dev/null +++ b/kubernetes/test/test_v1beta1_csi_node_spec.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_csi_node_spec import V1beta1CSINodeSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CSINodeSpec(unittest.TestCase): + """V1beta1CSINodeSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CSINodeSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_csi_node_spec.V1beta1CSINodeSpec() # noqa: E501 + if include_optional : + return V1beta1CSINodeSpec( + drivers = [ + kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( + allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ] + ) + else : + return V1beta1CSINodeSpec( + drivers = [ + kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( + allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( + count = 56, ), + name = '0', + node_id = '0', + topology_keys = [ + '0' + ], ) + ], + ) + + def testV1beta1CSINodeSpec(self): + """Test V1beta1CSINodeSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_column_definition.py b/kubernetes/test/test_v1beta1_custom_resource_column_definition.py new file mode 100644 index 0000000000..e760f5b6a7 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_column_definition.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_column_definition import V1beta1CustomResourceColumnDefinition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceColumnDefinition(unittest.TestCase): + """V1beta1CustomResourceColumnDefinition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceColumnDefinition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_column_definition.V1beta1CustomResourceColumnDefinition() # noqa: E501 + if include_optional : + return V1beta1CustomResourceColumnDefinition( + json_path = '0', + description = '0', + format = '0', + name = '0', + priority = 56, + type = '0' + ) + else : + return V1beta1CustomResourceColumnDefinition( + json_path = '0', + name = '0', + type = '0', + ) + + def testV1beta1CustomResourceColumnDefinition(self): + """Test V1beta1CustomResourceColumnDefinition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_conversion.py b/kubernetes/test/test_v1beta1_custom_resource_conversion.py new file mode 100644 index 0000000000..fbe2eea973 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_conversion.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_conversion import V1beta1CustomResourceConversion # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceConversion(unittest.TestCase): + """V1beta1CustomResourceConversion unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceConversion + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_conversion.V1beta1CustomResourceConversion() # noqa: E501 + if include_optional : + return V1beta1CustomResourceConversion( + conversion_review_versions = [ + '0' + ], + strategy = '0', + webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ) + ) + else : + return V1beta1CustomResourceConversion( + strategy = '0', + ) + + def testV1beta1CustomResourceConversion(self): + """Test V1beta1CustomResourceConversion""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition.py b/kubernetes/test/test_v1beta1_custom_resource_definition.py new file mode 100644 index 0000000000..450635c201 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_definition.py @@ -0,0 +1,2339 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_definition import V1beta1CustomResourceDefinition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceDefinition(unittest.TestCase): + """V1beta1CustomResourceDefinition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceDefinition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_definition.V1beta1CustomResourceDefinition() # noqa: E501 + if include_optional : + return V1beta1CustomResourceDefinition( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( + additional_printer_columns = [ + kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( + json_path = '0', + description = '0', + format = '0', + name = '0', + priority = 56, + type = '0', ) + ], + conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( + conversion_review_versions = [ + '0' + ], + strategy = '0', + webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), ), + group = '0', + names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( + scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), + validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + version = '0', + versions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( + name = '0', + schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), + served = True, + storage = True, ) + ], ), + status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + conditions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + stored_versions = [ + '0' + ], ) + ) + else : + return V1beta1CustomResourceDefinition( + spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( + additional_printer_columns = [ + kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( + json_path = '0', + description = '0', + format = '0', + name = '0', + priority = 56, + type = '0', ) + ], + conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( + conversion_review_versions = [ + '0' + ], + strategy = '0', + webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), ), + group = '0', + names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( + scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), + validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + version = '0', + versions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( + name = '0', + schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), + served = True, + storage = True, ) + ], ), + ) + + def testV1beta1CustomResourceDefinition(self): + """Test V1beta1CustomResourceDefinition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py b/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py new file mode 100644 index 0000000000..a1c9c42a56 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_definition_condition import V1beta1CustomResourceDefinitionCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceDefinitionCondition(unittest.TestCase): + """V1beta1CustomResourceDefinitionCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceDefinitionCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_definition_condition.V1beta1CustomResourceDefinitionCondition() # noqa: E501 + if include_optional : + return V1beta1CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta1CustomResourceDefinitionCondition( + status = '0', + type = '0', + ) + + def testV1beta1CustomResourceDefinitionCondition(self): + """Test V1beta1CustomResourceDefinitionCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py b/kubernetes/test/test_v1beta1_custom_resource_definition_list.py new file mode 100644 index 0000000000..2cfa45d1d6 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_list.py @@ -0,0 +1,2404 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_definition_list import V1beta1CustomResourceDefinitionList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceDefinitionList(unittest.TestCase): + """V1beta1CustomResourceDefinitionList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceDefinitionList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_definition_list.V1beta1CustomResourceDefinitionList() # noqa: E501 + if include_optional : + return V1beta1CustomResourceDefinitionList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/custom_resource_definition.v1beta1.CustomResourceDefinition( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( + additional_printer_columns = [ + kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( + json_path = '0', + description = '0', + format = '0', + name = '0', + priority = 56, + type = '0', ) + ], + conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( + conversion_review_versions = [ + '0' + ], + strategy = '0', + webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), ), + group = '0', + names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( + scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), + validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + version = '0', + versions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( + name = '0', + schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), + served = True, + storage = True, ) + ], ), + status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + kind = '0', + list_kind = '0', + plural = '0', + singular = '0', ), + conditions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + stored_versions = [ + '0' + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1CustomResourceDefinitionList( + items = [ + kubernetes.client.models.v1beta1/custom_resource_definition.v1beta1.CustomResourceDefinition( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( + additional_printer_columns = [ + kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( + json_path = '0', + description = '0', + format = '0', + name = '0', + priority = 56, + type = '0', ) + ], + conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( + conversion_review_versions = [ + '0' + ], + strategy = '0', + webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), ), + group = '0', + names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( + scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), + validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + version = '0', + versions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( + name = '0', + schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), + served = True, + storage = True, ) + ], ), + status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + kind = '0', + list_kind = '0', + plural = '0', + singular = '0', ), + conditions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + stored_versions = [ + '0' + ], ), ) + ], + ) + + def testV1beta1CustomResourceDefinitionList(self): + """Test V1beta1CustomResourceDefinitionList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py b/kubernetes/test/test_v1beta1_custom_resource_definition_names.py new file mode 100644 index 0000000000..73a40058d7 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_names.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_definition_names import V1beta1CustomResourceDefinitionNames # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceDefinitionNames(unittest.TestCase): + """V1beta1CustomResourceDefinitionNames unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceDefinitionNames + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_definition_names.V1beta1CustomResourceDefinitionNames() # noqa: E501 + if include_optional : + return V1beta1CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0' + ) + else : + return V1beta1CustomResourceDefinitionNames( + kind = '0', + plural = '0', + ) + + def testV1beta1CustomResourceDefinitionNames(self): + """Test V1beta1CustomResourceDefinitionNames""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py b/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py new file mode 100644 index 0000000000..5277346491 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py @@ -0,0 +1,2250 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_definition_spec import V1beta1CustomResourceDefinitionSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceDefinitionSpec(unittest.TestCase): + """V1beta1CustomResourceDefinitionSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceDefinitionSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_definition_spec.V1beta1CustomResourceDefinitionSpec() # noqa: E501 + if include_optional : + return V1beta1CustomResourceDefinitionSpec( + additional_printer_columns = [ + kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( + json_path = '0', + description = '0', + format = '0', + name = '0', + priority = 56, + type = '0', ) + ], + conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( + conversion_review_versions = [ + '0' + ], + strategy = '0', + webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), ), + group = '0', + names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + preserve_unknown_fields = True, + scope = '0', + subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( + scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), + validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + version = '0', + versions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( + json_path = '0', + description = '0', + format = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( + scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ), ) + ] + ) + else : + return V1beta1CustomResourceDefinitionSpec( + group = '0', + names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + scope = '0', + ) + + def testV1beta1CustomResourceDefinitionSpec(self): + """Test V1beta1CustomResourceDefinitionSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py b/kubernetes/test/test_v1beta1_custom_resource_definition_status.py new file mode 100644 index 0000000000..8480364b10 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_status.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_definition_status import V1beta1CustomResourceDefinitionStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceDefinitionStatus(unittest.TestCase): + """V1beta1CustomResourceDefinitionStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceDefinitionStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_definition_status.V1beta1CustomResourceDefinitionStatus() # noqa: E501 + if include_optional : + return V1beta1CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + conditions = [ + kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + stored_versions = [ + '0' + ] + ) + else : + return V1beta1CustomResourceDefinitionStatus( + accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( + categories = [ + '0' + ], + kind = '0', + list_kind = '0', + plural = '0', + short_names = [ + '0' + ], + singular = '0', ), + stored_versions = [ + '0' + ], + ) + + def testV1beta1CustomResourceDefinitionStatus(self): + """Test V1beta1CustomResourceDefinitionStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_version.py b/kubernetes/test/test_v1beta1_custom_resource_definition_version.py new file mode 100644 index 0000000000..af9bb8c134 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_definition_version.py @@ -0,0 +1,1133 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_definition_version import V1beta1CustomResourceDefinitionVersion # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceDefinitionVersion(unittest.TestCase): + """V1beta1CustomResourceDefinitionVersion unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceDefinitionVersion + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_definition_version.V1beta1CustomResourceDefinitionVersion() # noqa: E501 + if include_optional : + return V1beta1CustomResourceDefinitionVersion( + additional_printer_columns = [ + kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( + json_path = '0', + description = '0', + format = '0', + name = '0', + priority = 56, + type = '0', ) + ], + name = '0', + schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), ), + served = True, + storage = True, + subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( + scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status(), ) + ) + else : + return V1beta1CustomResourceDefinitionVersion( + name = '0', + served = True, + storage = True, + ) + + def testV1beta1CustomResourceDefinitionVersion(self): + """Test V1beta1CustomResourceDefinitionVersion""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py b/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py new file mode 100644 index 0000000000..26f9e772e0 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_subresource_scale import V1beta1CustomResourceSubresourceScale # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceSubresourceScale(unittest.TestCase): + """V1beta1CustomResourceSubresourceScale unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceSubresourceScale + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_subresource_scale.V1beta1CustomResourceSubresourceScale() # noqa: E501 + if include_optional : + return V1beta1CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0' + ) + else : + return V1beta1CustomResourceSubresourceScale( + spec_replicas_path = '0', + status_replicas_path = '0', + ) + + def testV1beta1CustomResourceSubresourceScale(self): + """Test V1beta1CustomResourceSubresourceScale""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresources.py b/kubernetes/test/test_v1beta1_custom_resource_subresources.py new file mode 100644 index 0000000000..1e55bc9f23 --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_subresources.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_subresources import V1beta1CustomResourceSubresources # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceSubresources(unittest.TestCase): + """V1beta1CustomResourceSubresources unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceSubresources + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_subresources.V1beta1CustomResourceSubresources() # noqa: E501 + if include_optional : + return V1beta1CustomResourceSubresources( + scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( + label_selector_path = '0', + spec_replicas_path = '0', + status_replicas_path = '0', ), + status = kubernetes.client.models.status.status() + ) + else : + return V1beta1CustomResourceSubresources( + ) + + def testV1beta1CustomResourceSubresources(self): + """Test V1beta1CustomResourceSubresources""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_validation.py b/kubernetes/test/test_v1beta1_custom_resource_validation.py new file mode 100644 index 0000000000..65af0a817e --- /dev/null +++ b/kubernetes/test/test_v1beta1_custom_resource_validation.py @@ -0,0 +1,1111 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_custom_resource_validation import V1beta1CustomResourceValidation # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1CustomResourceValidation(unittest.TestCase): + """V1beta1CustomResourceValidation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1CustomResourceValidation + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_custom_resource_validation.V1beta1CustomResourceValidation() # noqa: E501 + if include_optional : + return V1beta1CustomResourceValidation( + open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ) + else : + return V1beta1CustomResourceValidation( + ) + + def testV1beta1CustomResourceValidation(self): + """Test V1beta1CustomResourceValidation""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set.py b/kubernetes/test/test_v1beta1_daemon_set.py new file mode 100644 index 0000000000..12bfb2544f --- /dev/null +++ b/kubernetes/test/test_v1beta1_daemon_set.py @@ -0,0 +1,603 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_daemon_set import V1beta1DaemonSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1DaemonSet(unittest.TestCase): + """V1beta1DaemonSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1DaemonSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_daemon_set.V1beta1DaemonSet() # noqa: E501 + if include_optional : + return V1beta1DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + template_generation = 56, + update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ) + ) + else : + return V1beta1DaemonSet( + ) + + def testV1beta1DaemonSet(self): + """Test V1beta1DaemonSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_condition.py b/kubernetes/test/test_v1beta1_daemon_set_condition.py new file mode 100644 index 0000000000..03554f4477 --- /dev/null +++ b/kubernetes/test/test_v1beta1_daemon_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_daemon_set_condition import V1beta1DaemonSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1DaemonSetCondition(unittest.TestCase): + """V1beta1DaemonSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1DaemonSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_daemon_set_condition.V1beta1DaemonSetCondition() # noqa: E501 + if include_optional : + return V1beta1DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta1DaemonSetCondition( + status = '0', + type = '0', + ) + + def testV1beta1DaemonSetCondition(self): + """Test V1beta1DaemonSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_list.py b/kubernetes/test/test_v1beta1_daemon_set_list.py new file mode 100644 index 0000000000..b3264617f1 --- /dev/null +++ b/kubernetes/test/test_v1beta1_daemon_set_list.py @@ -0,0 +1,224 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_daemon_set_list import V1beta1DaemonSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1DaemonSetList(unittest.TestCase): + """V1beta1DaemonSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1DaemonSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_daemon_set_list.V1beta1DaemonSetList() # noqa: E501 + if include_optional : + return V1beta1DaemonSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/daemon_set.v1beta1.DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + template_generation = 56, + update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1DaemonSetList( + items = [ + kubernetes.client.models.v1beta1/daemon_set.v1beta1.DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + template_generation = 56, + update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ), ) + ], + ) + + def testV1beta1DaemonSetList(self): + """Test V1beta1DaemonSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_spec.py b/kubernetes/test/test_v1beta1_daemon_set_spec.py new file mode 100644 index 0000000000..8f167798ff --- /dev/null +++ b/kubernetes/test/test_v1beta1_daemon_set_spec.py @@ -0,0 +1,1038 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_daemon_set_spec import V1beta1DaemonSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1DaemonSetSpec(unittest.TestCase): + """V1beta1DaemonSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1DaemonSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_daemon_set_spec.V1beta1DaemonSetSpec() # noqa: E501 + if include_optional : + return V1beta1DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + template_generation = 56, + update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ) + ) + else : + return V1beta1DaemonSetSpec( + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1beta1DaemonSetSpec(self): + """Test V1beta1DaemonSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_status.py b/kubernetes/test/test_v1beta1_daemon_set_status.py new file mode 100644 index 0000000000..b8632cccce --- /dev/null +++ b/kubernetes/test/test_v1beta1_daemon_set_status.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_daemon_set_status import V1beta1DaemonSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1DaemonSetStatus(unittest.TestCase): + """V1beta1DaemonSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1DaemonSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_daemon_set_status.V1beta1DaemonSetStatus() # noqa: E501 + if include_optional : + return V1beta1DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56 + ) + else : + return V1beta1DaemonSetStatus( + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_misscheduled = 56, + number_ready = 56, + ) + + def testV1beta1DaemonSetStatus(self): + """Test V1beta1DaemonSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py new file mode 100644 index 0000000000..3b4ccb75c9 --- /dev/null +++ b/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_daemon_set_update_strategy import V1beta1DaemonSetUpdateStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1DaemonSetUpdateStrategy(unittest.TestCase): + """V1beta1DaemonSetUpdateStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1DaemonSetUpdateStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_daemon_set_update_strategy.V1beta1DaemonSetUpdateStrategy() # noqa: E501 + if include_optional : + return V1beta1DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0' + ) + else : + return V1beta1DaemonSetUpdateStrategy( + ) + + def testV1beta1DaemonSetUpdateStrategy(self): + """Test V1beta1DaemonSetUpdateStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint.py b/kubernetes/test/test_v1beta1_endpoint.py new file mode 100644 index 0000000000..8666190b28 --- /dev/null +++ b/kubernetes/test/test_v1beta1_endpoint.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_endpoint import V1beta1Endpoint # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1Endpoint(unittest.TestCase): + """V1beta1Endpoint unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1Endpoint + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_endpoint.V1beta1Endpoint() # noqa: E501 + if include_optional : + return V1beta1Endpoint( + addresses = [ + '0' + ], + conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( + ready = True, ), + hostname = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + topology = { + 'key' : '0' + } + ) + else : + return V1beta1Endpoint( + addresses = [ + '0' + ], + ) + + def testV1beta1Endpoint(self): + """Test V1beta1Endpoint""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint_conditions.py b/kubernetes/test/test_v1beta1_endpoint_conditions.py new file mode 100644 index 0000000000..db93a74299 --- /dev/null +++ b/kubernetes/test/test_v1beta1_endpoint_conditions.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_endpoint_conditions import V1beta1EndpointConditions # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1EndpointConditions(unittest.TestCase): + """V1beta1EndpointConditions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1EndpointConditions + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_endpoint_conditions.V1beta1EndpointConditions() # noqa: E501 + if include_optional : + return V1beta1EndpointConditions( + ready = True + ) + else : + return V1beta1EndpointConditions( + ) + + def testV1beta1EndpointConditions(self): + """Test V1beta1EndpointConditions""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint_port.py b/kubernetes/test/test_v1beta1_endpoint_port.py new file mode 100644 index 0000000000..5a12097e29 --- /dev/null +++ b/kubernetes/test/test_v1beta1_endpoint_port.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_endpoint_port import V1beta1EndpointPort # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1EndpointPort(unittest.TestCase): + """V1beta1EndpointPort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1EndpointPort + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_endpoint_port.V1beta1EndpointPort() # noqa: E501 + if include_optional : + return V1beta1EndpointPort( + app_protocol = '0', + name = '0', + port = 56, + protocol = '0' + ) + else : + return V1beta1EndpointPort( + ) + + def testV1beta1EndpointPort(self): + """Test V1beta1EndpointPort""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint_slice.py b/kubernetes/test/test_v1beta1_endpoint_slice.py new file mode 100644 index 0000000000..5af1fafe9f --- /dev/null +++ b/kubernetes/test/test_v1beta1_endpoint_slice.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_endpoint_slice import V1beta1EndpointSlice # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1EndpointSlice(unittest.TestCase): + """V1beta1EndpointSlice unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1EndpointSlice + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_endpoint_slice.V1beta1EndpointSlice() # noqa: E501 + if include_optional : + return V1beta1EndpointSlice( + address_type = '0', + api_version = '0', + endpoints = [ + kubernetes.client.models.v1beta1/endpoint.v1beta1.Endpoint( + addresses = [ + '0' + ], + conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( + ready = True, ), + hostname = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + topology = { + 'key' : '0' + }, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + ports = [ + kubernetes.client.models.v1beta1/endpoint_port.v1beta1.EndpointPort( + app_protocol = '0', + name = '0', + port = 56, + protocol = '0', ) + ] + ) + else : + return V1beta1EndpointSlice( + address_type = '0', + endpoints = [ + kubernetes.client.models.v1beta1/endpoint.v1beta1.Endpoint( + addresses = [ + '0' + ], + conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( + ready = True, ), + hostname = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + topology = { + 'key' : '0' + }, ) + ], + ) + + def testV1beta1EndpointSlice(self): + """Test V1beta1EndpointSlice""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint_slice_list.py b/kubernetes/test/test_v1beta1_endpoint_slice_list.py new file mode 100644 index 0000000000..e97beee248 --- /dev/null +++ b/kubernetes/test/test_v1beta1_endpoint_slice_list.py @@ -0,0 +1,202 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_endpoint_slice_list import V1beta1EndpointSliceList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1EndpointSliceList(unittest.TestCase): + """V1beta1EndpointSliceList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1EndpointSliceList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_endpoint_slice_list.V1beta1EndpointSliceList() # noqa: E501 + if include_optional : + return V1beta1EndpointSliceList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/endpoint_slice.v1beta1.EndpointSlice( + address_type = '0', + api_version = '0', + endpoints = [ + kubernetes.client.models.v1beta1/endpoint.v1beta1.Endpoint( + addresses = [ + '0' + ], + conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( + ready = True, ), + hostname = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + topology = { + 'key' : '0' + }, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + ports = [ + kubernetes.client.models.v1beta1/endpoint_port.v1beta1.EndpointPort( + app_protocol = '0', + name = '0', + port = 56, + protocol = '0', ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1EndpointSliceList( + items = [ + kubernetes.client.models.v1beta1/endpoint_slice.v1beta1.EndpointSlice( + address_type = '0', + api_version = '0', + endpoints = [ + kubernetes.client.models.v1beta1/endpoint.v1beta1.Endpoint( + addresses = [ + '0' + ], + conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( + ready = True, ), + hostname = '0', + target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + topology = { + 'key' : '0' + }, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + ports = [ + kubernetes.client.models.v1beta1/endpoint_port.v1beta1.EndpointPort( + app_protocol = '0', + name = '0', + port = 56, + protocol = '0', ) + ], ) + ], + ) + + def testV1beta1EndpointSliceList(self): + """Test V1beta1EndpointSliceList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_event.py b/kubernetes/test/test_v1beta1_event.py new file mode 100644 index 0000000000..f45da4d5b0 --- /dev/null +++ b/kubernetes/test/test_v1beta1_event.py @@ -0,0 +1,126 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_event import V1beta1Event # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1Event(unittest.TestCase): + """V1beta1Event unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1Event + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_event.V1beta1Event() # noqa: E501 + if include_optional : + return V1beta1Event( + action = '0', + api_version = '0', + deprecated_count = 56, + deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( + component = '0', + host = '0', ), + event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + note = '0', + reason = '0', + regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + reporting_controller = '0', + reporting_instance = '0', + series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0', ), + type = '0' + ) + else : + return V1beta1Event( + event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + ) + + def testV1beta1Event(self): + """Test V1beta1Event""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_event_list.py b/kubernetes/test/test_v1beta1_event_list.py new file mode 100644 index 0000000000..f5c6ef9c9f --- /dev/null +++ b/kubernetes/test/test_v1beta1_event_list.py @@ -0,0 +1,212 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_event_list import V1beta1EventList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1EventList(unittest.TestCase): + """V1beta1EventList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1EventList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_event_list.V1beta1EventList() # noqa: E501 + if include_optional : + return V1beta1EventList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/event.v1beta1.Event( + action = '0', + api_version = '0', + deprecated_count = 56, + deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( + component = '0', + host = '0', ), + event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + note = '0', + reason = '0', + regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + reporting_controller = '0', + reporting_instance = '0', + series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0', ), + type = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1EventList( + items = [ + kubernetes.client.models.v1beta1/event.v1beta1.Event( + action = '0', + api_version = '0', + deprecated_count = 56, + deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( + component = '0', + host = '0', ), + event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + note = '0', + reason = '0', + regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + reporting_controller = '0', + reporting_instance = '0', + series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0', ), + type = '0', ) + ], + ) + + def testV1beta1EventList(self): + """Test V1beta1EventList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_event_series.py b/kubernetes/test/test_v1beta1_event_series.py new file mode 100644 index 0000000000..b2a1a5d15d --- /dev/null +++ b/kubernetes/test/test_v1beta1_event_series.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_event_series import V1beta1EventSeries # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1EventSeries(unittest.TestCase): + """V1beta1EventSeries unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1EventSeries + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_event_series.V1beta1EventSeries() # noqa: E501 + if include_optional : + return V1beta1EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0' + ) + else : + return V1beta1EventSeries( + count = 56, + last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + state = '0', + ) + + def testV1beta1EventSeries(self): + """Test V1beta1EventSeries""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_eviction.py b/kubernetes/test/test_v1beta1_eviction.py new file mode 100644 index 0000000000..d580efbfac --- /dev/null +++ b/kubernetes/test/test_v1beta1_eviction.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_eviction import V1beta1Eviction # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1Eviction(unittest.TestCase): + """V1beta1Eviction unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1Eviction + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_eviction.V1beta1Eviction() # noqa: E501 + if include_optional : + return V1beta1Eviction( + api_version = '0', + delete_options = kubernetes.client.models.v1/delete_options.v1.DeleteOptions( + api_version = '0', + dry_run = [ + '0' + ], + grace_period_seconds = 56, + kind = '0', + orphan_dependents = True, + preconditions = kubernetes.client.models.v1/preconditions.v1.Preconditions( + resource_version = '0', + uid = '0', ), + propagation_policy = '0', ), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ) + ) + else : + return V1beta1Eviction( + ) + + def testV1beta1Eviction(self): + """Test V1beta1Eviction""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_external_documentation.py b/kubernetes/test/test_v1beta1_external_documentation.py new file mode 100644 index 0000000000..79c3149e97 --- /dev/null +++ b/kubernetes/test/test_v1beta1_external_documentation.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_external_documentation import V1beta1ExternalDocumentation # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ExternalDocumentation(unittest.TestCase): + """V1beta1ExternalDocumentation unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ExternalDocumentation + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_external_documentation.V1beta1ExternalDocumentation() # noqa: E501 + if include_optional : + return V1beta1ExternalDocumentation( + description = '0', + url = '0' + ) + else : + return V1beta1ExternalDocumentation( + ) + + def testV1beta1ExternalDocumentation(self): + """Test V1beta1ExternalDocumentation""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_ip_block.py b/kubernetes/test/test_v1beta1_ip_block.py new file mode 100644 index 0000000000..044e9a8194 --- /dev/null +++ b/kubernetes/test/test_v1beta1_ip_block.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_ip_block import V1beta1IPBlock # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1IPBlock(unittest.TestCase): + """V1beta1IPBlock unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1IPBlock + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_ip_block.V1beta1IPBlock() # noqa: E501 + if include_optional : + return V1beta1IPBlock( + cidr = '0', + _except = [ + '0' + ] + ) + else : + return V1beta1IPBlock( + cidr = '0', + ) + + def testV1beta1IPBlock(self): + """Test V1beta1IPBlock""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_job_template_spec.py b/kubernetes/test/test_v1beta1_job_template_spec.py new file mode 100644 index 0000000000..f2e11cc74a --- /dev/null +++ b/kubernetes/test/test_v1beta1_job_template_spec.py @@ -0,0 +1,149 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_job_template_spec import V1beta1JobTemplateSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1JobTemplateSpec(unittest.TestCase): + """V1beta1JobTemplateSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1JobTemplateSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_job_template_spec.V1beta1JobTemplateSpec() # noqa: E501 + if include_optional : + return V1beta1JobTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ), + ttl_seconds_after_finished = 56, ) + ) + else : + return V1beta1JobTemplateSpec( + ) + + def testV1beta1JobTemplateSpec(self): + """Test V1beta1JobTemplateSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_json_schema_props.py b/kubernetes/test/test_v1beta1_json_schema_props.py new file mode 100644 index 0000000000..a071e5794b --- /dev/null +++ b/kubernetes/test/test_v1beta1_json_schema_props.py @@ -0,0 +1,5808 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_json_schema_props import V1beta1JSONSchemaProps # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1JSONSchemaProps(unittest.TestCase): + """V1beta1JSONSchemaProps unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1JSONSchemaProps + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_json_schema_props.V1beta1JSONSchemaProps() # noqa: E501 + if include_optional : + return V1beta1JSONSchemaProps( + ref = '0', + schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + _not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + all_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + any_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + default = kubernetes.client.models.default.default(), + definitions = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + dependencies = { + 'key' : None + }, + description = '0', + enum = [ + None + ], + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( + description = '0', + url = '0', ), + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ), + nullable = True, + one_of = [ + kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + ], + pattern = '0', + pattern_properties = { + 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( + __ref = '0', + __schema = '0', + additional_items = kubernetes.client.models.additional_items.additionalItems(), + additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), + default = kubernetes.client.models.default.default(), + description = '0', + example = kubernetes.client.models.example.example(), + exclusive_maximum = True, + exclusive_minimum = True, + format = '0', + id = '0', + items = kubernetes.client.models.items.items(), + max_items = 56, + max_length = 56, + max_properties = 56, + maximum = 1.337, + min_items = 56, + min_length = 56, + min_properties = 56, + minimum = 1.337, + multiple_of = 1.337, + nullable = True, + pattern = '0', + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True, ) + }, + required = [ + '0' + ], + title = '0', + type = '0', + unique_items = True, + x_kubernetes_embedded_resource = True, + x_kubernetes_int_or_string = True, + x_kubernetes_list_map_keys = [ + '0' + ], + x_kubernetes_list_type = '0', + x_kubernetes_map_type = '0', + x_kubernetes_preserve_unknown_fields = True + ) + else : + return V1beta1JSONSchemaProps( + ) + + def testV1beta1JSONSchemaProps(self): + """Test V1beta1JSONSchemaProps""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease.py b/kubernetes/test/test_v1beta1_lease.py new file mode 100644 index 0000000000..c68b4f8b50 --- /dev/null +++ b/kubernetes/test/test_v1beta1_lease.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_lease import V1beta1Lease # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1Lease(unittest.TestCase): + """V1beta1Lease unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1Lease + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_lease.V1beta1Lease() # noqa: E501 + if include_optional : + return V1beta1Lease( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( + acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + holder_identity = '0', + lease_duration_seconds = 56, + lease_transitions = 56, + renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ) + else : + return V1beta1Lease( + ) + + def testV1beta1Lease(self): + """Test V1beta1Lease""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease_list.py b/kubernetes/test/test_v1beta1_lease_list.py new file mode 100644 index 0000000000..9ff6f0488e --- /dev/null +++ b/kubernetes/test/test_v1beta1_lease_list.py @@ -0,0 +1,158 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_lease_list import V1beta1LeaseList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1LeaseList(unittest.TestCase): + """V1beta1LeaseList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1LeaseList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_lease_list.V1beta1LeaseList() # noqa: E501 + if include_optional : + return V1beta1LeaseList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/lease.v1beta1.Lease( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( + acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + holder_identity = '0', + lease_duration_seconds = 56, + lease_transitions = 56, + renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1LeaseList( + items = [ + kubernetes.client.models.v1beta1/lease.v1beta1.Lease( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( + acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + holder_identity = '0', + lease_duration_seconds = 56, + lease_transitions = 56, + renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + ) + + def testV1beta1LeaseList(self): + """Test V1beta1LeaseList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease_spec.py b/kubernetes/test/test_v1beta1_lease_spec.py new file mode 100644 index 0000000000..0e50c7b0fb --- /dev/null +++ b/kubernetes/test/test_v1beta1_lease_spec.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_lease_spec import V1beta1LeaseSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1LeaseSpec(unittest.TestCase): + """V1beta1LeaseSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1LeaseSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_lease_spec.V1beta1LeaseSpec() # noqa: E501 + if include_optional : + return V1beta1LeaseSpec( + acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + holder_identity = '0', + lease_duration_seconds = 56, + lease_transitions = 56, + renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1beta1LeaseSpec( + ) + + def testV1beta1LeaseSpec(self): + """Test V1beta1LeaseSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_local_subject_access_review.py b/kubernetes/test/test_v1beta1_local_subject_access_review.py new file mode 100644 index 0000000000..03dd9ecad6 --- /dev/null +++ b/kubernetes/test/test_v1beta1_local_subject_access_review.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_local_subject_access_review import V1beta1LocalSubjectAccessReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1LocalSubjectAccessReview(unittest.TestCase): + """V1beta1LocalSubjectAccessReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1LocalSubjectAccessReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_local_subject_access_review.V1beta1LocalSubjectAccessReview() # noqa: E501 + if include_optional : + return V1beta1LocalSubjectAccessReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + group = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0', ), + status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( + allowed = True, + denied = True, + evaluation_error = '0', + reason = '0', ) + ) + else : + return V1beta1LocalSubjectAccessReview( + spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + group = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0', ), + ) + + def testV1beta1LocalSubjectAccessReview(self): + """Test V1beta1LocalSubjectAccessReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook.py b/kubernetes/test/test_v1beta1_mutating_webhook.py new file mode 100644 index 0000000000..c2d9edec03 --- /dev/null +++ b/kubernetes/test/test_v1beta1_mutating_webhook.py @@ -0,0 +1,117 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_mutating_webhook import V1beta1MutatingWebhook # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1MutatingWebhook(unittest.TestCase): + """V1beta1MutatingWebhook unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1MutatingWebhook + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_mutating_webhook.V1beta1MutatingWebhook() # noqa: E501 + if include_optional : + return V1beta1MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + reinvocation_policy = '0', + rules = [ + kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56 + ) + else : + return V1beta1MutatingWebhook( + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + name = '0', + ) + + def testV1beta1MutatingWebhook(self): + """Test V1beta1MutatingWebhook""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py new file mode 100644 index 0000000000..0603ad835f --- /dev/null +++ b/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_mutating_webhook_configuration import V1beta1MutatingWebhookConfiguration # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1MutatingWebhookConfiguration(unittest.TestCase): + """V1beta1MutatingWebhookConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1MutatingWebhookConfiguration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_mutating_webhook_configuration.V1beta1MutatingWebhookConfiguration() # noqa: E501 + if include_optional : + return V1beta1MutatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + reinvocation_policy = '0', + rules = [ + kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ] + ) + else : + return V1beta1MutatingWebhookConfiguration( + ) + + def testV1beta1MutatingWebhookConfiguration(self): + """Test V1beta1MutatingWebhookConfiguration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py new file mode 100644 index 0000000000..a8a1f06838 --- /dev/null +++ b/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py @@ -0,0 +1,244 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_mutating_webhook_configuration_list import V1beta1MutatingWebhookConfigurationList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1MutatingWebhookConfigurationList(unittest.TestCase): + """V1beta1MutatingWebhookConfigurationList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1MutatingWebhookConfigurationList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_mutating_webhook_configuration_list.V1beta1MutatingWebhookConfigurationList() # noqa: E501 + if include_optional : + return V1beta1MutatingWebhookConfigurationList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/mutating_webhook_configuration.v1beta1.MutatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + reinvocation_policy = '0', + rules = [ + kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1MutatingWebhookConfigurationList( + items = [ + kubernetes.client.models.v1beta1/mutating_webhook_configuration.v1beta1.MutatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + reinvocation_policy = '0', + rules = [ + kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ], ) + ], + ) + + def testV1beta1MutatingWebhookConfigurationList(self): + """Test V1beta1MutatingWebhookConfigurationList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy.py b/kubernetes/test/test_v1beta1_network_policy.py new file mode 100644 index 0000000000..3702e42c7c --- /dev/null +++ b/kubernetes/test/test_v1beta1_network_policy.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_network_policy import V1beta1NetworkPolicy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NetworkPolicy(unittest.TestCase): + """V1beta1NetworkPolicy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NetworkPolicy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_network_policy.V1beta1NetworkPolicy() # noqa: E501 + if include_optional : + return V1beta1NetworkPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( + egress = [ + kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], ) + ], + ingress = [ + kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( + from = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() + ], ) + ], + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + policy_types = [ + '0' + ], ) + ) + else : + return V1beta1NetworkPolicy( + ) + + def testV1beta1NetworkPolicy(self): + """Test V1beta1NetworkPolicy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py b/kubernetes/test/test_v1beta1_network_policy_egress_rule.py new file mode 100644 index 0000000000..84250c10b8 --- /dev/null +++ b/kubernetes/test/test_v1beta1_network_policy_egress_rule.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_network_policy_egress_rule import V1beta1NetworkPolicyEgressRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NetworkPolicyEgressRule(unittest.TestCase): + """V1beta1NetworkPolicyEgressRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NetworkPolicyEgressRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_network_policy_egress_rule.V1beta1NetworkPolicyEgressRule() # noqa: E501 + if include_optional : + return V1beta1NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ] + ) + else : + return V1beta1NetworkPolicyEgressRule( + ) + + def testV1beta1NetworkPolicyEgressRule(self): + """Test V1beta1NetworkPolicyEgressRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py new file mode 100644 index 0000000000..5a5fd87220 --- /dev/null +++ b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_network_policy_ingress_rule import V1beta1NetworkPolicyIngressRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NetworkPolicyIngressRule(unittest.TestCase): + """V1beta1NetworkPolicyIngressRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NetworkPolicyIngressRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_network_policy_ingress_rule.V1beta1NetworkPolicyIngressRule() # noqa: E501 + if include_optional : + return V1beta1NetworkPolicyIngressRule( + _from = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], + ports = [ + kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ] + ) + else : + return V1beta1NetworkPolicyIngressRule( + ) + + def testV1beta1NetworkPolicyIngressRule(self): + """Test V1beta1NetworkPolicyIngressRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_list.py b/kubernetes/test/test_v1beta1_network_policy_list.py new file mode 100644 index 0000000000..1140240f01 --- /dev/null +++ b/kubernetes/test/test_v1beta1_network_policy_list.py @@ -0,0 +1,226 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_network_policy_list import V1beta1NetworkPolicyList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NetworkPolicyList(unittest.TestCase): + """V1beta1NetworkPolicyList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NetworkPolicyList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_network_policy_list.V1beta1NetworkPolicyList() # noqa: E501 + if include_optional : + return V1beta1NetworkPolicyList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/network_policy.v1beta1.NetworkPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( + egress = [ + kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], ) + ], + ingress = [ + kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( + from = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() + ], ) + ], + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + policy_types = [ + '0' + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1NetworkPolicyList( + items = [ + kubernetes.client.models.v1beta1/network_policy.v1beta1.NetworkPolicy( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( + egress = [ + kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], ) + ], + ingress = [ + kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( + from = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() + ], ) + ], + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + policy_types = [ + '0' + ], ), ) + ], + ) + + def testV1beta1NetworkPolicyList(self): + """Test V1beta1NetworkPolicyList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_peer.py b/kubernetes/test/test_v1beta1_network_policy_peer.py new file mode 100644 index 0000000000..6a2323ee88 --- /dev/null +++ b/kubernetes/test/test_v1beta1_network_policy_peer.py @@ -0,0 +1,80 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_network_policy_peer import V1beta1NetworkPolicyPeer # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NetworkPolicyPeer(unittest.TestCase): + """V1beta1NetworkPolicyPeer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NetworkPolicyPeer + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_network_policy_peer.V1beta1NetworkPolicyPeer() # noqa: E501 + if include_optional : + return V1beta1NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ) + else : + return V1beta1NetworkPolicyPeer( + ) + + def testV1beta1NetworkPolicyPeer(self): + """Test V1beta1NetworkPolicyPeer""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_port.py b/kubernetes/test/test_v1beta1_network_policy_port.py new file mode 100644 index 0000000000..532f056500 --- /dev/null +++ b/kubernetes/test/test_v1beta1_network_policy_port.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_network_policy_port import V1beta1NetworkPolicyPort # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NetworkPolicyPort(unittest.TestCase): + """V1beta1NetworkPolicyPort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NetworkPolicyPort + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_network_policy_port.V1beta1NetworkPolicyPort() # noqa: E501 + if include_optional : + return V1beta1NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0' + ) + else : + return V1beta1NetworkPolicyPort( + ) + + def testV1beta1NetworkPolicyPort(self): + """Test V1beta1NetworkPolicyPort""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_spec.py b/kubernetes/test/test_v1beta1_network_policy_spec.py new file mode 100644 index 0000000000..fdc909f896 --- /dev/null +++ b/kubernetes/test/test_v1beta1_network_policy_spec.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_network_policy_spec import V1beta1NetworkPolicySpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NetworkPolicySpec(unittest.TestCase): + """V1beta1NetworkPolicySpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NetworkPolicySpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_network_policy_spec.V1beta1NetworkPolicySpec() # noqa: E501 + if include_optional : + return V1beta1NetworkPolicySpec( + egress = [ + kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( + ports = [ + kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], + to = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], ) + ], + ingress = [ + kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( + from = [ + kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( + ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( + cidr = '0', + except = [ + '0' + ], ), + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) + ], + ports = [ + kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( + port = kubernetes.client.models.port.port(), + protocol = '0', ) + ], ) + ], + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + policy_types = [ + '0' + ] + ) + else : + return V1beta1NetworkPolicySpec( + pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + ) + + def testV1beta1NetworkPolicySpec(self): + """Test V1beta1NetworkPolicySpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_non_resource_attributes.py b/kubernetes/test/test_v1beta1_non_resource_attributes.py new file mode 100644 index 0000000000..7616d861e9 --- /dev/null +++ b/kubernetes/test/test_v1beta1_non_resource_attributes.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_non_resource_attributes import V1beta1NonResourceAttributes # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NonResourceAttributes(unittest.TestCase): + """V1beta1NonResourceAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NonResourceAttributes + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_non_resource_attributes.V1beta1NonResourceAttributes() # noqa: E501 + if include_optional : + return V1beta1NonResourceAttributes( + path = '0', + verb = '0' + ) + else : + return V1beta1NonResourceAttributes( + ) + + def testV1beta1NonResourceAttributes(self): + """Test V1beta1NonResourceAttributes""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_non_resource_rule.py b/kubernetes/test/test_v1beta1_non_resource_rule.py new file mode 100644 index 0000000000..9d60829d77 --- /dev/null +++ b/kubernetes/test/test_v1beta1_non_resource_rule.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_non_resource_rule import V1beta1NonResourceRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1NonResourceRule(unittest.TestCase): + """V1beta1NonResourceRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1NonResourceRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_non_resource_rule.V1beta1NonResourceRule() # noqa: E501 + if include_optional : + return V1beta1NonResourceRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1beta1NonResourceRule( + verbs = [ + '0' + ], + ) + + def testV1beta1NonResourceRule(self): + """Test V1beta1NonResourceRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_overhead.py b/kubernetes/test/test_v1beta1_overhead.py new file mode 100644 index 0000000000..fc24d08eaf --- /dev/null +++ b/kubernetes/test/test_v1beta1_overhead.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_overhead import V1beta1Overhead # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1Overhead(unittest.TestCase): + """V1beta1Overhead unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1Overhead + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_overhead.V1beta1Overhead() # noqa: E501 + if include_optional : + return V1beta1Overhead( + pod_fixed = { + 'key' : '0' + } + ) + else : + return V1beta1Overhead( + ) + + def testV1beta1Overhead(self): + """Test V1beta1Overhead""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget.py b/kubernetes/test/test_v1beta1_pod_disruption_budget.py new file mode 100644 index 0000000000..41f7be8c02 --- /dev/null +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_pod_disruption_budget import V1beta1PodDisruptionBudget # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1PodDisruptionBudget(unittest.TestCase): + """V1beta1PodDisruptionBudget unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1PodDisruptionBudget + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_pod_disruption_budget.V1beta1PodDisruptionBudget() # noqa: E501 + if include_optional : + return V1beta1PodDisruptionBudget( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), + min_available = kubernetes.client.models.min_available.minAvailable(), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( + current_healthy = 56, + desired_healthy = 56, + disrupted_pods = { + 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + }, + disruptions_allowed = 56, + expected_pods = 56, + observed_generation = 56, ) + ) + else : + return V1beta1PodDisruptionBudget( + ) + + def testV1beta1PodDisruptionBudget(self): + """Test V1beta1PodDisruptionBudget""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py new file mode 100644 index 0000000000..9183418413 --- /dev/null +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py @@ -0,0 +1,194 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_pod_disruption_budget_list import V1beta1PodDisruptionBudgetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1PodDisruptionBudgetList(unittest.TestCase): + """V1beta1PodDisruptionBudgetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1PodDisruptionBudgetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_pod_disruption_budget_list.V1beta1PodDisruptionBudgetList() # noqa: E501 + if include_optional : + return V1beta1PodDisruptionBudgetList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/pod_disruption_budget.v1beta1.PodDisruptionBudget( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), + min_available = kubernetes.client.models.min_available.minAvailable(), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( + current_healthy = 56, + desired_healthy = 56, + disrupted_pods = { + 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + }, + disruptions_allowed = 56, + expected_pods = 56, + observed_generation = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1PodDisruptionBudgetList( + items = [ + kubernetes.client.models.v1beta1/pod_disruption_budget.v1beta1.PodDisruptionBudget( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), + min_available = kubernetes.client.models.min_available.minAvailable(), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( + current_healthy = 56, + desired_healthy = 56, + disrupted_pods = { + 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + }, + disruptions_allowed = 56, + expected_pods = 56, + observed_generation = 56, ), ) + ], + ) + + def testV1beta1PodDisruptionBudgetList(self): + """Test V1beta1PodDisruptionBudgetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py new file mode 100644 index 0000000000..beadec1d2e --- /dev/null +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_pod_disruption_budget_spec import V1beta1PodDisruptionBudgetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1PodDisruptionBudgetSpec(unittest.TestCase): + """V1beta1PodDisruptionBudgetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1PodDisruptionBudgetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_pod_disruption_budget_spec.V1beta1PodDisruptionBudgetSpec() # noqa: E501 + if include_optional : + return V1beta1PodDisruptionBudgetSpec( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), + min_available = kubernetes.client.models.min_available.minAvailable(), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ) + else : + return V1beta1PodDisruptionBudgetSpec( + ) + + def testV1beta1PodDisruptionBudgetSpec(self): + """Test V1beta1PodDisruptionBudgetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py new file mode 100644 index 0000000000..d5e624682a --- /dev/null +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_pod_disruption_budget_status import V1beta1PodDisruptionBudgetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1PodDisruptionBudgetStatus(unittest.TestCase): + """V1beta1PodDisruptionBudgetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1PodDisruptionBudgetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_pod_disruption_budget_status.V1beta1PodDisruptionBudgetStatus() # noqa: E501 + if include_optional : + return V1beta1PodDisruptionBudgetStatus( + current_healthy = 56, + desired_healthy = 56, + disrupted_pods = { + 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + }, + disruptions_allowed = 56, + expected_pods = 56, + observed_generation = 56 + ) + else : + return V1beta1PodDisruptionBudgetStatus( + current_healthy = 56, + desired_healthy = 56, + disruptions_allowed = 56, + expected_pods = 56, + ) + + def testV1beta1PodDisruptionBudgetStatus(self): + """Test V1beta1PodDisruptionBudgetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_policy_rule.py b/kubernetes/test/test_v1beta1_policy_rule.py new file mode 100644 index 0000000000..7cd1bd94b6 --- /dev/null +++ b/kubernetes/test/test_v1beta1_policy_rule.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_policy_rule import V1beta1PolicyRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1PolicyRule(unittest.TestCase): + """V1beta1PolicyRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1PolicyRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_policy_rule.V1beta1PolicyRule() # noqa: E501 + if include_optional : + return V1beta1PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1beta1PolicyRule( + verbs = [ + '0' + ], + ) + + def testV1beta1PolicyRule(self): + """Test V1beta1PolicyRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_priority_class.py b/kubernetes/test/test_v1beta1_priority_class.py new file mode 100644 index 0000000000..5fcc490f18 --- /dev/null +++ b/kubernetes/test/test_v1beta1_priority_class.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_priority_class import V1beta1PriorityClass # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1PriorityClass(unittest.TestCase): + """V1beta1PriorityClass unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1PriorityClass + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_priority_class.V1beta1PriorityClass() # noqa: E501 + if include_optional : + return V1beta1PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56 + ) + else : + return V1beta1PriorityClass( + value = 56, + ) + + def testV1beta1PriorityClass(self): + """Test V1beta1PriorityClass""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_priority_class_list.py b/kubernetes/test/test_v1beta1_priority_class_list.py new file mode 100644 index 0000000000..0d21cce82c --- /dev/null +++ b/kubernetes/test/test_v1beta1_priority_class_list.py @@ -0,0 +1,154 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_priority_class_list import V1beta1PriorityClassList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1PriorityClassList(unittest.TestCase): + """V1beta1PriorityClassList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1PriorityClassList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_priority_class_list.V1beta1PriorityClassList() # noqa: E501 + if include_optional : + return V1beta1PriorityClassList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/priority_class.v1beta1.PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1PriorityClassList( + items = [ + kubernetes.client.models.v1beta1/priority_class.v1beta1.PriorityClass( + api_version = '0', + description = '0', + global_default = True, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + preemption_policy = '0', + value = 56, ) + ], + ) + + def testV1beta1PriorityClassList(self): + """Test V1beta1PriorityClassList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set.py b/kubernetes/test/test_v1beta1_replica_set.py new file mode 100644 index 0000000000..ed85086369 --- /dev/null +++ b/kubernetes/test/test_v1beta1_replica_set.py @@ -0,0 +1,594 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_replica_set import V1beta1ReplicaSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ReplicaSet(unittest.TestCase): + """V1beta1ReplicaSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ReplicaSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_replica_set.V1beta1ReplicaSet() # noqa: E501 + if include_optional : + return V1beta1ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), ), + status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ) + ) + else : + return V1beta1ReplicaSet( + ) + + def testV1beta1ReplicaSet(self): + """Test V1beta1ReplicaSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_condition.py b/kubernetes/test/test_v1beta1_replica_set_condition.py new file mode 100644 index 0000000000..8f836d39b5 --- /dev/null +++ b/kubernetes/test/test_v1beta1_replica_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_replica_set_condition import V1beta1ReplicaSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ReplicaSetCondition(unittest.TestCase): + """V1beta1ReplicaSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ReplicaSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_replica_set_condition.V1beta1ReplicaSetCondition() # noqa: E501 + if include_optional : + return V1beta1ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta1ReplicaSetCondition( + status = '0', + type = '0', + ) + + def testV1beta1ReplicaSetCondition(self): + """Test V1beta1ReplicaSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_list.py b/kubernetes/test/test_v1beta1_replica_set_list.py new file mode 100644 index 0000000000..6ba9d2f85f --- /dev/null +++ b/kubernetes/test/test_v1beta1_replica_set_list.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_replica_set_list import V1beta1ReplicaSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ReplicaSetList(unittest.TestCase): + """V1beta1ReplicaSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ReplicaSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_replica_set_list.V1beta1ReplicaSetList() # noqa: E501 + if include_optional : + return V1beta1ReplicaSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/replica_set.v1beta1.ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1ReplicaSetList( + items = [ + kubernetes.client.models.v1beta1/replica_set.v1beta1.ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ), ) + ], + ) + + def testV1beta1ReplicaSetList(self): + """Test V1beta1ReplicaSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_spec.py b/kubernetes/test/test_v1beta1_replica_set_spec.py new file mode 100644 index 0000000000..000f606991 --- /dev/null +++ b/kubernetes/test/test_v1beta1_replica_set_spec.py @@ -0,0 +1,549 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_replica_set_spec import V1beta1ReplicaSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ReplicaSetSpec(unittest.TestCase): + """V1beta1ReplicaSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ReplicaSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_replica_set_spec.V1beta1ReplicaSetSpec() # noqa: E501 + if include_optional : + return V1beta1ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return V1beta1ReplicaSetSpec( + ) + + def testV1beta1ReplicaSetSpec(self): + """Test V1beta1ReplicaSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_status.py b/kubernetes/test/test_v1beta1_replica_set_status.py new file mode 100644 index 0000000000..f719026853 --- /dev/null +++ b/kubernetes/test/test_v1beta1_replica_set_status.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_replica_set_status import V1beta1ReplicaSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ReplicaSetStatus(unittest.TestCase): + """V1beta1ReplicaSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ReplicaSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_replica_set_status.V1beta1ReplicaSetStatus() # noqa: E501 + if include_optional : + return V1beta1ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56 + ) + else : + return V1beta1ReplicaSetStatus( + replicas = 56, + ) + + def testV1beta1ReplicaSetStatus(self): + """Test V1beta1ReplicaSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_resource_attributes.py b/kubernetes/test/test_v1beta1_resource_attributes.py new file mode 100644 index 0000000000..e38d8fb9f2 --- /dev/null +++ b/kubernetes/test/test_v1beta1_resource_attributes.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_resource_attributes import V1beta1ResourceAttributes # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ResourceAttributes(unittest.TestCase): + """V1beta1ResourceAttributes unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ResourceAttributes + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_resource_attributes.V1beta1ResourceAttributes() # noqa: E501 + if include_optional : + return V1beta1ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0' + ) + else : + return V1beta1ResourceAttributes( + ) + + def testV1beta1ResourceAttributes(self): + """Test V1beta1ResourceAttributes""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_resource_rule.py b/kubernetes/test/test_v1beta1_resource_rule.py new file mode 100644 index 0000000000..348f01a95b --- /dev/null +++ b/kubernetes/test/test_v1beta1_resource_rule.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_resource_rule import V1beta1ResourceRule # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ResourceRule(unittest.TestCase): + """V1beta1ResourceRule unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ResourceRule + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_resource_rule.V1beta1ResourceRule() # noqa: E501 + if include_optional : + return V1beta1ResourceRule( + api_groups = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ] + ) + else : + return V1beta1ResourceRule( + verbs = [ + '0' + ], + ) + + def testV1beta1ResourceRule(self): + """Test V1beta1ResourceRule""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_role.py b/kubernetes/test/test_v1beta1_role.py new file mode 100644 index 0000000000..85c0abc066 --- /dev/null +++ b/kubernetes/test/test_v1beta1_role.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_role import V1beta1Role # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1Role(unittest.TestCase): + """V1beta1Role unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1Role + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_role.V1beta1Role() # noqa: E501 + if include_optional : + return V1beta1Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ] + ) + else : + return V1beta1Role( + ) + + def testV1beta1Role(self): + """Test V1beta1Role""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_binding.py b/kubernetes/test/test_v1beta1_role_binding.py new file mode 100644 index 0000000000..575474c252 --- /dev/null +++ b/kubernetes/test/test_v1beta1_role_binding.py @@ -0,0 +1,107 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_role_binding import V1beta1RoleBinding # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RoleBinding(unittest.TestCase): + """V1beta1RoleBinding unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RoleBinding + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_role_binding.V1beta1RoleBinding() # noqa: E501 + if include_optional : + return V1beta1RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1beta1/subject.v1beta1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ] + ) + else : + return V1beta1RoleBinding( + role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + ) + + def testV1beta1RoleBinding(self): + """Test V1beta1RoleBinding""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_binding_list.py b/kubernetes/test/test_v1beta1_role_binding_list.py new file mode 100644 index 0000000000..942eacc224 --- /dev/null +++ b/kubernetes/test/test_v1beta1_role_binding_list.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_role_binding_list import V1beta1RoleBindingList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RoleBindingList(unittest.TestCase): + """V1beta1RoleBindingList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RoleBindingList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_role_binding_list.V1beta1RoleBindingList() # noqa: E501 + if include_optional : + return V1beta1RoleBindingList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/role_binding.v1beta1.RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1beta1/subject.v1beta1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1RoleBindingList( + items = [ + kubernetes.client.models.v1beta1/role_binding.v1beta1.RoleBinding( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( + api_group = '0', + kind = '0', + name = '0', ), + subjects = [ + kubernetes.client.models.v1beta1/subject.v1beta1.Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0', ) + ], ) + ], + ) + + def testV1beta1RoleBindingList(self): + """Test V1beta1RoleBindingList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_list.py b/kubernetes/test/test_v1beta1_role_list.py new file mode 100644 index 0000000000..92da255ccb --- /dev/null +++ b/kubernetes/test/test_v1beta1_role_list.py @@ -0,0 +1,182 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_role_list import V1beta1RoleList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RoleList(unittest.TestCase): + """V1beta1RoleList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RoleList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_role_list.V1beta1RoleList() # noqa: E501 + if include_optional : + return V1beta1RoleList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/role.v1beta1.Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1RoleList( + items = [ + kubernetes.client.models.v1beta1/role.v1beta1.Role( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + rules = [ + kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( + api_groups = [ + '0' + ], + non_resource_ur_ls = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ], + ) + + def testV1beta1RoleList(self): + """Test V1beta1RoleList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_ref.py b/kubernetes/test/test_v1beta1_role_ref.py new file mode 100644 index 0000000000..5773ce0fc8 --- /dev/null +++ b/kubernetes/test/test_v1beta1_role_ref.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_role_ref import V1beta1RoleRef # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RoleRef(unittest.TestCase): + """V1beta1RoleRef unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RoleRef + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_role_ref.V1beta1RoleRef() # noqa: E501 + if include_optional : + return V1beta1RoleRef( + api_group = '0', + kind = '0', + name = '0' + ) + else : + return V1beta1RoleRef( + api_group = '0', + kind = '0', + name = '0', + ) + + def testV1beta1RoleRef(self): + """Test V1beta1RoleRef""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py new file mode 100644 index 0000000000..d7472453ef --- /dev/null +++ b/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_rolling_update_daemon_set import V1beta1RollingUpdateDaemonSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RollingUpdateDaemonSet(unittest.TestCase): + """V1beta1RollingUpdateDaemonSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RollingUpdateDaemonSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_rolling_update_daemon_set.V1beta1RollingUpdateDaemonSet() # noqa: E501 + if include_optional : + return V1beta1RollingUpdateDaemonSet( + max_unavailable = None + ) + else : + return V1beta1RollingUpdateDaemonSet( + ) + + def testV1beta1RollingUpdateDaemonSet(self): + """Test V1beta1RollingUpdateDaemonSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py new file mode 100644 index 0000000000..45862fa8de --- /dev/null +++ b/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_rolling_update_stateful_set_strategy import V1beta1RollingUpdateStatefulSetStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RollingUpdateStatefulSetStrategy(unittest.TestCase): + """V1beta1RollingUpdateStatefulSetStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RollingUpdateStatefulSetStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_rolling_update_stateful_set_strategy.V1beta1RollingUpdateStatefulSetStrategy() # noqa: E501 + if include_optional : + return V1beta1RollingUpdateStatefulSetStrategy( + partition = 56 + ) + else : + return V1beta1RollingUpdateStatefulSetStrategy( + ) + + def testV1beta1RollingUpdateStatefulSetStrategy(self): + """Test V1beta1RollingUpdateStatefulSetStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_rule_with_operations.py b/kubernetes/test/test_v1beta1_rule_with_operations.py new file mode 100644 index 0000000000..343a7bd55c --- /dev/null +++ b/kubernetes/test/test_v1beta1_rule_with_operations.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_rule_with_operations import V1beta1RuleWithOperations # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RuleWithOperations(unittest.TestCase): + """V1beta1RuleWithOperations unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RuleWithOperations + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_rule_with_operations.V1beta1RuleWithOperations() # noqa: E501 + if include_optional : + return V1beta1RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0' + ) + else : + return V1beta1RuleWithOperations( + ) + + def testV1beta1RuleWithOperations(self): + """Test V1beta1RuleWithOperations""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_runtime_class.py b/kubernetes/test/test_v1beta1_runtime_class.py new file mode 100644 index 0000000000..ccd2590f14 --- /dev/null +++ b/kubernetes/test/test_v1beta1_runtime_class.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_runtime_class import V1beta1RuntimeClass # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RuntimeClass(unittest.TestCase): + """V1beta1RuntimeClass unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RuntimeClass + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_runtime_class.V1beta1RuntimeClass() # noqa: E501 + if include_optional : + return V1beta1RuntimeClass( + api_version = '0', + handler = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( + pod_fixed = { + 'key' : '0' + }, ), + scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], ) + ) + else : + return V1beta1RuntimeClass( + handler = '0', + ) + + def testV1beta1RuntimeClass(self): + """Test V1beta1RuntimeClass""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_runtime_class_list.py b/kubernetes/test/test_v1beta1_runtime_class_list.py new file mode 100644 index 0000000000..03c22f2482 --- /dev/null +++ b/kubernetes/test/test_v1beta1_runtime_class_list.py @@ -0,0 +1,180 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_runtime_class_list import V1beta1RuntimeClassList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1RuntimeClassList(unittest.TestCase): + """V1beta1RuntimeClassList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1RuntimeClassList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_runtime_class_list.V1beta1RuntimeClassList() # noqa: E501 + if include_optional : + return V1beta1RuntimeClassList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/runtime_class.v1beta1.RuntimeClass( + api_version = '0', + handler = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( + pod_fixed = { + 'key' : '0' + }, ), + scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1RuntimeClassList( + items = [ + kubernetes.client.models.v1beta1/runtime_class.v1beta1.RuntimeClass( + api_version = '0', + handler = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( + pod_fixed = { + 'key' : '0' + }, ), + scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], ), ) + ], + ) + + def testV1beta1RuntimeClassList(self): + """Test V1beta1RuntimeClassList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_scheduling.py b/kubernetes/test/test_v1beta1_scheduling.py new file mode 100644 index 0000000000..b68414a7a3 --- /dev/null +++ b/kubernetes/test/test_v1beta1_scheduling.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_scheduling import V1beta1Scheduling # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1Scheduling(unittest.TestCase): + """V1beta1Scheduling unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1Scheduling + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_scheduling.V1beta1Scheduling() # noqa: E501 + if include_optional : + return V1beta1Scheduling( + node_selector = { + 'key' : '0' + }, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ] + ) + else : + return V1beta1Scheduling( + ) + + def testV1beta1Scheduling(self): + """Test V1beta1Scheduling""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review.py b/kubernetes/test/test_v1beta1_self_subject_access_review.py new file mode 100644 index 0000000000..871524cdad --- /dev/null +++ b/kubernetes/test/test_v1beta1_self_subject_access_review.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_self_subject_access_review import V1beta1SelfSubjectAccessReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1SelfSubjectAccessReview(unittest.TestCase): + """V1beta1SelfSubjectAccessReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1SelfSubjectAccessReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_self_subject_access_review.V1beta1SelfSubjectAccessReview() # noqa: E501 + if include_optional : + return V1beta1SelfSubjectAccessReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/self_subject_access_review_spec.v1beta1.SelfSubjectAccessReviewSpec( + non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), ), + status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( + allowed = True, + denied = True, + evaluation_error = '0', + reason = '0', ) + ) + else : + return V1beta1SelfSubjectAccessReview( + spec = kubernetes.client.models.v1beta1/self_subject_access_review_spec.v1beta1.SelfSubjectAccessReviewSpec( + non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), ), + ) + + def testV1beta1SelfSubjectAccessReview(self): + """Test V1beta1SelfSubjectAccessReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py new file mode 100644 index 0000000000..903ba49e03 --- /dev/null +++ b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_self_subject_access_review_spec import V1beta1SelfSubjectAccessReviewSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1SelfSubjectAccessReviewSpec(unittest.TestCase): + """V1beta1SelfSubjectAccessReviewSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1SelfSubjectAccessReviewSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_self_subject_access_review_spec.V1beta1SelfSubjectAccessReviewSpec() # noqa: E501 + if include_optional : + return V1beta1SelfSubjectAccessReviewSpec( + non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ) + ) + else : + return V1beta1SelfSubjectAccessReviewSpec( + ) + + def testV1beta1SelfSubjectAccessReviewSpec(self): + """Test V1beta1SelfSubjectAccessReviewSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review.py b/kubernetes/test/test_v1beta1_self_subject_rules_review.py new file mode 100644 index 0000000000..d8a7e43f58 --- /dev/null +++ b/kubernetes/test/test_v1beta1_self_subject_rules_review.py @@ -0,0 +1,123 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_self_subject_rules_review import V1beta1SelfSubjectRulesReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1SelfSubjectRulesReview(unittest.TestCase): + """V1beta1SelfSubjectRulesReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1SelfSubjectRulesReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_self_subject_rules_review.V1beta1SelfSubjectRulesReview() # noqa: E501 + if include_optional : + return V1beta1SelfSubjectRulesReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/self_subject_rules_review_spec.v1beta1.SelfSubjectRulesReviewSpec( + namespace = '0', ), + status = kubernetes.client.models.v1beta1/subject_rules_review_status.v1beta1.SubjectRulesReviewStatus( + evaluation_error = '0', + incomplete = True, + non_resource_rules = [ + kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( + api_groups = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], ) + ) + else : + return V1beta1SelfSubjectRulesReview( + spec = kubernetes.client.models.v1beta1/self_subject_rules_review_spec.v1beta1.SelfSubjectRulesReviewSpec( + namespace = '0', ), + ) + + def testV1beta1SelfSubjectRulesReview(self): + """Test V1beta1SelfSubjectRulesReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py new file mode 100644 index 0000000000..065b373725 --- /dev/null +++ b/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_self_subject_rules_review_spec import V1beta1SelfSubjectRulesReviewSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1SelfSubjectRulesReviewSpec(unittest.TestCase): + """V1beta1SelfSubjectRulesReviewSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1SelfSubjectRulesReviewSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_self_subject_rules_review_spec.V1beta1SelfSubjectRulesReviewSpec() # noqa: E501 + if include_optional : + return V1beta1SelfSubjectRulesReviewSpec( + namespace = '0' + ) + else : + return V1beta1SelfSubjectRulesReviewSpec( + ) + + def testV1beta1SelfSubjectRulesReviewSpec(self): + """Test V1beta1SelfSubjectRulesReviewSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set.py b/kubernetes/test/test_v1beta1_stateful_set.py new file mode 100644 index 0000000000..99cdd8e1ba --- /dev/null +++ b/kubernetes/test/test_v1beta1_stateful_set.py @@ -0,0 +1,625 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_stateful_set import V1beta1StatefulSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1StatefulSet(unittest.TestCase): + """V1beta1StatefulSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1StatefulSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_stateful_set.V1beta1StatefulSet() # noqa: E501 + if include_optional : + return V1beta1StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta1/stateful_set_condition.v1beta1.StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ) + ) + else : + return V1beta1StatefulSet( + ) + + def testV1beta1StatefulSet(self): + """Test V1beta1StatefulSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_condition.py b/kubernetes/test/test_v1beta1_stateful_set_condition.py new file mode 100644 index 0000000000..b2c5145365 --- /dev/null +++ b/kubernetes/test/test_v1beta1_stateful_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_stateful_set_condition import V1beta1StatefulSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1StatefulSetCondition(unittest.TestCase): + """V1beta1StatefulSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1StatefulSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_stateful_set_condition.V1beta1StatefulSetCondition() # noqa: E501 + if include_optional : + return V1beta1StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta1StatefulSetCondition( + status = '0', + type = '0', + ) + + def testV1beta1StatefulSetCondition(self): + """Test V1beta1StatefulSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_list.py b/kubernetes/test/test_v1beta1_stateful_set_list.py new file mode 100644 index 0000000000..ebf7f18d0c --- /dev/null +++ b/kubernetes/test/test_v1beta1_stateful_set_list.py @@ -0,0 +1,252 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_stateful_set_list import V1beta1StatefulSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1StatefulSetList(unittest.TestCase): + """V1beta1StatefulSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1StatefulSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_stateful_set_list.V1beta1StatefulSetList() # noqa: E501 + if include_optional : + return V1beta1StatefulSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/stateful_set.v1beta1.StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( + collision_count = 56, + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1StatefulSetList( + items = [ + kubernetes.client.models.v1beta1/stateful_set.v1beta1.StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( + collision_count = 56, + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ), ) + ], + ) + + def testV1beta1StatefulSetList(self): + """Test V1beta1StatefulSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_spec.py b/kubernetes/test/test_v1beta1_stateful_set_spec.py new file mode 100644 index 0000000000..a8f36f75eb --- /dev/null +++ b/kubernetes/test/test_v1beta1_stateful_set_spec.py @@ -0,0 +1,1128 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_stateful_set_spec import V1beta1StatefulSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1StatefulSetSpec(unittest.TestCase): + """V1beta1StatefulSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1StatefulSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_stateful_set_spec.V1beta1StatefulSetSpec() # noqa: E501 + if include_optional : + return V1beta1StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( + access_modes = [ + '0' + ], + data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( + api_group = '0', + kind = '0', + name = '0', ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + storage_class_name = '0', + volume_mode = '0', + volume_name = '0', ), + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ] + ) + else : + return V1beta1StatefulSetSpec( + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1beta1StatefulSetSpec(self): + """Test V1beta1StatefulSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_status.py b/kubernetes/test/test_v1beta1_stateful_set_status.py new file mode 100644 index 0000000000..db47eb413c --- /dev/null +++ b/kubernetes/test/test_v1beta1_stateful_set_status.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_stateful_set_status import V1beta1StatefulSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1StatefulSetStatus(unittest.TestCase): + """V1beta1StatefulSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1StatefulSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_stateful_set_status.V1beta1StatefulSetStatus() # noqa: E501 + if include_optional : + return V1beta1StatefulSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta1/stateful_set_condition.v1beta1.StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56 + ) + else : + return V1beta1StatefulSetStatus( + replicas = 56, + ) + + def testV1beta1StatefulSetStatus(self): + """Test V1beta1StatefulSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py new file mode 100644 index 0000000000..70f4650045 --- /dev/null +++ b/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_stateful_set_update_strategy import V1beta1StatefulSetUpdateStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1StatefulSetUpdateStrategy(unittest.TestCase): + """V1beta1StatefulSetUpdateStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1StatefulSetUpdateStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_stateful_set_update_strategy.V1beta1StatefulSetUpdateStrategy() # noqa: E501 + if include_optional : + return V1beta1StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0' + ) + else : + return V1beta1StatefulSetUpdateStrategy( + ) + + def testV1beta1StatefulSetUpdateStrategy(self): + """Test V1beta1StatefulSetUpdateStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_storage_class.py b/kubernetes/test/test_v1beta1_storage_class.py new file mode 100644 index 0000000000..161c1db144 --- /dev/null +++ b/kubernetes/test/test_v1beta1_storage_class.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_storage_class import V1beta1StorageClass # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1StorageClass(unittest.TestCase): + """V1beta1StorageClass unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1StorageClass + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_storage_class.V1beta1StorageClass() # noqa: E501 + if include_optional : + return V1beta1StorageClass( + allow_volume_expansion = True, + allowed_topologies = [ + kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( + match_label_expressions = [ + kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ], ) + ], ) + ], + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + mount_options = [ + '0' + ], + parameters = { + 'key' : '0' + }, + provisioner = '0', + reclaim_policy = '0', + volume_binding_mode = '0' + ) + else : + return V1beta1StorageClass( + provisioner = '0', + ) + + def testV1beta1StorageClass(self): + """Test V1beta1StorageClass""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_storage_class_list.py b/kubernetes/test/test_v1beta1_storage_class_list.py new file mode 100644 index 0000000000..f651ee0359 --- /dev/null +++ b/kubernetes/test/test_v1beta1_storage_class_list.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_storage_class_list import V1beta1StorageClassList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1StorageClassList(unittest.TestCase): + """V1beta1StorageClassList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1StorageClassList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_storage_class_list.V1beta1StorageClassList() # noqa: E501 + if include_optional : + return V1beta1StorageClassList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/storage_class.v1beta1.StorageClass( + allow_volume_expansion = True, + allowed_topologies = [ + kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( + match_label_expressions = [ + kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ], ) + ], ) + ], + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + mount_options = [ + '0' + ], + parameters = { + 'key' : '0' + }, + provisioner = '0', + reclaim_policy = '0', + volume_binding_mode = '0', ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1StorageClassList( + items = [ + kubernetes.client.models.v1beta1/storage_class.v1beta1.StorageClass( + allow_volume_expansion = True, + allowed_topologies = [ + kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( + match_label_expressions = [ + kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( + key = '0', + values = [ + '0' + ], ) + ], ) + ], + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + mount_options = [ + '0' + ], + parameters = { + 'key' : '0' + }, + provisioner = '0', + reclaim_policy = '0', + volume_binding_mode = '0', ) + ], + ) + + def testV1beta1StorageClassList(self): + """Test V1beta1StorageClassList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject.py b/kubernetes/test/test_v1beta1_subject.py new file mode 100644 index 0000000000..87cc88861a --- /dev/null +++ b/kubernetes/test/test_v1beta1_subject.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_subject import V1beta1Subject # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1Subject(unittest.TestCase): + """V1beta1Subject unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1Subject + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_subject.V1beta1Subject() # noqa: E501 + if include_optional : + return V1beta1Subject( + api_group = '0', + kind = '0', + name = '0', + namespace = '0' + ) + else : + return V1beta1Subject( + kind = '0', + name = '0', + ) + + def testV1beta1Subject(self): + """Test V1beta1Subject""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review.py b/kubernetes/test/test_v1beta1_subject_access_review.py new file mode 100644 index 0000000000..7a3c3ea7af --- /dev/null +++ b/kubernetes/test/test_v1beta1_subject_access_review.py @@ -0,0 +1,139 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_subject_access_review import V1beta1SubjectAccessReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1SubjectAccessReview(unittest.TestCase): + """V1beta1SubjectAccessReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1SubjectAccessReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_subject_access_review.V1beta1SubjectAccessReview() # noqa: E501 + if include_optional : + return V1beta1SubjectAccessReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + group = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0', ), + status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( + allowed = True, + denied = True, + evaluation_error = '0', + reason = '0', ) + ) + else : + return V1beta1SubjectAccessReview( + spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + group = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0', ), + ) + + def testV1beta1SubjectAccessReview(self): + """Test V1beta1SubjectAccessReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_subject_access_review_spec.py new file mode 100644 index 0000000000..b1510c2302 --- /dev/null +++ b/kubernetes/test/test_v1beta1_subject_access_review_spec.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_subject_access_review_spec import V1beta1SubjectAccessReviewSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1SubjectAccessReviewSpec(unittest.TestCase): + """V1beta1SubjectAccessReviewSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1SubjectAccessReviewSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_subject_access_review_spec.V1beta1SubjectAccessReviewSpec() # noqa: E501 + if include_optional : + return V1beta1SubjectAccessReviewSpec( + extra = { + 'key' : [ + '0' + ] + }, + group = [ + '0' + ], + non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( + path = '0', + verb = '0', ), + resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( + group = '0', + name = '0', + namespace = '0', + resource = '0', + subresource = '0', + verb = '0', + version = '0', ), + uid = '0', + user = '0' + ) + else : + return V1beta1SubjectAccessReviewSpec( + ) + + def testV1beta1SubjectAccessReviewSpec(self): + """Test V1beta1SubjectAccessReviewSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review_status.py b/kubernetes/test/test_v1beta1_subject_access_review_status.py new file mode 100644 index 0000000000..0d3c3fd949 --- /dev/null +++ b/kubernetes/test/test_v1beta1_subject_access_review_status.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_subject_access_review_status import V1beta1SubjectAccessReviewStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1SubjectAccessReviewStatus(unittest.TestCase): + """V1beta1SubjectAccessReviewStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1SubjectAccessReviewStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_subject_access_review_status.V1beta1SubjectAccessReviewStatus() # noqa: E501 + if include_optional : + return V1beta1SubjectAccessReviewStatus( + allowed = True, + denied = True, + evaluation_error = '0', + reason = '0' + ) + else : + return V1beta1SubjectAccessReviewStatus( + allowed = True, + ) + + def testV1beta1SubjectAccessReviewStatus(self): + """Test V1beta1SubjectAccessReviewStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_rules_review_status.py b/kubernetes/test/test_v1beta1_subject_rules_review_status.py new file mode 100644 index 0000000000..cb3074d456 --- /dev/null +++ b/kubernetes/test/test_v1beta1_subject_rules_review_status.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_subject_rules_review_status import V1beta1SubjectRulesReviewStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1SubjectRulesReviewStatus(unittest.TestCase): + """V1beta1SubjectRulesReviewStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1SubjectRulesReviewStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_subject_rules_review_status.V1beta1SubjectRulesReviewStatus() # noqa: E501 + if include_optional : + return V1beta1SubjectRulesReviewStatus( + evaluation_error = '0', + incomplete = True, + non_resource_rules = [ + kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( + api_groups = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ] + ) + else : + return V1beta1SubjectRulesReviewStatus( + incomplete = True, + non_resource_rules = [ + kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( + non_resource_ur_ls = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + resource_rules = [ + kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( + api_groups = [ + '0' + ], + resource_names = [ + '0' + ], + resources = [ + '0' + ], + verbs = [ + '0' + ], ) + ], + ) + + def testV1beta1SubjectRulesReviewStatus(self): + """Test V1beta1SubjectRulesReviewStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review.py b/kubernetes/test/test_v1beta1_token_review.py new file mode 100644 index 0000000000..a9940d041c --- /dev/null +++ b/kubernetes/test/test_v1beta1_token_review.py @@ -0,0 +1,119 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_token_review import V1beta1TokenReview # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1TokenReview(unittest.TestCase): + """V1beta1TokenReview unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1TokenReview + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_token_review.V1beta1TokenReview() # noqa: E501 + if include_optional : + return V1beta1TokenReview( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/token_review_spec.v1beta1.TokenReviewSpec( + audiences = [ + '0' + ], + token = '0', ), + status = kubernetes.client.models.v1beta1/token_review_status.v1beta1.TokenReviewStatus( + audiences = [ + '0' + ], + authenticated = True, + error = '0', + user = kubernetes.client.models.v1beta1/user_info.v1beta1.UserInfo( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + uid = '0', + username = '0', ), ) + ) + else : + return V1beta1TokenReview( + spec = kubernetes.client.models.v1beta1/token_review_spec.v1beta1.TokenReviewSpec( + audiences = [ + '0' + ], + token = '0', ), + ) + + def testV1beta1TokenReview(self): + """Test V1beta1TokenReview""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review_spec.py b/kubernetes/test/test_v1beta1_token_review_spec.py new file mode 100644 index 0000000000..02f4d7133f --- /dev/null +++ b/kubernetes/test/test_v1beta1_token_review_spec.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_token_review_spec import V1beta1TokenReviewSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1TokenReviewSpec(unittest.TestCase): + """V1beta1TokenReviewSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1TokenReviewSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_token_review_spec.V1beta1TokenReviewSpec() # noqa: E501 + if include_optional : + return V1beta1TokenReviewSpec( + audiences = [ + '0' + ], + token = '0' + ) + else : + return V1beta1TokenReviewSpec( + ) + + def testV1beta1TokenReviewSpec(self): + """Test V1beta1TokenReviewSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review_status.py b/kubernetes/test/test_v1beta1_token_review_status.py new file mode 100644 index 0000000000..d13c5e9266 --- /dev/null +++ b/kubernetes/test/test_v1beta1_token_review_status.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_token_review_status import V1beta1TokenReviewStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1TokenReviewStatus(unittest.TestCase): + """V1beta1TokenReviewStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1TokenReviewStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_token_review_status.V1beta1TokenReviewStatus() # noqa: E501 + if include_optional : + return V1beta1TokenReviewStatus( + audiences = [ + '0' + ], + authenticated = True, + error = '0', + user = kubernetes.client.models.v1beta1/user_info.v1beta1.UserInfo( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + uid = '0', + username = '0', ) + ) + else : + return V1beta1TokenReviewStatus( + ) + + def testV1beta1TokenReviewStatus(self): + """Test V1beta1TokenReviewStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_user_info.py b/kubernetes/test/test_v1beta1_user_info.py new file mode 100644 index 0000000000..6432d682d2 --- /dev/null +++ b/kubernetes/test/test_v1beta1_user_info.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_user_info import V1beta1UserInfo # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1UserInfo(unittest.TestCase): + """V1beta1UserInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1UserInfo + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_user_info.V1beta1UserInfo() # noqa: E501 + if include_optional : + return V1beta1UserInfo( + extra = { + 'key' : [ + '0' + ] + }, + groups = [ + '0' + ], + uid = '0', + username = '0' + ) + else : + return V1beta1UserInfo( + ) + + def testV1beta1UserInfo(self): + """Test V1beta1UserInfo""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook.py b/kubernetes/test/test_v1beta1_validating_webhook.py new file mode 100644 index 0000000000..a984373031 --- /dev/null +++ b/kubernetes/test/test_v1beta1_validating_webhook.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_validating_webhook import V1beta1ValidatingWebhook # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ValidatingWebhook(unittest.TestCase): + """V1beta1ValidatingWebhook unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ValidatingWebhook + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_validating_webhook.V1beta1ValidatingWebhook() # noqa: E501 + if include_optional : + return V1beta1ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + rules = [ + kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56 + ) + else : + return V1beta1ValidatingWebhook( + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + name = '0', + ) + + def testV1beta1ValidatingWebhook(self): + """Test V1beta1ValidatingWebhook""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration.py new file mode 100644 index 0000000000..a0cbd5aceb --- /dev/null +++ b/kubernetes/test/test_v1beta1_validating_webhook_configuration.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_validating_webhook_configuration import V1beta1ValidatingWebhookConfiguration # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ValidatingWebhookConfiguration(unittest.TestCase): + """V1beta1ValidatingWebhookConfiguration unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ValidatingWebhookConfiguration + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_validating_webhook_configuration.V1beta1ValidatingWebhookConfiguration() # noqa: E501 + if include_optional : + return V1beta1ValidatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + rules = [ + kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ] + ) + else : + return V1beta1ValidatingWebhookConfiguration( + ) + + def testV1beta1ValidatingWebhookConfiguration(self): + """Test V1beta1ValidatingWebhookConfiguration""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py new file mode 100644 index 0000000000..7c3a807b0d --- /dev/null +++ b/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py @@ -0,0 +1,242 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_validating_webhook_configuration_list import V1beta1ValidatingWebhookConfigurationList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1ValidatingWebhookConfigurationList(unittest.TestCase): + """V1beta1ValidatingWebhookConfigurationList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1ValidatingWebhookConfigurationList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_validating_webhook_configuration_list.V1beta1ValidatingWebhookConfigurationList() # noqa: E501 + if include_optional : + return V1beta1ValidatingWebhookConfigurationList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/validating_webhook_configuration.v1beta1.ValidatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + rules = [ + kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ], ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1ValidatingWebhookConfigurationList( + items = [ + kubernetes.client.models.v1beta1/validating_webhook_configuration.v1beta1.ValidatingWebhookConfiguration( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + webhooks = [ + kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( + admission_review_versions = [ + '0' + ], + kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( + ca_bundle = 'YQ==', + service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( + name = '0', + namespace = '0', + path = '0', + port = 56, ), + url = '0', ), + failure_policy = '0', + match_policy = '0', + name = '0', + namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + rules = [ + kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( + api_groups = [ + '0' + ], + api_versions = [ + '0' + ], + operations = [ + '0' + ], + resources = [ + '0' + ], + scope = '0', ) + ], + side_effects = '0', + timeout_seconds = 56, ) + ], ) + ], + ) + + def testV1beta1ValidatingWebhookConfigurationList(self): + """Test V1beta1ValidatingWebhookConfigurationList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment.py b/kubernetes/test/test_v1beta1_volume_attachment.py new file mode 100644 index 0000000000..947fc117f3 --- /dev/null +++ b/kubernetes/test/test_v1beta1_volume_attachment.py @@ -0,0 +1,495 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_volume_attachment import V1beta1VolumeAttachment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1VolumeAttachment(unittest.TestCase): + """V1beta1VolumeAttachment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1VolumeAttachment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_volume_attachment.V1beta1VolumeAttachment() # noqa: E501 + if include_optional : + return V1beta1VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ) + else : + return V1beta1VolumeAttachment( + spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + ) + + def testV1beta1VolumeAttachment(self): + """Test V1beta1VolumeAttachment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_list.py b/kubernetes/test/test_v1beta1_volume_attachment_list.py new file mode 100644 index 0000000000..eb530753ea --- /dev/null +++ b/kubernetes/test/test_v1beta1_volume_attachment_list.py @@ -0,0 +1,560 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_volume_attachment_list import V1beta1VolumeAttachmentList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1VolumeAttachmentList(unittest.TestCase): + """V1beta1VolumeAttachmentList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1VolumeAttachmentList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_volume_attachment_list.V1beta1VolumeAttachmentList() # noqa: E501 + if include_optional : + return V1beta1VolumeAttachmentList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta1/volume_attachment.v1beta1.VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta1VolumeAttachmentList( + items = [ + kubernetes.client.models.v1beta1/volume_attachment.v1beta1.VolumeAttachment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), ), + status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) + ], + ) + + def testV1beta1VolumeAttachmentList(self): + """Test V1beta1VolumeAttachmentList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_source.py b/kubernetes/test/test_v1beta1_volume_attachment_source.py new file mode 100644 index 0000000000..23a3c93a60 --- /dev/null +++ b/kubernetes/test/test_v1beta1_volume_attachment_source.py @@ -0,0 +1,243 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_volume_attachment_source import V1beta1VolumeAttachmentSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1VolumeAttachmentSource(unittest.TestCase): + """V1beta1VolumeAttachmentSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1VolumeAttachmentSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_volume_attachment_source.V1beta1VolumeAttachmentSource() # noqa: E501 + if include_optional : + return V1beta1VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0' + ) + else : + return V1beta1VolumeAttachmentSource( + ) + + def testV1beta1VolumeAttachmentSource(self): + """Test V1beta1VolumeAttachmentSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_spec.py b/kubernetes/test/test_v1beta1_volume_attachment_spec.py new file mode 100644 index 0000000000..b62477617e --- /dev/null +++ b/kubernetes/test/test_v1beta1_volume_attachment_spec.py @@ -0,0 +1,441 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_volume_attachment_spec import V1beta1VolumeAttachmentSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1VolumeAttachmentSpec(unittest.TestCase): + """V1beta1VolumeAttachmentSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1VolumeAttachmentSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_volume_attachment_spec.V1beta1VolumeAttachmentSpec() # noqa: E501 + if include_optional : + return V1beta1VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ) + ) + else : + return V1beta1VolumeAttachmentSpec( + attacher = '0', + node_name = '0', + source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( + inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( + access_modes = [ + '0' + ], + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( + read_only = True, + secret_name = '0', + secret_namespace = '0', + share_name = '0', ), + capacity = { + 'key' : '0' + }, + cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ), + csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( + controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, + volume_handle = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( + driver = '0', + fs_type = '0', + options = { + 'key' : '0' + }, + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( + endpoints = '0', + endpoints_namespace = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( + fs_type = '0', + path = '0', ), + mount_options = [ + '0' + ], + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( + required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ) + ], ), ), + persistent_volume_reclaim_policy = '0', + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( + name = '0', + namespace = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + storage_class_name = '0', + storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + volume_mode = '0', + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ), + persistent_volume_name = '0', ), + ) + + def testV1beta1VolumeAttachmentSpec(self): + """Test V1beta1VolumeAttachmentSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_status.py b/kubernetes/test/test_v1beta1_volume_attachment_status.py new file mode 100644 index 0000000000..0abfa5768b --- /dev/null +++ b/kubernetes/test/test_v1beta1_volume_attachment_status.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_volume_attachment_status import V1beta1VolumeAttachmentStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1VolumeAttachmentStatus(unittest.TestCase): + """V1beta1VolumeAttachmentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1VolumeAttachmentStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_volume_attachment_status.V1beta1VolumeAttachmentStatus() # noqa: E501 + if include_optional : + return V1beta1VolumeAttachmentStatus( + attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), + attached = True, + attachment_metadata = { + 'key' : '0' + }, + detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ) + else : + return V1beta1VolumeAttachmentStatus( + attached = True, + ) + + def testV1beta1VolumeAttachmentStatus(self): + """Test V1beta1VolumeAttachmentStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_error.py b/kubernetes/test/test_v1beta1_volume_error.py new file mode 100644 index 0000000000..82dbd6a7f6 --- /dev/null +++ b/kubernetes/test/test_v1beta1_volume_error.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_volume_error import V1beta1VolumeError # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1VolumeError(unittest.TestCase): + """V1beta1VolumeError unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1VolumeError + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_volume_error.V1beta1VolumeError() # noqa: E501 + if include_optional : + return V1beta1VolumeError( + message = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V1beta1VolumeError( + ) + + def testV1beta1VolumeError(self): + """Test V1beta1VolumeError""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_node_resources.py b/kubernetes/test/test_v1beta1_volume_node_resources.py new file mode 100644 index 0000000000..d0549fe47b --- /dev/null +++ b/kubernetes/test/test_v1beta1_volume_node_resources.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta1_volume_node_resources import V1beta1VolumeNodeResources # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta1VolumeNodeResources(unittest.TestCase): + """V1beta1VolumeNodeResources unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta1VolumeNodeResources + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta1_volume_node_resources.V1beta1VolumeNodeResources() # noqa: E501 + if include_optional : + return V1beta1VolumeNodeResources( + count = 56 + ) + else : + return V1beta1VolumeNodeResources( + ) + + def testV1beta1VolumeNodeResources(self): + """Test V1beta1VolumeNodeResources""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_controller_revision.py b/kubernetes/test/test_v1beta2_controller_revision.py new file mode 100644 index 0000000000..ded37ba416 --- /dev/null +++ b/kubernetes/test/test_v1beta2_controller_revision.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_controller_revision import V1beta2ControllerRevision # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ControllerRevision(unittest.TestCase): + """V1beta2ControllerRevision unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ControllerRevision + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_controller_revision.V1beta2ControllerRevision() # noqa: E501 + if include_optional : + return V1beta2ControllerRevision( + api_version = '0', + data = None, + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56 + ) + else : + return V1beta2ControllerRevision( + revision = 56, + ) + + def testV1beta2ControllerRevision(self): + """Test V1beta2ControllerRevision""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_controller_revision_list.py b/kubernetes/test/test_v1beta2_controller_revision_list.py new file mode 100644 index 0000000000..86725f9812 --- /dev/null +++ b/kubernetes/test/test_v1beta2_controller_revision_list.py @@ -0,0 +1,150 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_controller_revision_list import V1beta2ControllerRevisionList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ControllerRevisionList(unittest.TestCase): + """V1beta2ControllerRevisionList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ControllerRevisionList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_controller_revision_list.V1beta2ControllerRevisionList() # noqa: E501 + if include_optional : + return V1beta2ControllerRevisionList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta2/controller_revision.v1beta2.ControllerRevision( + api_version = '0', + data = kubernetes.client.models.data.data(), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56, ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta2ControllerRevisionList( + items = [ + kubernetes.client.models.v1beta2/controller_revision.v1beta2.ControllerRevision( + api_version = '0', + data = kubernetes.client.models.data.data(), + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + revision = 56, ) + ], + ) + + def testV1beta2ControllerRevisionList(self): + """Test V1beta2ControllerRevisionList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set.py b/kubernetes/test/test_v1beta2_daemon_set.py new file mode 100644 index 0000000000..2f4a7818ac --- /dev/null +++ b/kubernetes/test/test_v1beta2_daemon_set.py @@ -0,0 +1,602 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_daemon_set import V1beta2DaemonSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DaemonSet(unittest.TestCase): + """V1beta2DaemonSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DaemonSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_daemon_set.V1beta2DaemonSet() # noqa: E501 + if include_optional : + return V1beta2DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ) + ) + else : + return V1beta2DaemonSet( + ) + + def testV1beta2DaemonSet(self): + """Test V1beta2DaemonSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_condition.py b/kubernetes/test/test_v1beta2_daemon_set_condition.py new file mode 100644 index 0000000000..89c026e55c --- /dev/null +++ b/kubernetes/test/test_v1beta2_daemon_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_daemon_set_condition import V1beta2DaemonSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DaemonSetCondition(unittest.TestCase): + """V1beta2DaemonSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DaemonSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_daemon_set_condition.V1beta2DaemonSetCondition() # noqa: E501 + if include_optional : + return V1beta2DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta2DaemonSetCondition( + status = '0', + type = '0', + ) + + def testV1beta2DaemonSetCondition(self): + """Test V1beta2DaemonSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_list.py b/kubernetes/test/test_v1beta2_daemon_set_list.py new file mode 100644 index 0000000000..c21d4f6776 --- /dev/null +++ b/kubernetes/test/test_v1beta2_daemon_set_list.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_daemon_set_list import V1beta2DaemonSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DaemonSetList(unittest.TestCase): + """V1beta2DaemonSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DaemonSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_daemon_set_list.V1beta2DaemonSetList() # noqa: E501 + if include_optional : + return V1beta2DaemonSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta2/daemon_set.v1beta2.DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta2DaemonSetList( + items = [ + kubernetes.client.models.v1beta2/daemon_set.v1beta2.DaemonSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), ), + status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56, ), ) + ], + ) + + def testV1beta2DaemonSetList(self): + """Test V1beta2DaemonSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_spec.py b/kubernetes/test/test_v1beta2_daemon_set_spec.py new file mode 100644 index 0000000000..757ea756fd --- /dev/null +++ b/kubernetes/test/test_v1beta2_daemon_set_spec.py @@ -0,0 +1,1049 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_daemon_set_spec import V1beta2DaemonSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DaemonSetSpec(unittest.TestCase): + """V1beta2DaemonSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DaemonSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_daemon_set_spec.V1beta2DaemonSetSpec() # noqa: E501 + if include_optional : + return V1beta2DaemonSetSpec( + min_ready_seconds = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ) + ) + else : + return V1beta2DaemonSetSpec( + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1beta2DaemonSetSpec(self): + """Test V1beta2DaemonSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_status.py b/kubernetes/test/test_v1beta2_daemon_set_status.py new file mode 100644 index 0000000000..4d625cb936 --- /dev/null +++ b/kubernetes/test/test_v1beta2_daemon_set_status.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_daemon_set_status import V1beta2DaemonSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DaemonSetStatus(unittest.TestCase): + """V1beta2DaemonSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DaemonSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_daemon_set_status.V1beta2DaemonSetStatus() # noqa: E501 + if include_optional : + return V1beta2DaemonSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_available = 56, + number_misscheduled = 56, + number_ready = 56, + number_unavailable = 56, + observed_generation = 56, + updated_number_scheduled = 56 + ) + else : + return V1beta2DaemonSetStatus( + current_number_scheduled = 56, + desired_number_scheduled = 56, + number_misscheduled = 56, + number_ready = 56, + ) + + def testV1beta2DaemonSetStatus(self): + """Test V1beta2DaemonSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py new file mode 100644 index 0000000000..2394779cee --- /dev/null +++ b/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_daemon_set_update_strategy import V1beta2DaemonSetUpdateStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DaemonSetUpdateStrategy(unittest.TestCase): + """V1beta2DaemonSetUpdateStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DaemonSetUpdateStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_daemon_set_update_strategy.V1beta2DaemonSetUpdateStrategy() # noqa: E501 + if include_optional : + return V1beta2DaemonSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0' + ) + else : + return V1beta2DaemonSetUpdateStrategy( + ) + + def testV1beta2DaemonSetUpdateStrategy(self): + """Test V1beta2DaemonSetUpdateStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment.py b/kubernetes/test/test_v1beta2_deployment.py new file mode 100644 index 0000000000..8718cf81d7 --- /dev/null +++ b/kubernetes/test/test_v1beta2_deployment.py @@ -0,0 +1,605 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_deployment import V1beta2Deployment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2Deployment(unittest.TestCase): + """V1beta2Deployment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2Deployment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_deployment.V1beta2Deployment() # noqa: E501 + if include_optional : + return V1beta2Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), ), + status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ) + ) + else : + return V1beta2Deployment( + ) + + def testV1beta2Deployment(self): + """Test V1beta2Deployment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_condition.py b/kubernetes/test/test_v1beta2_deployment_condition.py new file mode 100644 index 0000000000..3f2b567c68 --- /dev/null +++ b/kubernetes/test/test_v1beta2_deployment_condition.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_deployment_condition import V1beta2DeploymentCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DeploymentCondition(unittest.TestCase): + """V1beta2DeploymentCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DeploymentCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_deployment_condition.V1beta2DeploymentCondition() # noqa: E501 + if include_optional : + return V1beta2DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta2DeploymentCondition( + status = '0', + type = '0', + ) + + def testV1beta2DeploymentCondition(self): + """Test V1beta2DeploymentCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_list.py b/kubernetes/test/test_v1beta2_deployment_list.py new file mode 100644 index 0000000000..844007ca5f --- /dev/null +++ b/kubernetes/test/test_v1beta2_deployment_list.py @@ -0,0 +1,228 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_deployment_list import V1beta2DeploymentList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DeploymentList(unittest.TestCase): + """V1beta2DeploymentList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DeploymentList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_deployment_list.V1beta2DeploymentList() # noqa: E501 + if include_optional : + return V1beta2DeploymentList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta2/deployment.v1beta2.Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta2DeploymentList( + items = [ + kubernetes.client.models.v1beta2/deployment.v1beta2.Deployment( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56, ), ) + ], + ) + + def testV1beta2DeploymentList(self): + """Test V1beta2DeploymentList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_spec.py b/kubernetes/test/test_v1beta2_deployment_spec.py new file mode 100644 index 0000000000..f9675af8e9 --- /dev/null +++ b/kubernetes/test/test_v1beta2_deployment_spec.py @@ -0,0 +1,1053 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_deployment_spec import V1beta2DeploymentSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DeploymentSpec(unittest.TestCase): + """V1beta2DeploymentSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DeploymentSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_deployment_spec.V1beta2DeploymentSpec() # noqa: E501 + if include_optional : + return V1beta2DeploymentSpec( + min_ready_seconds = 56, + paused = True, + progress_deadline_seconds = 56, + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0', ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return V1beta2DeploymentSpec( + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1beta2DeploymentSpec(self): + """Test V1beta2DeploymentSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_status.py b/kubernetes/test/test_v1beta2_deployment_status.py new file mode 100644 index 0000000000..de720bf01b --- /dev/null +++ b/kubernetes/test/test_v1beta2_deployment_status.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_deployment_status import V1beta2DeploymentStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DeploymentStatus(unittest.TestCase): + """V1beta2DeploymentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DeploymentStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_deployment_status.V1beta2DeploymentStatus() # noqa: E501 + if include_optional : + return V1beta2DeploymentStatus( + available_replicas = 56, + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + unavailable_replicas = 56, + updated_replicas = 56 + ) + else : + return V1beta2DeploymentStatus( + ) + + def testV1beta2DeploymentStatus(self): + """Test V1beta2DeploymentStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_strategy.py b/kubernetes/test/test_v1beta2_deployment_strategy.py new file mode 100644 index 0000000000..f823b88ec7 --- /dev/null +++ b/kubernetes/test/test_v1beta2_deployment_strategy.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_deployment_strategy import V1beta2DeploymentStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2DeploymentStrategy(unittest.TestCase): + """V1beta2DeploymentStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2DeploymentStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_deployment_strategy.V1beta2DeploymentStrategy() # noqa: E501 + if include_optional : + return V1beta2DeploymentStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( + max_surge = kubernetes.client.models.max_surge.maxSurge(), + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), + type = '0' + ) + else : + return V1beta2DeploymentStrategy( + ) + + def testV1beta2DeploymentStrategy(self): + """Test V1beta2DeploymentStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set.py b/kubernetes/test/test_v1beta2_replica_set.py new file mode 100644 index 0000000000..caad8872ab --- /dev/null +++ b/kubernetes/test/test_v1beta2_replica_set.py @@ -0,0 +1,594 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_replica_set import V1beta2ReplicaSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ReplicaSet(unittest.TestCase): + """V1beta2ReplicaSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ReplicaSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_replica_set.V1beta2ReplicaSet() # noqa: E501 + if include_optional : + return V1beta2ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), ), + status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ) + ) + else : + return V1beta2ReplicaSet( + ) + + def testV1beta2ReplicaSet(self): + """Test V1beta2ReplicaSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_condition.py b/kubernetes/test/test_v1beta2_replica_set_condition.py new file mode 100644 index 0000000000..8be8a1ebe5 --- /dev/null +++ b/kubernetes/test/test_v1beta2_replica_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_replica_set_condition import V1beta2ReplicaSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ReplicaSetCondition(unittest.TestCase): + """V1beta2ReplicaSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ReplicaSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_replica_set_condition.V1beta2ReplicaSetCondition() # noqa: E501 + if include_optional : + return V1beta2ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta2ReplicaSetCondition( + status = '0', + type = '0', + ) + + def testV1beta2ReplicaSetCondition(self): + """Test V1beta2ReplicaSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_list.py b/kubernetes/test/test_v1beta2_replica_set_list.py new file mode 100644 index 0000000000..f10f4aad58 --- /dev/null +++ b/kubernetes/test/test_v1beta2_replica_set_list.py @@ -0,0 +1,206 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_replica_set_list import V1beta2ReplicaSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ReplicaSetList(unittest.TestCase): + """V1beta2ReplicaSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ReplicaSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_replica_set_list.V1beta2ReplicaSetList() # noqa: E501 + if include_optional : + return V1beta2ReplicaSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta2/replica_set.v1beta2.ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta2ReplicaSetList( + items = [ + kubernetes.client.models.v1beta2/replica_set.v1beta2.ReplicaSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), + status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56, ), ) + ], + ) + + def testV1beta2ReplicaSetList(self): + """Test V1beta2ReplicaSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_spec.py b/kubernetes/test/test_v1beta2_replica_set_spec.py new file mode 100644 index 0000000000..cb45a40b55 --- /dev/null +++ b/kubernetes/test/test_v1beta2_replica_set_spec.py @@ -0,0 +1,561 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_replica_set_spec import V1beta2ReplicaSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ReplicaSetSpec(unittest.TestCase): + """V1beta2ReplicaSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ReplicaSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_replica_set_spec.V1beta2ReplicaSetSpec() # noqa: E501 + if include_optional : + return V1beta2ReplicaSetSpec( + min_ready_seconds = 56, + replicas = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ) + ) + else : + return V1beta2ReplicaSetSpec( + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + ) + + def testV1beta2ReplicaSetSpec(self): + """Test V1beta2ReplicaSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_status.py b/kubernetes/test/test_v1beta2_replica_set_status.py new file mode 100644 index 0000000000..dc5a9dccd3 --- /dev/null +++ b/kubernetes/test/test_v1beta2_replica_set_status.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_replica_set_status import V1beta2ReplicaSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ReplicaSetStatus(unittest.TestCase): + """V1beta2ReplicaSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ReplicaSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_replica_set_status.V1beta2ReplicaSetStatus() # noqa: E501 + if include_optional : + return V1beta2ReplicaSetStatus( + available_replicas = 56, + conditions = [ + kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + fully_labeled_replicas = 56, + observed_generation = 56, + ready_replicas = 56, + replicas = 56 + ) + else : + return V1beta2ReplicaSetStatus( + replicas = 56, + ) + + def testV1beta2ReplicaSetStatus(self): + """Test V1beta2ReplicaSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py new file mode 100644 index 0000000000..5cf8fadd44 --- /dev/null +++ b/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_rolling_update_daemon_set import V1beta2RollingUpdateDaemonSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2RollingUpdateDaemonSet(unittest.TestCase): + """V1beta2RollingUpdateDaemonSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2RollingUpdateDaemonSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_rolling_update_daemon_set.V1beta2RollingUpdateDaemonSet() # noqa: E501 + if include_optional : + return V1beta2RollingUpdateDaemonSet( + max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() + ) + else : + return V1beta2RollingUpdateDaemonSet( + ) + + def testV1beta2RollingUpdateDaemonSet(self): + """Test V1beta2RollingUpdateDaemonSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_deployment.py b/kubernetes/test/test_v1beta2_rolling_update_deployment.py new file mode 100644 index 0000000000..908fbbe721 --- /dev/null +++ b/kubernetes/test/test_v1beta2_rolling_update_deployment.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_rolling_update_deployment import V1beta2RollingUpdateDeployment # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2RollingUpdateDeployment(unittest.TestCase): + """V1beta2RollingUpdateDeployment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2RollingUpdateDeployment + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_rolling_update_deployment.V1beta2RollingUpdateDeployment() # noqa: E501 + if include_optional : + return V1beta2RollingUpdateDeployment( + max_surge = None, + max_unavailable = None + ) + else : + return V1beta2RollingUpdateDeployment( + ) + + def testV1beta2RollingUpdateDeployment(self): + """Test V1beta2RollingUpdateDeployment""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py new file mode 100644 index 0000000000..1d609c8d19 --- /dev/null +++ b/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_rolling_update_stateful_set_strategy import V1beta2RollingUpdateStatefulSetStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2RollingUpdateStatefulSetStrategy(unittest.TestCase): + """V1beta2RollingUpdateStatefulSetStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2RollingUpdateStatefulSetStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_rolling_update_stateful_set_strategy.V1beta2RollingUpdateStatefulSetStrategy() # noqa: E501 + if include_optional : + return V1beta2RollingUpdateStatefulSetStrategy( + partition = 56 + ) + else : + return V1beta2RollingUpdateStatefulSetStrategy( + ) + + def testV1beta2RollingUpdateStatefulSetStrategy(self): + """Test V1beta2RollingUpdateStatefulSetStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale.py b/kubernetes/test/test_v1beta2_scale.py new file mode 100644 index 0000000000..8eb1aab41a --- /dev/null +++ b/kubernetes/test/test_v1beta2_scale.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_scale import V1beta2Scale # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2Scale(unittest.TestCase): + """V1beta2Scale unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2Scale + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_scale.V1beta2Scale() # noqa: E501 + if include_optional : + return V1beta2Scale( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/scale_spec.v1beta2.ScaleSpec( + replicas = 56, ), + status = kubernetes.client.models.v1beta2/scale_status.v1beta2.ScaleStatus( + replicas = 56, + selector = { + 'key' : '0' + }, + target_selector = '0', ) + ) + else : + return V1beta2Scale( + ) + + def testV1beta2Scale(self): + """Test V1beta2Scale""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale_spec.py b/kubernetes/test/test_v1beta2_scale_spec.py new file mode 100644 index 0000000000..665ab81dd6 --- /dev/null +++ b/kubernetes/test/test_v1beta2_scale_spec.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_scale_spec import V1beta2ScaleSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ScaleSpec(unittest.TestCase): + """V1beta2ScaleSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ScaleSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_scale_spec.V1beta2ScaleSpec() # noqa: E501 + if include_optional : + return V1beta2ScaleSpec( + replicas = 56 + ) + else : + return V1beta2ScaleSpec( + ) + + def testV1beta2ScaleSpec(self): + """Test V1beta2ScaleSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale_status.py b/kubernetes/test/test_v1beta2_scale_status.py new file mode 100644 index 0000000000..5eecd8d340 --- /dev/null +++ b/kubernetes/test/test_v1beta2_scale_status.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_scale_status import V1beta2ScaleStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2ScaleStatus(unittest.TestCase): + """V1beta2ScaleStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2ScaleStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_scale_status.V1beta2ScaleStatus() # noqa: E501 + if include_optional : + return V1beta2ScaleStatus( + replicas = 56, + selector = { + 'key' : '0' + }, + target_selector = '0' + ) + else : + return V1beta2ScaleStatus( + replicas = 56, + ) + + def testV1beta2ScaleStatus(self): + """Test V1beta2ScaleStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set.py b/kubernetes/test/test_v1beta2_stateful_set.py new file mode 100644 index 0000000000..acf5712b15 --- /dev/null +++ b/kubernetes/test/test_v1beta2_stateful_set.py @@ -0,0 +1,625 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_stateful_set import V1beta2StatefulSet # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2StatefulSet(unittest.TestCase): + """V1beta2StatefulSet unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2StatefulSet + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_stateful_set.V1beta2StatefulSet() # noqa: E501 + if include_optional : + return V1beta2StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/stateful_set_condition.v1beta2.StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ) + ) + else : + return V1beta2StatefulSet( + ) + + def testV1beta2StatefulSet(self): + """Test V1beta2StatefulSet""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_condition.py b/kubernetes/test/test_v1beta2_stateful_set_condition.py new file mode 100644 index 0000000000..7a408312f2 --- /dev/null +++ b/kubernetes/test/test_v1beta2_stateful_set_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_stateful_set_condition import V1beta2StatefulSetCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2StatefulSetCondition(unittest.TestCase): + """V1beta2StatefulSetCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2StatefulSetCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_stateful_set_condition.V1beta2StatefulSetCondition() # noqa: E501 + if include_optional : + return V1beta2StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V1beta2StatefulSetCondition( + status = '0', + type = '0', + ) + + def testV1beta2StatefulSetCondition(self): + """Test V1beta2StatefulSetCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_list.py b/kubernetes/test/test_v1beta2_stateful_set_list.py new file mode 100644 index 0000000000..e73fd46ba7 --- /dev/null +++ b/kubernetes/test/test_v1beta2_stateful_set_list.py @@ -0,0 +1,252 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_stateful_set_list import V1beta2StatefulSetList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2StatefulSetList(unittest.TestCase): + """V1beta2StatefulSetList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2StatefulSetList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_stateful_set_list.V1beta2StatefulSetList() # noqa: E501 + if include_optional : + return V1beta2StatefulSetList( + api_version = '0', + items = [ + kubernetes.client.models.v1beta2/stateful_set.v1beta2.StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( + collision_count = 56, + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V1beta2StatefulSetList( + items = [ + kubernetes.client.models.v1beta2/stateful_set.v1beta2.StatefulSet( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + access_modes = [ + '0' + ], + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ], ), + status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( + collision_count = 56, + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56, ), ) + ], + ) + + def testV1beta2StatefulSetList(self): + """Test V1beta2StatefulSetList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_spec.py b/kubernetes/test/test_v1beta2_stateful_set_spec.py new file mode 100644 index 0000000000..7e91c8db90 --- /dev/null +++ b/kubernetes/test/test_v1beta2_stateful_set_spec.py @@ -0,0 +1,1140 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_stateful_set_spec import V1beta2StatefulSetSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2StatefulSetSpec(unittest.TestCase): + """V1beta2StatefulSetSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2StatefulSetSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_stateful_set_spec.V1beta2StatefulSetSpec() # noqa: E501 + if include_optional : + return V1beta2StatefulSetSpec( + pod_management_policy = '0', + replicas = 56, + revision_history_limit = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0', ), + volume_claim_templates = [ + kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( + access_modes = [ + '0' + ], + data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( + api_group = '0', + kind = '0', + name = '0', ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + storage_class_name = '0', + volume_mode = '0', + volume_name = '0', ), + status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( + capacity = { + 'key' : '0' + }, + conditions = [ + kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( + last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + phase = '0', ), ) + ] + ) + else : + return V1beta2StatefulSetSpec( + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + service_name = '0', + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_expressions = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_labels = { + 'key' : '0' + }, ), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ) + + def testV1beta2StatefulSetSpec(self): + """Test V1beta2StatefulSetSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_status.py b/kubernetes/test/test_v1beta2_stateful_set_status.py new file mode 100644 index 0000000000..e35907676d --- /dev/null +++ b/kubernetes/test/test_v1beta2_stateful_set_status.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_stateful_set_status import V1beta2StatefulSetStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2StatefulSetStatus(unittest.TestCase): + """V1beta2StatefulSetStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2StatefulSetStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_stateful_set_status.V1beta2StatefulSetStatus() # noqa: E501 + if include_optional : + return V1beta2StatefulSetStatus( + collision_count = 56, + conditions = [ + kubernetes.client.models.v1beta2/stateful_set_condition.v1beta2.StatefulSetCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_replicas = 56, + current_revision = '0', + observed_generation = 56, + ready_replicas = 56, + replicas = 56, + update_revision = '0', + updated_replicas = 56 + ) + else : + return V1beta2StatefulSetStatus( + replicas = 56, + ) + + def testV1beta2StatefulSetStatus(self): + """Test V1beta2StatefulSetStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py new file mode 100644 index 0000000000..ef836e99a6 --- /dev/null +++ b/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v1beta2_stateful_set_update_strategy import V1beta2StatefulSetUpdateStrategy # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV1beta2StatefulSetUpdateStrategy(unittest.TestCase): + """V1beta2StatefulSetUpdateStrategy unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V1beta2StatefulSetUpdateStrategy + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v1beta2_stateful_set_update_strategy.V1beta2StatefulSetUpdateStrategy() # noqa: E501 + if include_optional : + return V1beta2StatefulSetUpdateStrategy( + rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( + partition = 56, ), + type = '0' + ) + else : + return V1beta2StatefulSetUpdateStrategy( + ) + + def testV1beta2StatefulSetUpdateStrategy(self): + """Test V1beta2StatefulSetUpdateStrategy""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job.py b/kubernetes/test/test_v2alpha1_cron_job.py new file mode 100644 index 0000000000..93f382a49a --- /dev/null +++ b/kubernetes/test/test_v2alpha1_cron_job.py @@ -0,0 +1,151 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2alpha1_cron_job import V2alpha1CronJob # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2alpha1CronJob(unittest.TestCase): + """V2alpha1CronJob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2alpha1CronJob + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2alpha1_cron_job.V2alpha1CronJob() # noqa: E501 + if include_optional : + return V2alpha1CronJob( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( + concurrency_policy = '0', + failed_jobs_history_limit = 56, + job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), ), + schedule = '0', + starting_deadline_seconds = 56, + successful_jobs_history_limit = 56, + suspend = True, ), + status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( + active = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], + last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ) + else : + return V2alpha1CronJob( + ) + + def testV2alpha1CronJob(self): + """Test V2alpha1CronJob""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_list.py b/kubernetes/test/test_v2alpha1_cron_job_list.py new file mode 100644 index 0000000000..1508ff20a9 --- /dev/null +++ b/kubernetes/test/test_v2alpha1_cron_job_list.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2alpha1_cron_job_list import V2alpha1CronJobList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2alpha1CronJobList(unittest.TestCase): + """V2alpha1CronJobList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2alpha1CronJobList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2alpha1_cron_job_list.V2alpha1CronJobList() # noqa: E501 + if include_optional : + return V2alpha1CronJobList( + api_version = '0', + items = [ + kubernetes.client.models.v2alpha1/cron_job.v2alpha1.CronJob( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( + concurrency_policy = '0', + failed_jobs_history_limit = 56, + job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec(), + schedule = '0', + starting_deadline_seconds = 56, + successful_jobs_history_limit = 56, + suspend = True, ), + status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( + active = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], + last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V2alpha1CronJobList( + items = [ + kubernetes.client.models.v2alpha1/cron_job.v2alpha1.CronJob( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( + concurrency_policy = '0', + failed_jobs_history_limit = 56, + job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec(), + schedule = '0', + starting_deadline_seconds = 56, + successful_jobs_history_limit = 56, + suspend = True, ), + status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( + active = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], + last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) + ], + ) + + def testV2alpha1CronJobList(self): + """Test V2alpha1CronJobList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_spec.py b/kubernetes/test/test_v2alpha1_cron_job_spec.py new file mode 100644 index 0000000000..5ea57ba113 --- /dev/null +++ b/kubernetes/test/test_v2alpha1_cron_job_spec.py @@ -0,0 +1,178 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2alpha1_cron_job_spec import V2alpha1CronJobSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2alpha1CronJobSpec(unittest.TestCase): + """V2alpha1CronJobSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2alpha1CronJobSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2alpha1_cron_job_spec.V2alpha1CronJobSpec() # noqa: E501 + if include_optional : + return V2alpha1CronJobSpec( + concurrency_policy = '0', + failed_jobs_history_limit = 56, + job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + ttl_seconds_after_finished = 56, ), ), + schedule = '0', + starting_deadline_seconds = 56, + successful_jobs_history_limit = 56, + suspend = True + ) + else : + return V2alpha1CronJobSpec( + job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), + ttl_seconds_after_finished = 56, ), ), + schedule = '0', + ) + + def testV2alpha1CronJobSpec(self): + """Test V2alpha1CronJobSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_status.py b/kubernetes/test/test_v2alpha1_cron_job_status.py new file mode 100644 index 0000000000..e9521a0bd3 --- /dev/null +++ b/kubernetes/test/test_v2alpha1_cron_job_status.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2alpha1_cron_job_status import V2alpha1CronJobStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2alpha1CronJobStatus(unittest.TestCase): + """V2alpha1CronJobStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2alpha1CronJobStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2alpha1_cron_job_status.V2alpha1CronJobStatus() # noqa: E501 + if include_optional : + return V2alpha1CronJobStatus( + active = [ + kubernetes.client.models.v1/object_reference.v1.ObjectReference( + api_version = '0', + field_path = '0', + kind = '0', + name = '0', + namespace = '0', + resource_version = '0', + uid = '0', ) + ], + last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') + ) + else : + return V2alpha1CronJobStatus( + ) + + def testV2alpha1CronJobStatus(self): + """Test V2alpha1CronJobStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2alpha1_job_template_spec.py b/kubernetes/test/test_v2alpha1_job_template_spec.py new file mode 100644 index 0000000000..10ae59223e --- /dev/null +++ b/kubernetes/test/test_v2alpha1_job_template_spec.py @@ -0,0 +1,582 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2alpha1_job_template_spec import V2alpha1JobTemplateSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2alpha1JobTemplateSpec(unittest.TestCase): + """V2alpha1JobTemplateSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2alpha1JobTemplateSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2alpha1_job_template_spec.V2alpha1JobTemplateSpec() # noqa: E501 + if include_optional : + return V2alpha1JobTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( + active_deadline_seconds = 56, + backoff_limit = 56, + completions = 56, + manual_selector = True, + parallelism = 56, + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( + active_deadline_seconds = 56, + affinity = kubernetes.client.models.v1/affinity.v1.Affinity( + node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( + preferred_during_scheduling_ignored_during_execution = [ + kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( + preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( + match_fields = [ + kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( + key = '0', + operator = '0', ) + ], ), + weight = 56, ) + ], + required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( + node_selector_terms = [ + kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() + ], ), ), + pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), + pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), + automount_service_account_token = True, + containers = [ + kubernetes.client.models.v1/container.v1.Container( + args = [ + '0' + ], + command = [ + '0' + ], + env = [ + kubernetes.client.models.v1/env_var.v1.EnvVar( + name = '0', + value = '0', + value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( + config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( + key = '0', + name = '0', + optional = True, ), + field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( + api_version = '0', + field_path = '0', ), + resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( + container_name = '0', + divisor = '0', + resource = '0', ), + secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( + key = '0', + name = '0', + optional = True, ), ), ) + ], + env_from = [ + kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( + config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( + name = '0', + optional = True, ), + prefix = '0', + secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( + name = '0', + optional = True, ), ) + ], + image = '0', + image_pull_policy = '0', + lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( + post_start = kubernetes.client.models.v1/handler.v1.Handler( + exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), + http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( + host = '0', + http_headers = [ + kubernetes.client.models.v1/http_header.v1.HTTPHeader( + name = '0', + value = '0', ) + ], + path = '0', + port = kubernetes.client.models.port.port(), + scheme = '0', ), + tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( + host = '0', + port = kubernetes.client.models.port.port(), ), ), + pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), + liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + name = '0', + ports = [ + kubernetes.client.models.v1/container_port.v1.ContainerPort( + container_port = 56, + host_ip = '0', + host_port = 56, + name = '0', + protocol = '0', ) + ], + readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( + limits = { + 'key' : '0' + }, + requests = { + 'key' : '0' + }, ), + security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( + allow_privilege_escalation = True, + capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( + add = [ + '0' + ], + drop = [ + '0' + ], ), + privileged = True, + proc_mount = '0', + read_only_root_filesystem = True, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( + level = '0', + role = '0', + type = '0', + user = '0', ), + windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( + gmsa_credential_spec = '0', + gmsa_credential_spec_name = '0', + run_as_user_name = '0', ), ), + startup_probe = kubernetes.client.models.v1/probe.v1.Probe( + failure_threshold = 56, + initial_delay_seconds = 56, + period_seconds = 56, + success_threshold = 56, + timeout_seconds = 56, ), + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + volume_devices = [ + kubernetes.client.models.v1/volume_device.v1.VolumeDevice( + device_path = '0', + name = '0', ) + ], + volume_mounts = [ + kubernetes.client.models.v1/volume_mount.v1.VolumeMount( + mount_path = '0', + mount_propagation = '0', + name = '0', + read_only = True, + sub_path = '0', + sub_path_expr = '0', ) + ], + working_dir = '0', ) + ], + dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( + nameservers = [ + '0' + ], + options = [ + kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( + name = '0', + value = '0', ) + ], + searches = [ + '0' + ], ), + dns_policy = '0', + enable_service_links = True, + ephemeral_containers = [ + kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + target_container_name = '0', + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + host_aliases = [ + kubernetes.client.models.v1/host_alias.v1.HostAlias( + hostnames = [ + '0' + ], + ip = '0', ) + ], + host_ipc = True, + host_network = True, + host_pid = True, + hostname = '0', + image_pull_secrets = [ + kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ) + ], + init_containers = [ + kubernetes.client.models.v1/container.v1.Container( + image = '0', + image_pull_policy = '0', + name = '0', + stdin = True, + stdin_once = True, + termination_message_path = '0', + termination_message_policy = '0', + tty = True, + working_dir = '0', ) + ], + node_name = '0', + node_selector = { + 'key' : '0' + }, + overhead = { + 'key' : '0' + }, + preemption_policy = '0', + priority = 56, + priority_class_name = '0', + readiness_gates = [ + kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( + condition_type = '0', ) + ], + restart_policy = '0', + runtime_class_name = '0', + scheduler_name = '0', + security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( + fs_group = 56, + run_as_group = 56, + run_as_non_root = True, + run_as_user = 56, + supplemental_groups = [ + 56 + ], + sysctls = [ + kubernetes.client.models.v1/sysctl.v1.Sysctl( + name = '0', + value = '0', ) + ], ), + service_account = '0', + service_account_name = '0', + share_process_namespace = True, + subdomain = '0', + termination_grace_period_seconds = 56, + tolerations = [ + kubernetes.client.models.v1/toleration.v1.Toleration( + effect = '0', + key = '0', + operator = '0', + toleration_seconds = 56, + value = '0', ) + ], + topology_spread_constraints = [ + kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( + label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + max_skew = 56, + topology_key = '0', + when_unsatisfiable = '0', ) + ], + volumes = [ + kubernetes.client.models.v1/volume.v1.Volume( + aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( + fs_type = '0', + partition = 56, + read_only = True, + volume_id = '0', ), + azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( + caching_mode = '0', + disk_name = '0', + disk_uri = '0', + fs_type = '0', + kind = '0', + read_only = True, ), + azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( + read_only = True, + secret_name = '0', + share_name = '0', ), + cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( + monitors = [ + '0' + ], + path = '0', + read_only = True, + secret_file = '0', + user = '0', ), + cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( + default_mode = 56, + items = [ + kubernetes.client.models.v1/key_to_path.v1.KeyToPath( + key = '0', + mode = 56, + path = '0', ) + ], + name = '0', + optional = True, ), + csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( + driver = '0', + fs_type = '0', + node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + read_only = True, + volume_attributes = { + 'key' : '0' + }, ), + downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( + default_mode = 56, ), + empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( + medium = '0', + size_limit = '0', ), + fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( + fs_type = '0', + lun = 56, + read_only = True, + target_ww_ns = [ + '0' + ], + wwids = [ + '0' + ], ), + flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( + driver = '0', + fs_type = '0', + read_only = True, ), + flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( + dataset_name = '0', + dataset_uuid = '0', ), + gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( + fs_type = '0', + partition = 56, + pd_name = '0', + read_only = True, ), + git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( + directory = '0', + repository = '0', + revision = '0', ), + glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( + endpoints = '0', + path = '0', + read_only = True, ), + host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( + path = '0', + type = '0', ), + iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( + chap_auth_discovery = True, + chap_auth_session = True, + fs_type = '0', + initiator_name = '0', + iqn = '0', + iscsi_interface = '0', + lun = 56, + portals = [ + '0' + ], + read_only = True, + target_portal = '0', ), + name = '0', + nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( + path = '0', + read_only = True, + server = '0', ), + persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( + claim_name = '0', + read_only = True, ), + photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( + fs_type = '0', + pd_id = '0', ), + portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( + fs_type = '0', + read_only = True, + volume_id = '0', ), + projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( + default_mode = 56, + sources = [ + kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( + secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( + name = '0', + optional = True, ), + service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( + audience = '0', + expiration_seconds = 56, + path = '0', ), ) + ], ), + quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( + group = '0', + read_only = True, + registry = '0', + tenant = '0', + user = '0', + volume = '0', ), + rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( + fs_type = '0', + image = '0', + keyring = '0', + monitors = [ + '0' + ], + pool = '0', + read_only = True, + user = '0', ), + scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( + fs_type = '0', + gateway = '0', + protection_domain = '0', + read_only = True, + secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( + name = '0', ), + ssl_enabled = True, + storage_mode = '0', + storage_pool = '0', + system = '0', + volume_name = '0', ), + secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( + default_mode = 56, + optional = True, + secret_name = '0', ), + storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( + fs_type = '0', + read_only = True, + volume_name = '0', + volume_namespace = '0', ), + vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( + fs_type = '0', + storage_policy_id = '0', + storage_policy_name = '0', + volume_path = '0', ), ) + ], ), ), + ttl_seconds_after_finished = 56, ) + ) + else : + return V2alpha1JobTemplateSpec( + ) + + def testV2alpha1JobTemplateSpec(self): + """Test V2alpha1JobTemplateSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_cross_version_object_reference.py b/kubernetes/test/test_v2beta1_cross_version_object_reference.py new file mode 100644 index 0000000000..de8c02f5c8 --- /dev/null +++ b/kubernetes/test/test_v2beta1_cross_version_object_reference.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_cross_version_object_reference import V2beta1CrossVersionObjectReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1CrossVersionObjectReference(unittest.TestCase): + """V2beta1CrossVersionObjectReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1CrossVersionObjectReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_cross_version_object_reference.V2beta1CrossVersionObjectReference() # noqa: E501 + if include_optional : + return V2beta1CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0' + ) + else : + return V2beta1CrossVersionObjectReference( + kind = '0', + name = '0', + ) + + def testV2beta1CrossVersionObjectReference(self): + """Test V2beta1CrossVersionObjectReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_external_metric_source.py b/kubernetes/test/test_v2beta1_external_metric_source.py new file mode 100644 index 0000000000..50ca5dd424 --- /dev/null +++ b/kubernetes/test/test_v2beta1_external_metric_source.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_external_metric_source import V2beta1ExternalMetricSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1ExternalMetricSource(unittest.TestCase): + """V2beta1ExternalMetricSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1ExternalMetricSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_external_metric_source.V2beta1ExternalMetricSource() # noqa: E501 + if include_optional : + return V2beta1ExternalMetricSource( + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target_average_value = '0', + target_value = '0' + ) + else : + return V2beta1ExternalMetricSource( + metric_name = '0', + ) + + def testV2beta1ExternalMetricSource(self): + """Test V2beta1ExternalMetricSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_external_metric_status.py b/kubernetes/test/test_v2beta1_external_metric_status.py new file mode 100644 index 0000000000..d57097d270 --- /dev/null +++ b/kubernetes/test/test_v2beta1_external_metric_status.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_external_metric_status import V2beta1ExternalMetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1ExternalMetricStatus(unittest.TestCase): + """V2beta1ExternalMetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1ExternalMetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_external_metric_status.V2beta1ExternalMetricStatus() # noqa: E501 + if include_optional : + return V2beta1ExternalMetricStatus( + current_average_value = '0', + current_value = '0', + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ) + else : + return V2beta1ExternalMetricStatus( + current_value = '0', + metric_name = '0', + ) + + def testV2beta1ExternalMetricStatus(self): + """Test V2beta1ExternalMetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py new file mode 100644 index 0000000000..aa4b77bd90 --- /dev/null +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py @@ -0,0 +1,184 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler import V2beta1HorizontalPodAutoscaler # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1HorizontalPodAutoscaler(unittest.TestCase): + """V2beta1HorizontalPodAutoscaler unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1HorizontalPodAutoscaler + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler.V2beta1HorizontalPodAutoscaler() # noqa: E501 + if include_optional : + return V2beta1HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( + max_replicas = 56, + metrics = [ + kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( + external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target_average_value = '0', + target_value = '0', ), + object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( + average_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_value = '0', ), + pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( + metric_name = '0', + target_average_value = '0', ), + resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( + name = '0', + target_average_utilization = 56, + target_average_value = '0', ), + type = '0', ) + ], + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_metrics = [ + kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( + external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( + current_average_value = '0', + current_value = '0', + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( + average_value = '0', + current_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( + current_average_value = '0', + metric_name = '0', ), + resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( + current_average_utilization = 56, + current_average_value = '0', + name = '0', ), + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ) + ) + else : + return V2beta1HorizontalPodAutoscaler( + ) + + def testV2beta1HorizontalPodAutoscaler(self): + """Test V2beta1HorizontalPodAutoscaler""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py new file mode 100644 index 0000000000..e75d49dccb --- /dev/null +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_condition import V2beta1HorizontalPodAutoscalerCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1HorizontalPodAutoscalerCondition(unittest.TestCase): + """V2beta1HorizontalPodAutoscalerCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1HorizontalPodAutoscalerCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_condition.V2beta1HorizontalPodAutoscalerCondition() # noqa: E501 + if include_optional : + return V2beta1HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V2beta1HorizontalPodAutoscalerCondition( + status = '0', + type = '0', + ) + + def testV2beta1HorizontalPodAutoscalerCondition(self): + """Test V2beta1HorizontalPodAutoscalerCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py new file mode 100644 index 0000000000..5c1416b12b --- /dev/null +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_list import V2beta1HorizontalPodAutoscalerList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1HorizontalPodAutoscalerList(unittest.TestCase): + """V2beta1HorizontalPodAutoscalerList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1HorizontalPodAutoscalerList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_list.V2beta1HorizontalPodAutoscalerList() # noqa: E501 + if include_optional : + return V2beta1HorizontalPodAutoscalerList( + api_version = '0', + items = [ + kubernetes.client.models.v2beta1/horizontal_pod_autoscaler.v2beta1.HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( + max_replicas = 56, + metrics = [ + kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( + external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target_average_value = '0', + target_value = '0', ), + object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( + average_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_value = '0', ), + pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( + metric_name = '0', + target_average_value = '0', ), + resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( + name = '0', + target_average_utilization = 56, + target_average_value = '0', ), + type = '0', ) + ], + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_metrics = [ + kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V2beta1HorizontalPodAutoscalerList( + items = [ + kubernetes.client.models.v2beta1/horizontal_pod_autoscaler.v2beta1.HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( + max_replicas = 56, + metrics = [ + kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( + external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target_average_value = '0', + target_value = '0', ), + object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( + average_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_value = '0', ), + pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( + metric_name = '0', + target_average_value = '0', ), + resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( + name = '0', + target_average_utilization = 56, + target_average_value = '0', ), + type = '0', ) + ], + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_metrics = [ + kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ), ) + ], + ) + + def testV2beta1HorizontalPodAutoscalerList(self): + """Test V2beta1HorizontalPodAutoscalerList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py new file mode 100644 index 0000000000..6b004942f2 --- /dev/null +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_spec import V2beta1HorizontalPodAutoscalerSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1HorizontalPodAutoscalerSpec(unittest.TestCase): + """V2beta1HorizontalPodAutoscalerSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1HorizontalPodAutoscalerSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_spec.V2beta1HorizontalPodAutoscalerSpec() # noqa: E501 + if include_optional : + return V2beta1HorizontalPodAutoscalerSpec( + max_replicas = 56, + metrics = [ + kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( + external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target_average_value = '0', + target_value = '0', ), + object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( + average_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_value = '0', ), + pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( + metric_name = '0', + target_average_value = '0', ), + resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( + name = '0', + target_average_utilization = 56, + target_average_value = '0', ), + type = '0', ) + ], + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ) + ) + else : + return V2beta1HorizontalPodAutoscalerSpec( + max_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + ) + + def testV2beta1HorizontalPodAutoscalerSpec(self): + """Test V2beta1HorizontalPodAutoscalerSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py new file mode 100644 index 0000000000..13ad830d08 --- /dev/null +++ b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py @@ -0,0 +1,109 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_status import V2beta1HorizontalPodAutoscalerStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1HorizontalPodAutoscalerStatus(unittest.TestCase): + """V2beta1HorizontalPodAutoscalerStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1HorizontalPodAutoscalerStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_status.V2beta1HorizontalPodAutoscalerStatus() # noqa: E501 + if include_optional : + return V2beta1HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_metrics = [ + kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( + external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( + current_average_value = '0', + current_value = '0', + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( + average_value = '0', + current_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( + current_average_value = '0', + metric_name = '0', ), + resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( + current_average_utilization = 56, + current_average_value = '0', + name = '0', ), + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56 + ) + else : + return V2beta1HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + ) + + def testV2beta1HorizontalPodAutoscalerStatus(self): + """Test V2beta1HorizontalPodAutoscalerStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_metric_spec.py b/kubernetes/test/test_v2beta1_metric_spec.py new file mode 100644 index 0000000000..bc685b443c --- /dev/null +++ b/kubernetes/test/test_v2beta1_metric_spec.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_metric_spec import V2beta1MetricSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1MetricSpec(unittest.TestCase): + """V2beta1MetricSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1MetricSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_metric_spec.V2beta1MetricSpec() # noqa: E501 + if include_optional : + return V2beta1MetricSpec( + external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target_average_value = '0', + target_value = '0', ), + object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( + average_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_value = '0', ), + pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target_average_value = '0', ), + resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( + name = '0', + target_average_utilization = 56, + target_average_value = '0', ), + type = '0' + ) + else : + return V2beta1MetricSpec( + type = '0', + ) + + def testV2beta1MetricSpec(self): + """Test V2beta1MetricSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_metric_status.py b/kubernetes/test/test_v2beta1_metric_status.py new file mode 100644 index 0000000000..127bd42b90 --- /dev/null +++ b/kubernetes/test/test_v2beta1_metric_status.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_metric_status import V2beta1MetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1MetricStatus(unittest.TestCase): + """V2beta1MetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1MetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_metric_status.V2beta1MetricStatus() # noqa: E501 + if include_optional : + return V2beta1MetricStatus( + external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( + current_average_value = '0', + current_value = '0', + metric_name = '0', + metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( + average_value = '0', + current_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( + current_average_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( + current_average_utilization = 56, + current_average_value = '0', + name = '0', ), + type = '0' + ) + else : + return V2beta1MetricStatus( + type = '0', + ) + + def testV2beta1MetricStatus(self): + """Test V2beta1MetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_object_metric_source.py b/kubernetes/test/test_v2beta1_object_metric_source.py new file mode 100644 index 0000000000..de9f07c4ed --- /dev/null +++ b/kubernetes/test/test_v2beta1_object_metric_source.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_object_metric_source import V2beta1ObjectMetricSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1ObjectMetricSource(unittest.TestCase): + """V2beta1ObjectMetricSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1ObjectMetricSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_object_metric_source.V2beta1ObjectMetricSource() # noqa: E501 + if include_optional : + return V2beta1ObjectMetricSource( + average_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_value = '0' + ) + else : + return V2beta1ObjectMetricSource( + metric_name = '0', + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + target_value = '0', + ) + + def testV2beta1ObjectMetricSource(self): + """Test V2beta1ObjectMetricSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_object_metric_status.py b/kubernetes/test/test_v2beta1_object_metric_status.py new file mode 100644 index 0000000000..386b86d9d8 --- /dev/null +++ b/kubernetes/test/test_v2beta1_object_metric_status.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_object_metric_status import V2beta1ObjectMetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1ObjectMetricStatus(unittest.TestCase): + """V2beta1ObjectMetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1ObjectMetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_object_metric_status.V2beta1ObjectMetricStatus() # noqa: E501 + if include_optional : + return V2beta1ObjectMetricStatus( + average_value = '0', + current_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ) + ) + else : + return V2beta1ObjectMetricStatus( + current_value = '0', + metric_name = '0', + target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + ) + + def testV2beta1ObjectMetricStatus(self): + """Test V2beta1ObjectMetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_pods_metric_source.py b/kubernetes/test/test_v2beta1_pods_metric_source.py new file mode 100644 index 0000000000..8abc8a669f --- /dev/null +++ b/kubernetes/test/test_v2beta1_pods_metric_source.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_pods_metric_source import V2beta1PodsMetricSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1PodsMetricSource(unittest.TestCase): + """V2beta1PodsMetricSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1PodsMetricSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_pods_metric_source.V2beta1PodsMetricSource() # noqa: E501 + if include_optional : + return V2beta1PodsMetricSource( + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), + target_average_value = '0' + ) + else : + return V2beta1PodsMetricSource( + metric_name = '0', + target_average_value = '0', + ) + + def testV2beta1PodsMetricSource(self): + """Test V2beta1PodsMetricSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_pods_metric_status.py b/kubernetes/test/test_v2beta1_pods_metric_status.py new file mode 100644 index 0000000000..6b970f42c4 --- /dev/null +++ b/kubernetes/test/test_v2beta1_pods_metric_status.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_pods_metric_status import V2beta1PodsMetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1PodsMetricStatus(unittest.TestCase): + """V2beta1PodsMetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1PodsMetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_pods_metric_status.V2beta1PodsMetricStatus() # noqa: E501 + if include_optional : + return V2beta1PodsMetricStatus( + current_average_value = '0', + metric_name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ) + else : + return V2beta1PodsMetricStatus( + current_average_value = '0', + metric_name = '0', + ) + + def testV2beta1PodsMetricStatus(self): + """Test V2beta1PodsMetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_resource_metric_source.py b/kubernetes/test/test_v2beta1_resource_metric_source.py new file mode 100644 index 0000000000..0a267b0e61 --- /dev/null +++ b/kubernetes/test/test_v2beta1_resource_metric_source.py @@ -0,0 +1,55 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_resource_metric_source import V2beta1ResourceMetricSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1ResourceMetricSource(unittest.TestCase): + """V2beta1ResourceMetricSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1ResourceMetricSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_resource_metric_source.V2beta1ResourceMetricSource() # noqa: E501 + if include_optional : + return V2beta1ResourceMetricSource( + name = '0', + target_average_utilization = 56, + target_average_value = '0' + ) + else : + return V2beta1ResourceMetricSource( + name = '0', + ) + + def testV2beta1ResourceMetricSource(self): + """Test V2beta1ResourceMetricSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta1_resource_metric_status.py b/kubernetes/test/test_v2beta1_resource_metric_status.py new file mode 100644 index 0000000000..6f34324e80 --- /dev/null +++ b/kubernetes/test/test_v2beta1_resource_metric_status.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta1_resource_metric_status import V2beta1ResourceMetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta1ResourceMetricStatus(unittest.TestCase): + """V2beta1ResourceMetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta1ResourceMetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta1_resource_metric_status.V2beta1ResourceMetricStatus() # noqa: E501 + if include_optional : + return V2beta1ResourceMetricStatus( + current_average_utilization = 56, + current_average_value = '0', + name = '0' + ) + else : + return V2beta1ResourceMetricStatus( + current_average_value = '0', + name = '0', + ) + + def testV2beta1ResourceMetricStatus(self): + """Test V2beta1ResourceMetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_cross_version_object_reference.py b/kubernetes/test/test_v2beta2_cross_version_object_reference.py new file mode 100644 index 0000000000..61df033123 --- /dev/null +++ b/kubernetes/test/test_v2beta2_cross_version_object_reference.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_cross_version_object_reference import V2beta2CrossVersionObjectReference # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2CrossVersionObjectReference(unittest.TestCase): + """V2beta2CrossVersionObjectReference unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2CrossVersionObjectReference + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_cross_version_object_reference.V2beta2CrossVersionObjectReference() # noqa: E501 + if include_optional : + return V2beta2CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0' + ) + else : + return V2beta2CrossVersionObjectReference( + kind = '0', + name = '0', + ) + + def testV2beta2CrossVersionObjectReference(self): + """Test V2beta2CrossVersionObjectReference""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_external_metric_source.py b/kubernetes/test/test_v2beta2_external_metric_source.py new file mode 100644 index 0000000000..a1e5bac9dc --- /dev/null +++ b/kubernetes/test/test_v2beta2_external_metric_source.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_external_metric_source import V2beta2ExternalMetricSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2ExternalMetricSource(unittest.TestCase): + """V2beta2ExternalMetricSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2ExternalMetricSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_external_metric_source.V2beta2ExternalMetricSource() # noqa: E501 + if include_optional : + return V2beta2ExternalMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ) + ) + else : + return V2beta2ExternalMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), + ) + + def testV2beta2ExternalMetricSource(self): + """Test V2beta2ExternalMetricSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_external_metric_status.py b/kubernetes/test/test_v2beta2_external_metric_status.py new file mode 100644 index 0000000000..d20d08fd30 --- /dev/null +++ b/kubernetes/test/test_v2beta2_external_metric_status.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_external_metric_status import V2beta2ExternalMetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2ExternalMetricStatus(unittest.TestCase): + """V2beta2ExternalMetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2ExternalMetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_external_metric_status.V2beta2ExternalMetricStatus() # noqa: E501 + if include_optional : + return V2beta2ExternalMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ) + ) + else : + return V2beta2ExternalMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + ) + + def testV2beta2ExternalMetricStatus(self): + """Test V2beta2ExternalMetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py new file mode 100644 index 0000000000..fc2a598c50 --- /dev/null +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py @@ -0,0 +1,210 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler import V2beta2HorizontalPodAutoscaler # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2HorizontalPodAutoscaler(unittest.TestCase): + """V2beta2HorizontalPodAutoscaler unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2HorizontalPodAutoscaler + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler.V2beta2HorizontalPodAutoscaler() # noqa: E501 + if include_optional : + return V2beta2HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( + max_replicas = 56, + metrics = [ + kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( + external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( + name = '0', + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + type = '0', ) + ], + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_metrics = [ + kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( + external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), ), + object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), ), + pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), ), + resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + name = '0', ), + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ) + ) + else : + return V2beta2HorizontalPodAutoscaler( + ) + + def testV2beta2HorizontalPodAutoscaler(self): + """Test V2beta2HorizontalPodAutoscaler""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py new file mode 100644 index 0000000000..17919f87aa --- /dev/null +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_condition import V2beta2HorizontalPodAutoscalerCondition # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2HorizontalPodAutoscalerCondition(unittest.TestCase): + """V2beta2HorizontalPodAutoscalerCondition unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2HorizontalPodAutoscalerCondition + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_condition.V2beta2HorizontalPodAutoscalerCondition() # noqa: E501 + if include_optional : + return V2beta2HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0' + ) + else : + return V2beta2HorizontalPodAutoscalerCondition( + status = '0', + type = '0', + ) + + def testV2beta2HorizontalPodAutoscalerCondition(self): + """Test V2beta2HorizontalPodAutoscalerCondition""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py new file mode 100644 index 0000000000..4811015e1a --- /dev/null +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py @@ -0,0 +1,296 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_list import V2beta2HorizontalPodAutoscalerList # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2HorizontalPodAutoscalerList(unittest.TestCase): + """V2beta2HorizontalPodAutoscalerList unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2HorizontalPodAutoscalerList + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_list.V2beta2HorizontalPodAutoscalerList() # noqa: E501 + if include_optional : + return V2beta2HorizontalPodAutoscalerList( + api_version = '0', + items = [ + kubernetes.client.models.v2beta2/horizontal_pod_autoscaler.v2beta2.HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( + max_replicas = 56, + metrics = [ + kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( + external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( + name = '0', + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + type = '0', ) + ], + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_metrics = [ + kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ), ) + ], + kind = '0', + metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( + continue = '0', + remaining_item_count = 56, + resource_version = '0', + self_link = '0', ) + ) + else : + return V2beta2HorizontalPodAutoscalerList( + items = [ + kubernetes.client.models.v2beta2/horizontal_pod_autoscaler.v2beta2.HorizontalPodAutoscaler( + api_version = '0', + kind = '0', + metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( + annotations = { + 'key' : '0' + }, + cluster_name = '0', + creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + deletion_grace_period_seconds = 56, + deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + finalizers = [ + '0' + ], + generate_name = '0', + generation = 56, + labels = { + 'key' : '0' + }, + managed_fields = [ + kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( + api_version = '0', + fields_type = '0', + fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), + manager = '0', + operation = '0', + time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) + ], + name = '0', + namespace = '0', + owner_references = [ + kubernetes.client.models.v1/owner_reference.v1.OwnerReference( + api_version = '0', + block_owner_deletion = True, + controller = True, + kind = '0', + name = '0', + uid = '0', ) + ], + resource_version = '0', + self_link = '0', + uid = '0', ), + spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( + max_replicas = 56, + metrics = [ + kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( + external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( + name = '0', + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + type = '0', ) + ], + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), ), + status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_metrics = [ + kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56, ), ) + ], + ) + + def testV2beta2HorizontalPodAutoscalerList(self): + """Test V2beta2HorizontalPodAutoscalerList""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py new file mode 100644 index 0000000000..cdfcde2e69 --- /dev/null +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_spec import V2beta2HorizontalPodAutoscalerSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2HorizontalPodAutoscalerSpec(unittest.TestCase): + """V2beta2HorizontalPodAutoscalerSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2HorizontalPodAutoscalerSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_spec.V2beta2HorizontalPodAutoscalerSpec() # noqa: E501 + if include_optional : + return V2beta2HorizontalPodAutoscalerSpec( + max_replicas = 56, + metrics = [ + kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( + external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( + name = '0', + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + type = '0', ) + ], + min_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ) + ) + else : + return V2beta2HorizontalPodAutoscalerSpec( + max_replicas = 56, + scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + ) + + def testV2beta2HorizontalPodAutoscalerSpec(self): + """Test V2beta2HorizontalPodAutoscalerSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py new file mode 100644 index 0000000000..dc8aea5d86 --- /dev/null +++ b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_status import V2beta2HorizontalPodAutoscalerStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2HorizontalPodAutoscalerStatus(unittest.TestCase): + """V2beta2HorizontalPodAutoscalerStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2HorizontalPodAutoscalerStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_status.V2beta2HorizontalPodAutoscalerStatus() # noqa: E501 + if include_optional : + return V2beta2HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_metrics = [ + kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( + external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), ), + object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), ), + pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', ), ), + resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + name = '0', ), + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + observed_generation = 56 + ) + else : + return V2beta2HorizontalPodAutoscalerStatus( + conditions = [ + kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( + last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), + message = '0', + reason = '0', + status = '0', + type = '0', ) + ], + current_replicas = 56, + desired_replicas = 56, + ) + + def testV2beta2HorizontalPodAutoscalerStatus(self): + """Test V2beta2HorizontalPodAutoscalerStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_identifier.py b/kubernetes/test/test_v2beta2_metric_identifier.py new file mode 100644 index 0000000000..c8ab70001a --- /dev/null +++ b/kubernetes/test/test_v2beta2_metric_identifier.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_metric_identifier import V2beta2MetricIdentifier # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2MetricIdentifier(unittest.TestCase): + """V2beta2MetricIdentifier unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2MetricIdentifier + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_metric_identifier.V2beta2MetricIdentifier() # noqa: E501 + if include_optional : + return V2beta2MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ) + ) + else : + return V2beta2MetricIdentifier( + name = '0', + ) + + def testV2beta2MetricIdentifier(self): + """Test V2beta2MetricIdentifier""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_spec.py b/kubernetes/test/test_v2beta2_metric_spec.py new file mode 100644 index 0000000000..2bd0fe244a --- /dev/null +++ b/kubernetes/test/test_v2beta2_metric_spec.py @@ -0,0 +1,124 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_metric_spec import V2beta2MetricSpec # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2MetricSpec(unittest.TestCase): + """V2beta2MetricSpec unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2MetricSpec + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_metric_spec.V2beta2MetricSpec() # noqa: E501 + if include_optional : + return V2beta2MetricSpec( + external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( + name = '0', + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), ), + type = '0' + ) + else : + return V2beta2MetricSpec( + type = '0', + ) + + def testV2beta2MetricSpec(self): + """Test V2beta2MetricSpec""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_status.py b/kubernetes/test/test_v2beta2_metric_status.py new file mode 100644 index 0000000000..b5d3850755 --- /dev/null +++ b/kubernetes/test/test_v2beta2_metric_status.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_metric_status import V2beta2MetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2MetricStatus(unittest.TestCase): + """V2beta2MetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2MetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_metric_status.V2beta2MetricStatus() # noqa: E501 + if include_optional : + return V2beta2MetricStatus( + external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), ), + object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), ), + pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), ), + resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + name = '0', ), + type = '0' + ) + else : + return V2beta2MetricStatus( + type = '0', + ) + + def testV2beta2MetricStatus(self): + """Test V2beta2MetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_target.py b/kubernetes/test/test_v2beta2_metric_target.py new file mode 100644 index 0000000000..e729186a58 --- /dev/null +++ b/kubernetes/test/test_v2beta2_metric_target.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_metric_target import V2beta2MetricTarget # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2MetricTarget(unittest.TestCase): + """V2beta2MetricTarget unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2MetricTarget + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_metric_target.V2beta2MetricTarget() # noqa: E501 + if include_optional : + return V2beta2MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0' + ) + else : + return V2beta2MetricTarget( + type = '0', + ) + + def testV2beta2MetricTarget(self): + """Test V2beta2MetricTarget""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_value_status.py b/kubernetes/test/test_v2beta2_metric_value_status.py new file mode 100644 index 0000000000..26886912c3 --- /dev/null +++ b/kubernetes/test/test_v2beta2_metric_value_status.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_metric_value_status import V2beta2MetricValueStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2MetricValueStatus(unittest.TestCase): + """V2beta2MetricValueStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2MetricValueStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_metric_value_status.V2beta2MetricValueStatus() # noqa: E501 + if include_optional : + return V2beta2MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0' + ) + else : + return V2beta2MetricValueStatus( + ) + + def testV2beta2MetricValueStatus(self): + """Test V2beta2MetricValueStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_object_metric_source.py b/kubernetes/test/test_v2beta2_object_metric_source.py new file mode 100644 index 0000000000..64c9116120 --- /dev/null +++ b/kubernetes/test/test_v2beta2_object_metric_source.py @@ -0,0 +1,97 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_object_metric_source import V2beta2ObjectMetricSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2ObjectMetricSource(unittest.TestCase): + """V2beta2ObjectMetricSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2ObjectMetricSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_object_metric_source.V2beta2ObjectMetricSource() # noqa: E501 + if include_optional : + return V2beta2ObjectMetricSource( + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ) + ) + else : + return V2beta2ObjectMetricSource( + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), + ) + + def testV2beta2ObjectMetricSource(self): + """Test V2beta2ObjectMetricSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_object_metric_status.py b/kubernetes/test/test_v2beta2_object_metric_status.py new file mode 100644 index 0000000000..5c1f54eace --- /dev/null +++ b/kubernetes/test/test_v2beta2_object_metric_status.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_object_metric_status import V2beta2ObjectMetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2ObjectMetricStatus(unittest.TestCase): + """V2beta2ObjectMetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2ObjectMetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_object_metric_status.V2beta2ObjectMetricStatus() # noqa: E501 + if include_optional : + return V2beta2ObjectMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ) + ) + else : + return V2beta2ObjectMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( + api_version = '0', + kind = '0', + name = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + ) + + def testV2beta2ObjectMetricStatus(self): + """Test V2beta2ObjectMetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_pods_metric_source.py b/kubernetes/test/test_v2beta2_pods_metric_source.py new file mode 100644 index 0000000000..6a7f95acee --- /dev/null +++ b/kubernetes/test/test_v2beta2_pods_metric_source.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_pods_metric_source import V2beta2PodsMetricSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2PodsMetricSource(unittest.TestCase): + """V2beta2PodsMetricSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2PodsMetricSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_pods_metric_source.V2beta2PodsMetricSource() # noqa: E501 + if include_optional : + return V2beta2PodsMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ) + ) + else : + return V2beta2PodsMetricSource( + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), + ) + + def testV2beta2PodsMetricSource(self): + """Test V2beta2PodsMetricSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_pods_metric_status.py b/kubernetes/test/test_v2beta2_pods_metric_status.py new file mode 100644 index 0000000000..ad24e2f3a6 --- /dev/null +++ b/kubernetes/test/test_v2beta2_pods_metric_status.py @@ -0,0 +1,87 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_pods_metric_status import V2beta2PodsMetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2PodsMetricStatus(unittest.TestCase): + """V2beta2PodsMetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2PodsMetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_pods_metric_status.V2beta2PodsMetricStatus() # noqa: E501 + if include_optional : + return V2beta2PodsMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ) + ) + else : + return V2beta2PodsMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( + name = '0', + selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( + match_expressions = [ + kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( + key = '0', + operator = '0', + values = [ + '0' + ], ) + ], + match_labels = { + 'key' : '0' + }, ), ), + ) + + def testV2beta2PodsMetricStatus(self): + """Test V2beta2PodsMetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_resource_metric_source.py b/kubernetes/test/test_v2beta2_resource_metric_source.py new file mode 100644 index 0000000000..d62aff7b58 --- /dev/null +++ b/kubernetes/test/test_v2beta2_resource_metric_source.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_resource_metric_source import V2beta2ResourceMetricSource # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2ResourceMetricSource(unittest.TestCase): + """V2beta2ResourceMetricSource unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2ResourceMetricSource + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_resource_metric_source.V2beta2ResourceMetricSource() # noqa: E501 + if include_optional : + return V2beta2ResourceMetricSource( + name = '0', + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ) + ) + else : + return V2beta2ResourceMetricSource( + name = '0', + target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( + average_utilization = 56, + average_value = '0', + type = '0', + value = '0', ), + ) + + def testV2beta2ResourceMetricSource(self): + """Test V2beta2ResourceMetricSource""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_v2beta2_resource_metric_status.py b/kubernetes/test/test_v2beta2_resource_metric_status.py new file mode 100644 index 0000000000..cf7326a8b2 --- /dev/null +++ b/kubernetes/test/test_v2beta2_resource_metric_status.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.v2beta2_resource_metric_status import V2beta2ResourceMetricStatus # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestV2beta2ResourceMetricStatus(unittest.TestCase): + """V2beta2ResourceMetricStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test V2beta2ResourceMetricStatus + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.v2beta2_resource_metric_status.V2beta2ResourceMetricStatus() # noqa: E501 + if include_optional : + return V2beta2ResourceMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + name = '0' + ) + else : + return V2beta2ResourceMetricStatus( + current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( + average_utilization = 56, + average_value = '0', + value = '0', ), + name = '0', + ) + + def testV2beta2ResourceMetricStatus(self): + """Test V2beta2ResourceMetricStatus""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_version_api.py b/kubernetes/test/test_version_api.py new file mode 100644 index 0000000000..7a1b9f5878 --- /dev/null +++ b/kubernetes/test/test_version_api.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest + +import kubernetes.client +from kubernetes.client.api.version_api import VersionApi # noqa: E501 +from kubernetes.client.rest import ApiException + + +class TestVersionApi(unittest.TestCase): + """VersionApi unit test stubs""" + + def setUp(self): + self.api = kubernetes.client.api.version_api.VersionApi() # noqa: E501 + + def tearDown(self): + pass + + def test_get_code(self): + """Test case for get_code + + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/kubernetes/test/test_version_info.py b/kubernetes/test/test_version_info.py new file mode 100644 index 0000000000..ac29691127 --- /dev/null +++ b/kubernetes/test/test_version_info.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + Kubernetes + + No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 + + The version of the OpenAPI document: release-1.17 + Generated by: https://openapi-generator.tech +""" + + +from __future__ import absolute_import + +import unittest +import datetime + +import kubernetes.client +from kubernetes.client.models.version_info import VersionInfo # noqa: E501 +from kubernetes.client.rest import ApiException + +class TestVersionInfo(unittest.TestCase): + """VersionInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional): + """Test VersionInfo + include_option is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # model = kubernetes.client.models.version_info.VersionInfo() # noqa: E501 + if include_optional : + return VersionInfo( + build_date = '0', + compiler = '0', + git_commit = '0', + git_tree_state = '0', + git_version = '0', + go_version = '0', + major = '0', + minor = '0', + platform = '0' + ) + else : + return VersionInfo( + build_date = '0', + compiler = '0', + git_commit = '0', + git_tree_state = '0', + git_version = '0', + go_version = '0', + major = '0', + minor = '0', + platform = '0', + ) + + def testVersionInfo(self): + """Test VersionInfo""" + inst_req_only = self.make_instance(include_optional=False) + inst_req_and_optional = self.make_instance(include_optional=True) + + +if __name__ == '__main__': + unittest.main() diff --git a/scripts/swagger.json b/scripts/swagger.json index 6259ee428f..90c96f5835 100644 --- a/scripts/swagger.json +++ b/scripts/swagger.json @@ -354,6 +354,21 @@ ], "type": "object" }, + "v1alpha1.LimitedPriorityLevelConfiguration": { + "description": "LimitedPriorityLevelConfiguration specifies how to handle requests that are subject to limits. It addresses two issues:\n * How are requests for this priority level limited?\n * What should be done with requests that exceed the limit?", + "properties": { + "assuredConcurrencyShares": { + "description": "`assuredConcurrencyShares` (ACS) configures the execution limit, which is a limit on the number of requests of this priority level that may be exeucting at a given time. ACS must be a positive number. The server's concurrency limit (SCL) is divided among the concurrency-controlled priority levels in proportion to their assured concurrency shares. This produces the assured concurrency value (ACV) --- the number of requests that may be executing at a time --- for each such priority level:\n\n ACV(l) = ceil( SCL * ACS(l) / ( sum[priority levels k] ACS(k) ) )\n\nbigger numbers of ACS mean more reserved concurrent requests (at the expense of every other PL). This field has a default value of 30.", + "format": "int32", + "type": "integer" + }, + "limitResponse": { + "$ref": "#/definitions/v1alpha1.LimitResponse", + "description": "`limitResponse` indicates what to do with requests that can not be executed right now" + } + }, + "type": "object" + }, "v1beta1.PodDisruptionBudget": { "description": "PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods", "properties": { @@ -386,6 +401,29 @@ } ] }, + "v1beta1.EndpointPort": { + "description": "EndpointPort represents a Port used by an EndpointSlice", + "properties": { + "appProtocol": { + "description": "The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names. Default is empty string.", + "type": "string" + }, + "name": { + "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass DNS_LABEL validation: * must be no more than 63 characters long. * must consist of lower case alphanumeric characters or '-'. * must start and end with an alphanumeric character. Default is empty string.", + "type": "string" + }, + "port": { + "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", + "format": "int32", + "type": "integer" + }, + "protocol": { + "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", + "type": "string" + } + }, + "type": "object" + }, "v2beta2.ObjectMetricStatus": { "description": "ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).", "properties": { @@ -547,6 +585,42 @@ } ] }, + "v1alpha1.PriorityLevelConfigurationList": { + "description": "PriorityLevelConfigurationList is a list of PriorityLevelConfiguration objects.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "`items` is a list of request-priorities.", + "items": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + }, + "type": "array", + "x-kubernetes-list-type": "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfigurationList", + "version": "v1alpha1" + } + ] + }, "v1beta1.SubjectAccessReviewSpec": { "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", "properties": { @@ -586,40 +660,43 @@ }, "type": "object" }, - "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.", + "v1.CustomResourceDefinitionNames": { + "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", "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. \"*\" means all.", + "categories": { + "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", "items": { "type": "string" }, "type": "array" }, - "resourceNames": { - "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.", - "items": { - "type": "string" - }, - "type": "array" + "kind": { + "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", + "type": "string" }, - "resources": { - "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.", - "items": { - "type": "string" - }, - "type": "array" + "listKind": { + "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", + "type": "string" }, - "verbs": { - "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "plural": { + "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", + "type": "string" + }, + "shortNames": { + "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", "items": { "type": "string" }, "type": "array" + }, + "singular": { + "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", + "type": "string" } }, "required": [ - "verbs" + "plural", + "kind" ], "type": "object" }, @@ -634,50 +711,32 @@ }, "type": "object" }, - "v1alpha1.PriorityClass": { - "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", + "v1beta2.ReplicaSetSpec": { + "description": "ReplicaSetSpec is the specification of a ReplicaSet.", "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "preemptionPolicy": { - "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", - "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)", + "format": "int32", + "type": "integer" }, - "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.", + "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", "format": "int32", "type": "integer" + }, + "selector": { + "$ref": "#/definitions/v1.LabelSelector", + "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" + }, + "template": { + "$ref": "#/definitions/v1.PodTemplateSpec", + "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" } }, "required": [ - "value" + "selector" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "scheduling.k8s.io", - "kind": "PriorityClass", - "version": "v1alpha1" - } - ] + "type": "object" }, "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.", @@ -897,6 +956,23 @@ ], "type": "object" }, + "v1alpha1.PriorityLevelConfigurationStatus": { + "description": "PriorityLevelConfigurationStatus represents the current state of a \"request-priority\".", + "properties": { + "conditions": { + "description": "`conditions` is the current state of \"request-priority\".", + "items": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationCondition" + }, + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" + } + }, + "type": "object" + }, "v1.DeploymentCondition": { "description": "DeploymentCondition describes the state of a deployment at a certain point.", "properties": { @@ -1212,7 +1288,7 @@ "type": "object" }, "v1beta1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -1441,7 +1517,7 @@ "type": "boolean" }, "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`.", "type": "string" }, "versions": { @@ -1461,7 +1537,7 @@ "type": "object" }, "v1beta1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/definitions/v1beta1.AggregationRule", @@ -1538,7 +1614,7 @@ "type": "array" }, "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.", + "description": "SideEffects states whether this webhook 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" }, "timeoutSeconds": { @@ -1554,7 +1630,7 @@ "type": "object" }, "v1beta1.RoleList": { - "description": "RoleList is a collection of Roles", + "description": "RoleList is a collection of Roles Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -1940,6 +2016,35 @@ }, "type": "object" }, + "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).", + "properties": { + "external": { + "$ref": "#/definitions/v2beta2.ExternalMetricSource", + "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)." + }, + "object": { + "$ref": "#/definitions/v2beta2.ObjectMetricSource", + "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." + }, + "pods": { + "$ref": "#/definitions/v2beta2.PodsMetricSource", + "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." + }, + "resource": { + "$ref": "#/definitions/v2beta2.ResourceMetricSource", + "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." + }, + "type": { + "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" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "v2beta2.MetricStatus": { "description": "MetricStatus describes the last-read state of a single metric.", "properties": { @@ -2168,6 +2273,72 @@ } ] }, + "v1alpha1.PodPresetSpec": { + "description": "PodPresetSpec is a description of a pod preset.", + "properties": { + "env": { + "description": "Env defines the collection of EnvVar to inject into containers.", + "items": { + "$ref": "#/definitions/v1.EnvVar" + }, + "type": "array" + }, + "envFrom": { + "description": "EnvFrom defines the collection of EnvFromSource to inject into containers.", + "items": { + "$ref": "#/definitions/v1.EnvFromSource" + }, + "type": "array" + }, + "selector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "Selector is a label query over a set of resources, in this case pods. Required." + }, + "volumeMounts": { + "description": "VolumeMounts defines the collection of VolumeMount to inject into containers.", + "items": { + "$ref": "#/definitions/v1.VolumeMount" + }, + "type": "array" + }, + "volumes": { + "description": "Volumes defines the collection of Volume to inject into the pod.", + "items": { + "$ref": "#/definitions/v1.Volume" + }, + "type": "array" + } + }, + "type": "object" + }, + "v1.TopologySpreadConstraint": { + "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "properties": { + "labelSelector": { + "$ref": "#/definitions/v1.LabelSelector", + "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." + }, + "maxSkew": { + "description": "MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.", + "format": "int32", + "type": "integer" + }, + "topologyKey": { + "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", + "type": "string" + }, + "whenUnsatisfiable": { + "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", + "type": "string" + } + }, + "required": [ + "maxSkew", + "topologyKey", + "whenUnsatisfiable" + ], + "type": "object" + }, "v1beta2.ScaleSpec": { "description": "ScaleSpec describes the attributes of a scale subresource", "properties": { @@ -2520,63 +2691,6 @@ ], "type": "object" }, - "v1beta1.CustomResourceDefinitionSpec": { - "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", - "properties": { - "additionalPrinterColumns": { - "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", - "items": { - "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" - }, - "type": "array" - }, - "conversion": { - "$ref": "#/definitions/v1beta1.CustomResourceConversion", - "description": "conversion defines conversion settings for the CRD." - }, - "group": { - "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", - "type": "string" - }, - "names": { - "$ref": "#/definitions/v1beta1.CustomResourceDefinitionNames", - "description": "names specify the resource and kind names for the custom resource." - }, - "preserveUnknownFields": { - "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", - "type": "boolean" - }, - "scope": { - "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", - "type": "string" - }, - "subresources": { - "$ref": "#/definitions/v1beta1.CustomResourceSubresources", - "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." - }, - "validation": { - "$ref": "#/definitions/v1beta1.CustomResourceValidation", - "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." - }, - "version": { - "description": "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.", - "type": "string" - }, - "versions": { - "description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. 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.", - "items": { - "$ref": "#/definitions/v1beta1.CustomResourceDefinitionVersion" - }, - "type": "array" - } - }, - "required": [ - "group", - "names", - "scope" - ], - "type": "object" - }, "apps.v1beta1.DeploymentList": { "description": "DeploymentList is a list of Deployments.", "properties": { @@ -2612,32 +2726,6 @@ } ] }, - "v1alpha1.Subject": { - "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", - "properties": { - "apiVersion": { - "description": "APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects.", - "type": "string" - }, - "kind": { - "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", - "type": "string" - }, - "name": { - "description": "Name of the object being referenced.", - "type": "string" - }, - "namespace": { - "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", - "type": "string" - } - }, - "required": [ - "kind", - "name" - ], - "type": "object" - }, "v2alpha1.JobTemplateSpec": { "description": "JobTemplateSpec describes the data a Job should have when created from a template", "properties": { @@ -2751,6 +2839,47 @@ } ] }, + "v1.NodeSpec": { + "description": "NodeSpec describes the attributes that a node is created with.", + "properties": { + "configSource": { + "$ref": "#/definitions/v1.NodeConfigSource", + "description": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field" + }, + "externalID": { + "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", + "type": "string" + }, + "podCIDR": { + "description": "PodCIDR represents the pod IP range assigned to the node.", + "type": "string" + }, + "podCIDRs": { + "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-patch-strategy": "merge" + }, + "providerID": { + "description": "ID of the node assigned by the cloud provider in the format: ://", + "type": "string" + }, + "taints": { + "description": "If specified, the node's taints.", + "items": { + "$ref": "#/definitions/v1.Taint" + }, + "type": "array" + }, + "unschedulable": { + "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", + "type": "boolean" + } + }, + "type": "object" + }, "v1.SessionAffinityConfig": { "description": "SessionAffinityConfig represents the configurations of session affinity.", "properties": { @@ -2796,6 +2925,39 @@ } ] }, + "v1.APIServiceList": { + "description": "APIServiceList is a list of APIService objects.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "items": { + "$ref": "#/definitions/v1.APIService" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "apiregistration.k8s.io", + "kind": "APIServiceList", + "version": "v1" + } + ] + }, "v1beta1.APIService": { "description": "APIService represents a server for a particular GroupVersion. Name must be \"version.group\".", "properties": { @@ -2902,6 +3064,18 @@ ], "type": "object" }, + "v1.ExternalDocumentation": { + "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", + "properties": { + "description": { + "type": "string" + }, + "url": { + "type": "string" + } + }, + "type": "object" + }, "v1.ContainerStatus": { "description": "ContainerStatus contains details for the current status of this container.", "properties": { @@ -2985,7 +3159,7 @@ "type": "integer" }, "observedGeneration": { - "description": "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.", + "description": "Most recent generation observed when updating this PDB status. PodDisruptionsAllowed and other status information is valid only if observedGeneration equals to PDB's object generation.", "format": "int64", "type": "integer" } @@ -3033,38 +3207,23 @@ } ] }, - "v1.APIServiceList": { - "description": "APIServiceList is a list of APIService objects.", + "v1.CSINodeSpec": { + "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { + "drivers": { + "description": "drivers is a list of information of all CSI Drivers existing on a node. If all drivers in the list are uninstalled, this can become empty.", "items": { - "$ref": "#/definitions/v1.APIService" + "$ref": "#/definitions/v1.CSINodeDriver" }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta" + "type": "array", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" } }, "required": [ - "items" + "drivers" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiregistration.k8s.io", - "kind": "APIServiceList", - "version": "v1" - } - ] + "type": "object" }, "v1beta1.RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", @@ -3399,7 +3558,7 @@ }, "fieldRef": { "$ref": "#/definitions/v1.ObjectFieldSelector", - "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP." + "description": "Selects a field of the pod: supports metadata.name, metadata.namespace, metadata.labels, metadata.annotations, spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs." }, "resourceFieldRef": { "$ref": "#/definitions/v1.ResourceFieldSelector", @@ -3447,65 +3606,6 @@ } ] }, - "v1.JobStatus": { - "description": "JobStatus represents the current state of a Job.", - "properties": { - "active": { - "description": "The number of actively running pods.", - "format": "int32", - "type": "integer" - }, - "completionTime": { - "description": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "format": "date-time", - "type": "string" - }, - "conditions": { - "description": "The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", - "items": { - "$ref": "#/definitions/v1.JobCondition" - }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" - }, - "failed": { - "description": "The number of pods which reached phase Failed.", - "format": "int32", - "type": "integer" - }, - "startTime": { - "description": "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", - "format": "date-time", - "type": "string" - }, - "succeeded": { - "description": "The number of pods which reached phase Succeeded.", - "format": "int32", - "type": "integer" - } - }, - "type": "object" - }, - "v1alpha1.EndpointPort": { - "description": "EndpointPort represents a Port used by an EndpointSlice", - "properties": { - "name": { - "description": "The name of this port. All ports in an EndpointSlice must have a unique name. If the EndpointSlice is dervied from a Kubernetes service, this corresponds to the Service.ports[].name. Name must either be an empty string or pass IANA_SVC_NAME validation: * must be no more than 15 characters long * may contain only [-a-z0-9] * must contain at least one letter [a-z] * it must not start or end with a hyphen, nor contain adjacent hyphens Default is empty string.", - "type": "string" - }, - "port": { - "description": "The port number of the endpoint. If this is not specified, ports are not restricted and must be interpreted in the context of the specific consumer.", - "format": "int32", - "type": "integer" - }, - "protocol": { - "description": "The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.", - "type": "string" - } - }, - "type": "object" - }, "v1.PersistentVolumeSpec": { "description": "PersistentVolumeSpec is the specification of a persistent volume.", "properties": { @@ -4153,6 +4253,19 @@ ], "type": "object" }, + "v1.NamespaceSpec": { + "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://kubernetes.io/docs/tasks/administer-cluster/namespaces/", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, "v1.LeaseList": { "description": "LeaseList is a list of Lease objects.", "properties": { @@ -4236,32 +4349,50 @@ }, "type": "object" }, - "v1beta2.ReplicaSetSpec": { - "description": "ReplicaSetSpec is the specification of a ReplicaSet.", + "v1alpha1.PriorityClass": { + "description": "DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.", "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)", - "format": "int32", - "type": "integer" + "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/sig-architecture/api-conventions.md#resources", + "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", - "format": "int32", - "type": "integer" + "description": { + "description": "description is an arbitrary string that usually provides guidelines on when this priority class should be used.", + "type": "string" }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "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" + "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" }, - "template": { - "$ref": "#/definitions/v1.PodTemplateSpec", - "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" + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "preemptionPolicy": { + "description": "PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset. This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature.", + "type": "string" + }, + "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.", + "format": "int32", + "type": "integer" } }, "required": [ - "selector" + "value" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "scheduling.k8s.io", + "kind": "PriorityClass", + "version": "v1alpha1" + } + ] }, "v1.ConfigMapKeySelector": { "description": "Selects a key from a ConfigMap.", @@ -4565,7 +4696,7 @@ "type": "object" }, "v1alpha1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -4596,6 +4727,21 @@ } ] }, + "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 may be logged, so it should not contain sensitive information.", + "type": "string" + }, + "time": { + "description": "Time the error was encountered.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" + }, "v1.Sysctl": { "description": "Sysctl defines a kernel parameter to be set", "properties": { @@ -4640,31 +4786,16 @@ ], "type": "object" }, - "v1.TopologySpreadConstraint": { - "description": "TopologySpreadConstraint specifies how to spread matching pods among the given topology.", + "v1alpha1.PriorityLevelConfigurationReference": { + "description": "PriorityLevelConfigurationReference contains information that points to the \"request-priority\" being used.", "properties": { - "labelSelector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "LabelSelector is used to find matching pods. Pods that match this label selector are counted to determine the number of pods in their corresponding topology domain." - }, - "maxSkew": { - "description": "MaxSkew describes the degree to which pods may be unevenly distributed. It's the maximum permitted difference between the number of matching pods in any two topology domains of a given topology type. For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 1/1/0: | zone1 | zone2 | zone3 | | P | P | | - if MaxSkew is 1, incoming pod can only be scheduled to zone3 to become 1/1/1; scheduling it onto zone1(zone2) would make the ActualSkew(2-0) on zone1(zone2) violate MaxSkew(1). - if MaxSkew is 2, incoming pod can be scheduled onto any zone. It's a required field. Default value is 1 and 0 is not allowed.", - "format": "int32", - "type": "integer" - }, - "topologyKey": { - "description": "TopologyKey is the key of node labels. Nodes that have a label with this key and identical values are considered to be in the same topology. We consider each as a \"bucket\", and try to put balanced number of pods into each bucket. It's a required field.", - "type": "string" - }, - "whenUnsatisfiable": { - "description": "WhenUnsatisfiable indicates how to deal with a pod if it doesn't satisfy the spread constraint. - DoNotSchedule (default) tells the scheduler not to schedule it - ScheduleAnyway tells the scheduler to still schedule it It's considered as \"Unsatisfiable\" if and only if placing incoming pod on any topology violates \"MaxSkew\". For example, in a 3-zone cluster, MaxSkew is set to 1, and pods with the same labelSelector spread as 3/1/1: | zone1 | zone2 | zone3 | | P P P | P | P | If WhenUnsatisfiable is set to DoNotSchedule, incoming pod can only be scheduled to zone2(zone3) to become 3/2/1(3/1/2) as ActualSkew(2-1) on zone2(zone3) satisfies MaxSkew(1). In other words, the cluster can still be imbalanced, but scheduler won't make it *more* imbalanced. It's a required field.", + "name": { + "description": "`name` is the name of the priority level configuration being referenced Required.", "type": "string" } }, "required": [ - "maxSkew", - "topologyKey", - "whenUnsatisfiable" + "name" ], "type": "object" }, @@ -4973,38 +5104,41 @@ ], "type": "object" }, - "v1beta1.DaemonSet": { - "description": "DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/DaemonSet. See the release notes for more information. DaemonSet represents the configuration of a daemon set.", + "v1.OwnerReference": { + "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.", "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/sig-architecture/api-conventions.md#resources", + "description": "API version of the referent.", "type": "string" }, + "blockOwnerDeletion": { + "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", + "type": "boolean" + }, + "controller": { + "description": "If true, this reference points to the managing controller.", + "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/sig-architecture/api-conventions.md#types-kinds", + "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "spec": { - "$ref": "#/definitions/v1beta1.DaemonSetSpec", - "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + "name": { + "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" }, - "status": { - "$ref": "#/definitions/v1beta1.DaemonSetStatus", - "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/sig-architecture/api-conventions.md#spec-and-status" + "uid": { + "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", + "type": "string" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "DaemonSet", - "version": "v1beta1" - } - ] + "required": [ + "apiVersion", + "kind", + "name", + "uid" + ], + "type": "object" }, "v2alpha1.CronJobStatus": { "description": "CronJobStatus represents the current state of a cron job.", @@ -5078,40 +5212,26 @@ }, "type": "object" }, - "v1beta1.StorageClassList": { - "description": "StorageClassList is a collection of storage classes.", + "v1alpha1.QueuingConfiguration": { + "description": "QueuingConfiguration holds the configuration parameters for queuing", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of StorageClasses", - "items": { - "$ref": "#/definitions/v1beta1.StorageClass" - }, - "type": "array" + "handSize": { + "description": "`handSize` is a small positive number that configures the shuffle sharding of requests into queues. When enqueuing a request at this priority level the request's flow identifier (a string pair) is hashed and the hash value is used to shuffle the list of queues and deal a hand of the size specified here. The request is put into one of the shortest queues in that hand. `handSize` must be no larger than `queues`, and should be significantly smaller (so that a few heavy flows do not saturate most of the queues). See the user-facing documentation for more extensive guidance on setting this field. This field has a default value of 8.", + "format": "int32", + "type": "integer" }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" + "queueLengthLimit": { + "description": "`queueLengthLimit` is the maximum number of requests allowed to be waiting in a given queue of this priority level at a time; excess requests are rejected. This value must be positive. If not specified, it will be defaulted to 50.", + "format": "int32", + "type": "integer" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "queues": { + "description": "`queues` is the number of queues for this priority level. The queues exist independently at each apiserver. The value must be positive. Setting it to 1 effectively precludes shufflesharding and thus makes the distinguisher method of associated flow schemas irrelevant. This field has a default value of 64.", + "format": "int32", + "type": "integer" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "StorageClassList", - "version": "v1beta1" - } - ] + "type": "object" }, "v1beta1.CSINodeSpec": { "description": "CSINodeSpec holds information about the specification of all CSI drivers installed on a node", @@ -5398,7 +5518,7 @@ "type": "string" }, "subPathExpr": { - "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive. This field is beta in 1.15.", + "description": "Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. Defaults to \"\" (volume's root). SubPathExpr and SubPath are mutually exclusive.", "type": "string" } }, @@ -6046,33 +6166,6 @@ ], "type": "object" }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - }, - "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.", - "items": { - "$ref": "#/definitions/v1.PodDNSConfigOption" - }, - "type": "array" - }, - "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.", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, "v2beta1.HorizontalPodAutoscalerStatus": { "description": "HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.", "properties": { @@ -6155,7 +6248,7 @@ ] }, "v1beta1.CSINode": { - "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.", + "description": "DEPRECATED - This group version of CSINode is deprecated by storage/v1/CSINode. See the release notes for more information. CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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/sig-architecture/api-conventions.md#resources", @@ -6356,6 +6449,19 @@ }, "type": "object" }, + "v1alpha1.UserSubject": { + "description": "UserSubject holds detailed information for user-kind subject.", + "properties": { + "name": { + "description": "`name` is the username that matches, or \"*\" to match all usernames. Required.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, "v1.NetworkPolicySpec": { "description": "NetworkPolicySpec provides the specification of a NetworkPolicy", "properties": { @@ -6619,36 +6725,48 @@ }, "type": "object" }, - "v1.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.", + "v1.RBDPersistentVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "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.", + "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" }, - "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" + "image": { + "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" }, - "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.", - "items": { - "$ref": "#/definitions/v1.NonResourceRule" - }, - "type": "array" + "keyring": { + "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" }, - "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.", + "monitors": { + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "items": { - "$ref": "#/definitions/v1.ResourceRule" + "type": "string" }, "type": "array" + }, + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/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://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/v1.SecretReference", + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + }, + "user": { + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" } }, "required": [ - "resourceRules", - "nonResourceRules", - "incomplete" + "monitors", + "image" ], "type": "object" }, @@ -6722,6 +6840,7 @@ "$ref": "#/definitions/v1.ExternalDocumentation" }, "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -6828,6 +6947,10 @@ "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", "type": "string" }, + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", + "type": "string" + }, "x-kubernetes-preserve-unknown-fields": { "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", "type": "boolean" @@ -6925,42 +7048,6 @@ }, "type": "object" }, - "v1alpha1.Endpoint": { - "description": "Endpoint represents a single logical \"backend\" implementing a service.", - "properties": { - "addresses": { - "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. This allows for cases like dual-stack (IPv4 and IPv6) networking. Consumers (e.g. kube-proxy) must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-list-type": "set" - }, - "conditions": { - "$ref": "#/definitions/v1alpha1.EndpointConditions", - "description": "conditions contains information about the current status of the endpoint." - }, - "hostname": { - "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.", - "type": "string" - }, - "targetRef": { - "$ref": "#/definitions/v1.ObjectReference", - "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." - }, - "topology": { - "additionalProperties": { - "type": "string" - }, - "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.", - "type": "object" - } - }, - "required": [ - "addresses" - ], - "type": "object" - }, "v1.ReplicationControllerCondition": { "description": "ReplicationControllerCondition describes the state of a replication controller at a certain point.", "properties": { @@ -7539,7 +7626,7 @@ "type": "object" }, "v1alpha1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindings, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -7598,6 +7685,16 @@ ], "type": "object" }, + "v1beta1.EndpointConditions": { + "description": "EndpointConditions represents the current condition of an endpoint.", + "properties": { + "ready": { + "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.", + "type": "boolean" + } + }, + "type": "object" + }, "v1beta1.VolumeNodeResources": { "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", "properties": { @@ -7688,40 +7785,62 @@ } ] }, - "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", + "v1beta1.CustomResourceDefinitionSpec": { + "description": "CustomResourceDefinitionSpec describes how a user wants their resource to appear", "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/sig-architecture/api-conventions.md#resources", + "additionalPrinterColumns": { + "description": "additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If present, this field configures columns for all versions. Top-level and per-version columns are mutually exclusive. If no top-level or per-version columns are specified, a single column displaying the age of the custom resource is used.", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceColumnDefinition" + }, + "type": "array" + }, + "conversion": { + "$ref": "#/definitions/v1beta1.CustomResourceConversion", + "description": "conversion defines conversion settings for the CRD." + }, + "group": { + "description": "group is the API group of the defined custom resource. The custom resources are served under `/apis//...`. Must match the name of the CustomResourceDefinition (in the form `.`).", "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/sig-architecture/api-conventions.md#types-kinds", + "names": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionNames", + "description": "names specify the resource and kind names for the custom resource." + }, + "preserveUnknownFields": { + "description": "preserveUnknownFields indicates that object fields which are not specified in the OpenAPI schema should be preserved when persisting to storage. apiVersion, kind, metadata and known fields inside metadata are always preserved. If false, schemas must be defined for all versions. Defaults to true in v1beta for backwards compatibility. Deprecated: will be required to be false in v1. Preservation of unknown fields can be specified in the validation schema using the `x-kubernetes-preserve-unknown-fields: true` extension. See https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#pruning-versus-preserving-unknown-fields for details.", + "type": "boolean" + }, + "scope": { + "description": "scope indicates whether the defined custom resource is cluster- or namespace-scoped. Allowed values are `Cluster` and `Namespaced`. Default is `Namespaced`.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta" + "subresources": { + "$ref": "#/definitions/v1beta1.CustomResourceSubresources", + "description": "subresources specify what subresources the defined custom resource has. If present, this field configures subresources for all versions. Top-level and per-version subresources are mutually exclusive." }, - "spec": { - "$ref": "#/definitions/v1beta1.SelfSubjectAccessReviewSpec", - "description": "Spec holds information about the request being evaluated. user and groups must be empty" + "validation": { + "$ref": "#/definitions/v1beta1.CustomResourceValidation", + "description": "validation describes the schema used for validation and pruning of the custom resource. If present, this validation schema is used to validate all versions. Top-level and per-version schemas are mutually exclusive." }, - "status": { - "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus", - "description": "Status is filled in by the server and indicates whether the request is allowed or not" + "version": { + "description": "version is the API version of the defined custom resource. The custom resources are served under `/apis///...`. Must match the name of the first item in the `versions` list if `version` and `versions` are both specified. Optional if `versions` is specified. Deprecated: use `versions` instead.", + "type": "string" + }, + "versions": { + "description": "versions is the list of all API versions of the defined custom resource. Optional if `version` is specified. The name of the first item in the `versions` list must match the `version` field if `version` and `versions` are both specified. Version names are used to compute the order in which served versions are listed in API discovery. 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.", + "items": { + "$ref": "#/definitions/v1beta1.CustomResourceDefinitionVersion" + }, + "type": "array" } }, "required": [ - "spec" + "group", + "names", + "scope" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "authorization.k8s.io", - "kind": "SelfSubjectAccessReview", - "version": "v1beta1" - } - ] + "type": "object" }, "v1beta2.DeploymentStrategy": { "description": "DeploymentStrategy describes how to replace existing pods with new ones.", @@ -7737,6 +7856,39 @@ }, "type": "object" }, + "v1beta1.DaemonSet": { + "description": "DEPRECATED - This group version of DaemonSet is deprecated by apps/v1beta2/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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1beta1.DaemonSetSpec", + "description": "The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/v1beta1.DaemonSetStatus", + "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/sig-architecture/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "DaemonSet", + "version": "v1beta1" + } + ] + }, "v1.APIServiceCondition": { "description": "APIServiceCondition describes the state of an APIService at a particular point", "properties": { @@ -7875,45 +8027,22 @@ } ] }, - "v1.NodeSpec": { - "description": "NodeSpec describes the attributes that a node is created with.", + "v1alpha1.ServiceAccountSubject": { + "description": "ServiceAccountSubject holds detailed information for service-account-kind subject.", "properties": { - "configSource": { - "$ref": "#/definitions/v1.NodeConfigSource", - "description": "If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field" - }, - "externalID": { - "description": "Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966", - "type": "string" - }, - "podCIDR": { - "description": "PodCIDR represents the pod IP range assigned to the node.", + "name": { + "description": "`name` is the name of matching ServiceAccount objects, or \"*\" to match regardless of name. Required.", "type": "string" }, - "podCIDRs": { - "description": "podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6.", - "items": { - "type": "string" - }, - "type": "array", - "x-kubernetes-patch-strategy": "merge" - }, - "providerID": { - "description": "ID of the node assigned by the cloud provider in the format: ://", + "namespace": { + "description": "`namespace` is the namespace of matching ServiceAccount objects. Required.", "type": "string" - }, - "taints": { - "description": "If specified, the node's taints.", - "items": { - "$ref": "#/definitions/v1.Taint" - }, - "type": "array" - }, - "unschedulable": { - "description": "Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration", - "type": "boolean" } }, + "required": [ + "namespace", + "name" + ], "type": "object" }, "v1.VolumeProjection": { @@ -8105,85 +8234,111 @@ ], "type": "object" }, - "v1alpha1.RoleList": { - "description": "RoleList is a collection of Roles", + "v1beta1.CustomResourceDefinitionCondition": { + "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", "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/sig-architecture/api-conventions.md#resources", + "lastTransitionTime": { + "description": "lastTransitionTime last time the condition transitioned from one status to another.", + "format": "date-time", "type": "string" }, - "items": { - "description": "Items is a list of Roles", - "items": { - "$ref": "#/definitions/v1alpha1.Role" - }, - "type": "array" + "message": { + "description": "message is a human-readable message indicating details about last transition.", + "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/sig-architecture/api-conventions.md#types-kinds", + "reason": { + "description": "reason is a unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard object's metadata." + "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. Types include Established, NamesAccepted and Terminating.", + "type": "string" } }, "required": [ - "items" + "type", + "status" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "rbac.authorization.k8s.io", - "kind": "RoleList", - "version": "v1alpha1" - } - ] + "type": "object" }, - "v1.RBDVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "rbac.v1alpha1.Subject": { + "description": "Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.", "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", + "apiVersion": { + "description": "APIVersion holds the API group and version of the referenced subject. Defaults to \"v1\" for ServiceAccount subjects. Defaults to \"rbac.authorization.k8s.io/v1alpha1\" for User and Group subjects.", "type": "string" }, - "image": { - "description": "The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "kind": { + "description": "Kind of object being referenced. Values defined by this API group are \"User\", \"Group\", and \"ServiceAccount\". If the Authorizer does not recognized the kind value, the Authorizer should report an error.", "type": "string" }, - "keyring": { - "description": "Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "name": { + "description": "Name of the object being referenced.", "type": "string" }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "namespace": { + "description": "Namespace of the referenced object. If the object kind is non-namespace, such as \"User\" or \"Group\", and this value is not empty the Authorizer should report an error.", + "type": "string" + } + }, + "required": [ + "kind", + "name" + ], + "type": "object" + }, + "v1beta1.EndpointSlice": { + "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", + "properties": { + "addressType": { + "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. This field is immutable after creation. The following address types are currently supported: * IPv4: Represents an IPv4 Address. * IPv6: Represents an IPv6 Address. * FQDN: Represents a Fully Qualified Domain Name.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "endpoints": { + "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", "items": { - "type": "string" + "$ref": "#/definitions/v1beta1.Endpoint" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "atomic" }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/v1.LocalObjectReference", - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata." }, - "user": { - "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" + "ports": { + "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", + "items": { + "$ref": "#/definitions/v1beta1.EndpointPort" + }, + "type": "array", + "x-kubernetes-list-type": "atomic" } }, "required": [ - "monitors", - "image" + "addressType", + "endpoints" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "discovery.k8s.io", + "kind": "EndpointSlice", + "version": "v1beta1" + } + ] }, "v1.KeyToPath": { "description": "Maps a string key to a path within a volume.", @@ -8208,46 +8363,6 @@ ], "type": "object" }, - "v1.CustomResourceDefinitionNames": { - "description": "CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition", - "properties": { - "categories": { - "description": "categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like `kubectl get all`.", - "items": { - "type": "string" - }, - "type": "array" - }, - "kind": { - "description": "kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the `kind` attribute in API calls.", - "type": "string" - }, - "listKind": { - "description": "listKind is the serialized kind of the list for this resource. Defaults to \"`kind`List\".", - "type": "string" - }, - "plural": { - "description": "plural is the plural name of the resource to serve. The custom resources are served under `/apis///.../`. Must match the name of the CustomResourceDefinition (in the form `.`). Must be all lowercase.", - "type": "string" - }, - "shortNames": { - "description": "shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like `kubectl get `. It must be all lowercase.", - "items": { - "type": "string" - }, - "type": "array" - }, - "singular": { - "description": "singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased `kind`.", - "type": "string" - } - }, - "required": [ - "plural", - "kind" - ], - "type": "object" - }, "policy.v1beta1.FSGroupStrategyOptions": { "description": "FSGroupStrategyOptions defines the strategy type and options used to create the strategy.", "properties": { @@ -8385,39 +8500,22 @@ } ] }, - "v1.CustomResourceDefinitionList": { - "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", + "v1alpha1.FlowSchemaStatus": { + "description": "FlowSchemaStatus represents the current state of a FlowSchema.", "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "items list individual CustomResourceDefinition objects", + "conditions": { + "description": "`conditions` is a list of the current states of FlowSchema.", "items": { - "$ref": "#/definitions/v1.CustomResourceDefinition" + "$ref": "#/definitions/v1alpha1.FlowSchemaCondition" }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta" + "type": "array", + "x-kubernetes-list-map-keys": [ + "type" + ], + "x-kubernetes-list-type": "map" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apiextensions.k8s.io", - "kind": "CustomResourceDefinitionList", - "version": "v1" - } - ] + "type": "object" }, "v1.PersistentVolumeStatus": { "description": "PersistentVolumeStatus is the current status of a persistent volume.", @@ -8579,6 +8677,49 @@ }, "type": "object" }, + "apps.v1beta1.ScaleSpec": { + "description": "ScaleSpec describes the attributes of a scale subresource", + "properties": { + "replicas": { + "description": "desired number of instances for the scaled object.", + "format": "int32", + "type": "integer" + } + }, + "type": "object" + }, + "flowcontrol.v1alpha1.Subject": { + "description": "Subject matches the originator of a request, as identified by the request authentication system. There are three ways of matching an originator; by user, group, or service account.", + "properties": { + "group": { + "$ref": "#/definitions/v1alpha1.GroupSubject" + }, + "kind": { + "description": "Required", + "type": "string" + }, + "serviceAccount": { + "$ref": "#/definitions/v1alpha1.ServiceAccountSubject" + }, + "user": { + "$ref": "#/definitions/v1alpha1.UserSubject" + } + }, + "required": [ + "kind" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "kind", + "fields-to-discriminateBy": { + "group": "Group", + "serviceAccount": "ServiceAccount", + "user": "User" + } + } + ] + }, "v1.UserInfo": { "description": "UserInfo holds the information about the user needed to implement the user.Info interface.", "properties": { @@ -8634,6 +8775,41 @@ ], "type": "object" }, + "v1beta1.StorageClassList": { + "description": "StorageClassList is a collection of storage classes.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of StorageClasses", + "items": { + "$ref": "#/definitions/v1beta1.StorageClass" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "StorageClassList", + "version": "v1beta1" + } + ] + }, "v2beta2.ExternalMetricStatus": { "description": "ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.", "properties": { @@ -9173,6 +9349,42 @@ ], "type": "object" }, + "v1beta1.EndpointSliceList": { + "description": "EndpointSliceList represents a list of endpoint slices", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "List of endpoint slices", + "items": { + "$ref": "#/definitions/v1beta1.EndpointSlice" + }, + "type": "array", + "x-kubernetes-list-type": "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata." + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "discovery.k8s.io", + "kind": "EndpointSliceList", + "version": "v1beta1" + } + ] + }, "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.", "properties": { @@ -9545,6 +9757,46 @@ }, "type": "object" }, + "extensions.v1beta1.DeploymentRollback": { + "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "name": { + "description": "Required: This must match the Name of a deployment.", + "type": "string" + }, + "rollbackTo": { + "$ref": "#/definitions/extensions.v1beta1.RollbackConfig", + "description": "The config of this deployment rollback." + }, + "updatedAnnotations": { + "additionalProperties": { + "type": "string" + }, + "description": "The annotations to be updated to a deployment", + "type": "object" + } + }, + "required": [ + "name", + "rollbackTo" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "extensions", + "kind": "DeploymentRollback", + "version": "v1beta1" + } + ] + }, "v1.Event": { "description": "Event is a report of an event somewhere in the cluster.", "properties": { @@ -10038,33 +10290,31 @@ ], "type": "object" }, - "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).", + "v1.PodDNSConfig": { + "description": "PodDNSConfig defines the DNS parameters of a pod in addition to those generated from DNSPolicy.", "properties": { - "external": { - "$ref": "#/definitions/v2beta2.ExternalMetricSource", - "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)." - }, - "object": { - "$ref": "#/definitions/v2beta2.ObjectMetricSource", - "description": "object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object)." - }, - "pods": { - "$ref": "#/definitions/v2beta2.PodsMetricSource", - "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." + "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.", + "items": { + "type": "string" + }, + "type": "array" }, - "resource": { - "$ref": "#/definitions/v2beta2.ResourceMetricSource", - "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." + "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.", + "items": { + "$ref": "#/definitions/v1.PodDNSConfigOption" + }, + "type": "array" }, - "type": { - "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" + "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.", + "items": { + "type": "string" + }, + "type": "array" } }, - "required": [ - "type" - ], "type": "object" }, "v1.Lifecycle": { @@ -10081,39 +10331,85 @@ }, "type": "object" }, - "v1.Scale": { - "description": "Scale represents a scaling request for a resource.", + "v1alpha1.FlowSchemaCondition": { + "description": "FlowSchemaCondition describes conditions for a FlowSchema.", + "properties": { + "lastTransitionTime": { + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", + "format": "date-time", + "type": "string" + }, + "message": { + "description": "`message` is a human-readable message indicating details about last transition.", + "type": "string" + }, + "reason": { + "description": "`reason` is a 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. Required.", + "type": "string" + }, + "type": { + "description": "`type` is the type of the condition. Required.", + "type": "string" + } + }, + "type": "object" + }, + "v1.NodeList": { + "description": "NodeList is the whole list of all Nodes which have been registered with master.", "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/sig-architecture/api-conventions.md#resources", "type": "string" }, + "items": { + "description": "List of nodes", + "items": { + "$ref": "#/definitions/v1.Node" + }, + "type": "array" + }, "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." - }, - "spec": { - "$ref": "#/definitions/v1.ScaleSpec", - "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." - }, - "status": { - "$ref": "#/definitions/v1.ScaleStatus", - "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" } }, + "required": [ + "items" + ], "type": "object", "x-kubernetes-group-version-kind": [ { - "group": "autoscaling", - "kind": "Scale", + "group": "", + "kind": "NodeList", "version": "v1" } ] }, + "v1.PersistentVolumeClaimVolumeSource": { + "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", + "properties": { + "claimName": { + "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "type": "string" + }, + "readOnly": { + "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", + "type": "boolean" + } + }, + "required": [ + "claimName" + ], + "type": "object" + }, "v1beta1.Lease": { "description": "Lease defines a lease concept.", "properties": { @@ -10317,6 +10613,11 @@ "kind": "WatchEvent", "version": "v1alpha1" }, + { + "group": "discovery.k8s.io", + "kind": "WatchEvent", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "WatchEvent", @@ -10327,6 +10628,11 @@ "kind": "WatchEvent", "version": "v1beta1" }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "WatchEvent", + "version": "v1alpha1" + }, { "group": "imagepolicy.k8s.io", "kind": "WatchEvent", @@ -10409,6 +10715,32 @@ } ] }, + "v1.GCEPersistentDiskVolumeSource": { + "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", + "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#gcepersistentdisk", + "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). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "format": "int32", + "type": "integer" + }, + "pdName": { + "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "string" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", + "type": "boolean" + } + }, + "required": [ + "pdName" + ], + "type": "object" + }, "v1.HTTPGetAction": { "description": "HTTPGetAction describes an action based on HTTP Get requests.", "properties": { @@ -10637,15 +10969,39 @@ } ] }, - "v1alpha1.EndpointConditions": { - "description": "EndpointConditions represents the current condition of an endpoint.", + "v1.CustomResourceDefinitionList": { + "description": "CustomResourceDefinitionList is a list of CustomResourceDefinition objects.", "properties": { - "ready": { - "description": "ready indicates that this endpoint is prepared to receive traffic, according to whatever system is managing the endpoint. A nil value indicates an unknown state. In most cases consumers should interpret this unknown state as ready.", - "type": "boolean" + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items list individual CustomResourceDefinition objects", + "items": { + "$ref": "#/definitions/v1.CustomResourceDefinition" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta" } }, - "type": "object" + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "apiextensions.k8s.io", + "kind": "CustomResourceDefinitionList", + "version": "v1" + } + ] }, "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).", @@ -10885,6 +11241,43 @@ ], "type": "object" }, + "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.", + "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. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resourceNames": { + "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resources": { + "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.", + "items": { + "type": "string" + }, + "type": "array" + }, + "verbs": { + "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "verbs" + ], + "type": "object" + }, "v1alpha1.Webhook": { "description": "Webhook holds the configuration of the webhook", "properties": { @@ -10922,45 +11315,65 @@ ], "type": "object" }, - "extensions.v1beta1.DeploymentRollback": { - "description": "DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.", + "v1alpha1.PriorityLevelConfigurationCondition": { + "description": "PriorityLevelConfigurationCondition defines the condition of priority level.", "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/sig-architecture/api-conventions.md#resources", + "lastTransitionTime": { + "description": "`lastTransitionTime` is the last time the condition transitioned from one status to another.", + "format": "date-time", "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/sig-architecture/api-conventions.md#types-kinds", + "message": { + "description": "`message` is a human-readable message indicating details about last transition.", "type": "string" }, - "name": { - "description": "Required: This must match the Name of a deployment.", + "reason": { + "description": "`reason` is a unique, one-word, CamelCase reason for the condition's last transition.", "type": "string" }, - "rollbackTo": { - "$ref": "#/definitions/extensions.v1beta1.RollbackConfig", - "description": "The config of this deployment rollback." + "status": { + "description": "`status` is the status of the condition. Can be True, False, Unknown. Required.", + "type": "string" }, - "updatedAnnotations": { - "additionalProperties": { - "type": "string" + "type": { + "description": "`type` is the type of the condition. Required.", + "type": "string" + } + }, + "type": "object" + }, + "v1alpha1.PolicyRulesWithSubjects": { + "description": "PolicyRulesWithSubjects prescribes a test that applies to a request to an apiserver. The test considers the subject making the request, the verb being requested, and the resource to be acted upon. This PolicyRulesWithSubjects matches a request if and only if both (a) at least one member of subjects matches the request and (b) at least one member of resourceRules or nonResourceRules matches the request.", + "properties": { + "nonResourceRules": { + "description": "`nonResourceRules` is a list of NonResourcePolicyRules that identify matching requests according to their verb and the target non-resource URL.", + "items": { + "$ref": "#/definitions/v1alpha1.NonResourcePolicyRule" }, - "description": "The annotations to be updated to a deployment", - "type": "object" + "type": "array", + "x-kubernetes-list-type": "set" + }, + "resourceRules": { + "description": "`resourceRules` is a slice of ResourcePolicyRules that identify matching requests according to their verb and the target resource. At least one of `resourceRules` and `nonResourceRules` has to be non-empty.", + "items": { + "$ref": "#/definitions/v1alpha1.ResourcePolicyRule" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "subjects": { + "description": "subjects is the list of normal user, serviceaccount, or group that this rule cares about. There must be at least one member in this slice. A slice that includes both the system:authenticated and system:unauthenticated user groups matches every request. Required.", + "items": { + "$ref": "#/definitions/flowcontrol.v1alpha1.Subject" + }, + "type": "array", + "x-kubernetes-list-type": "set" } }, "required": [ - "name", - "rollbackTo" + "subjects" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "extensions", - "kind": "DeploymentRollback", - "version": "v1beta1" - } - ] + "type": "object" }, "v1.FlexVolumeSource": { "description": "FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.", @@ -11200,6 +11613,11 @@ "kind": "DeleteOptions", "version": "v1alpha1" }, + { + "group": "discovery.k8s.io", + "kind": "DeleteOptions", + "version": "v1beta1" + }, { "group": "events.k8s.io", "kind": "DeleteOptions", @@ -11210,6 +11628,11 @@ "kind": "DeleteOptions", "version": "v1beta1" }, + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "DeleteOptions", + "version": "v1alpha1" + }, { "group": "imagepolicy.k8s.io", "kind": "DeleteOptions", @@ -11387,6 +11810,13 @@ "$ref": "#/definitions/v1.SessionAffinityConfig", "description": "sessionAffinityConfig contains the configurations of session affinity." }, + "topologyKeys": { + "description": "topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value \"*\" may be used to mean \"any topology\". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.", + "items": { + "type": "string" + }, + "type": "array" + }, "type": { "description": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types", "type": "string" @@ -11449,7 +11879,7 @@ "type": "object" }, "v1alpha1.RoleBindingList": { - "description": "RoleBindingList is a collection of RoleBindings", + "description": "RoleBindingList is a collection of RoleBindings Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -11550,7 +11980,7 @@ "type": "object" }, "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.", + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -11658,7 +12088,7 @@ "type": "string" }, "finalizers": { - "description": "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.", + "description": "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. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", "items": { "type": "string" }, @@ -11882,65 +12312,46 @@ }, "type": "object" }, - "v1alpha1.EndpointSlice": { - "description": "EndpointSlice represents a subset of the endpoints that implement a service. For a given service there may be multiple EndpointSlice objects, selected by labels, which must be joined to produce the full set of endpoints.", + "v1beta1.AggregationRule": { + "description": "AggregationRule describes how to locate ClusterRoles to aggregate into the ClusterRole", "properties": { - "addressType": { - "description": "addressType specifies the type of address carried by this EndpointSlice. All addresses in this slice must be the same type. Default is IP", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "endpoints": { - "description": "endpoints is a list of unique endpoints in this slice. Each slice may include a maximum of 1000 endpoints.", + "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", "items": { - "$ref": "#/definitions/v1alpha1.Endpoint" + "$ref": "#/definitions/v1.LabelSelector" }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "type": "array" + } + }, + "type": "object" + }, + "v1.CSINodeDriver": { + "description": "CSINodeDriver holds information about the specification of one CSI driver installed on a node", + "properties": { + "allocatable": { + "$ref": "#/definitions/v1.VolumeNodeResources", + "description": "allocatable represents the volume resources of a node that are available for scheduling. This field is beta." }, - "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/sig-architecture/api-conventions.md#types-kinds", + "name": { + "description": "This is the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata." + "nodeID": { + "description": "nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.", + "type": "string" }, - "ports": { - "description": "ports specifies the list of network ports exposed by each endpoint in this slice. Each port must have a unique name. When ports is empty, it indicates that there are no defined ports. When a port is defined with a nil port value, it indicates \"all ports\". Each slice may include a maximum of 100 ports.", + "topologyKeys": { + "description": "topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.", "items": { - "$ref": "#/definitions/v1alpha1.EndpointPort" + "type": "string" }, - "type": "array", - "x-kubernetes-list-type": "atomic" + "type": "array" } }, "required": [ - "endpoints" + "name", + "nodeID" ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSlice", - "version": "v1alpha1" - } - ] - }, - "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", - "items": { - "$ref": "#/definitions/v1.LabelSelector" - }, - "type": "array" - } - }, "type": "object" }, "apps.v1beta1.Scale": { @@ -12215,20 +12626,74 @@ }, "type": "object" }, - "v1.VolumeError": { - "description": "VolumeError captures an error encountered during a volume operation.", + "v1alpha1.FlowSchemaList": { + "description": "FlowSchemaList is a list of FlowSchema objects.", "properties": { - "message": { - "description": "String detailing the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "time": { - "description": "Time the error was encountered.", - "format": "date-time", + "items": { + "description": "`items` is a list of FlowSchemas.", + "items": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + }, + "type": "array", + "x-kubernetes-list-type": "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "`metadata` is the standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" } }, - "type": "object" + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchemaList", + "version": "v1alpha1" + } + ] + }, + "v1alpha1.PriorityLevelConfiguration": { + "description": "PriorityLevelConfiguration represents the configuration of a priority level.", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationSpec", + "description": "`spec` is the specification of the desired behavior of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationStatus", + "description": "`status` is the current status of a \"request-priority\". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + ] }, "v1.ClusterRoleBindingList": { "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", @@ -12341,37 +12806,6 @@ } ] }, - "v1beta1.CustomResourceDefinitionCondition": { - "description": "CustomResourceDefinitionCondition contains details for the current condition of this pod.", - "properties": { - "lastTransitionTime": { - "description": "lastTransitionTime last time the condition transitioned from one status to another.", - "format": "date-time", - "type": "string" - }, - "message": { - "description": "message is a human-readable message indicating details about last transition.", - "type": "string" - }, - "reason": { - "description": "reason is a 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. Types include Established, NamesAccepted and Terminating.", - "type": "string" - } - }, - "required": [ - "type", - "status" - ], - "type": "object" - }, "v1.WindowsSecurityContextOptions": { "description": "WindowsSecurityContextOptions contain Windows-specific options and credentials.", "properties": { @@ -12384,7 +12818,7 @@ "type": "string" }, "runAsUserName": { - "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is alpha-level and it is only honored by servers that enable the WindowsRunAsUserName feature flag.", + "description": "The UserName in Windows to run the entrypoint of the container process. Defaults to the 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. This field is beta-level and may be disabled with the WindowsRunAsUserName feature flag.", "type": "string" } }, @@ -12634,20 +13068,39 @@ } ] }, - "v1.PersistentVolumeClaimVolumeSource": { - "description": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", + "v1beta1.Endpoint": { + "description": "Endpoint represents a single logical \"backend\" implementing a service.", "properties": { - "claimName": { - "description": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "addresses": { + "description": "addresses of this endpoint. The contents of this field are interpreted according to the corresponding EndpointSlice addressType field. Consumers must handle different types of addresses in the context of their own capabilities. This must contain at least one address but no more than 100.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "conditions": { + "$ref": "#/definitions/v1beta1.EndpointConditions", + "description": "conditions contains information about the current status of the endpoint." + }, + "hostname": { + "description": "hostname of this endpoint. This field may be used by consumers of endpoints to distinguish endpoints from each other (e.g. in DNS names). Multiple endpoints which use the same hostname should be considered fungible (e.g. multiple A values in DNS). Must pass DNS Label (RFC 1123) validation.", "type": "string" }, - "readOnly": { - "description": "Will force the ReadOnly setting in VolumeMounts. Default false.", - "type": "boolean" + "targetRef": { + "$ref": "#/definitions/v1.ObjectReference", + "description": "targetRef is a reference to a Kubernetes object that represents this endpoint." + }, + "topology": { + "additionalProperties": { + "type": "string" + }, + "description": "topology contains arbitrary topology information associated with the endpoint. These key/value pairs must conform with the label format. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels Topology may include a maximum of 16 key/value pairs. This includes, but is not limited to the following well known keys: * kubernetes.io/hostname: the value indicates the hostname of the node\n where the endpoint is located. This should match the corresponding\n node label.\n* topology.kubernetes.io/zone: the value indicates the zone where the\n endpoint is located. This should match the corresponding node label.\n* topology.kubernetes.io/region: the value indicates the region where the\n endpoint is located. This should match the corresponding node label.", + "type": "object" } }, "required": [ - "claimName" + "addresses" ], "type": "object" }, @@ -12694,6 +13147,31 @@ ], "type": "object" }, + "v1alpha1.LimitResponse": { + "description": "LimitResponse defines how to handle requests that can not be executed right now.", + "properties": { + "queuing": { + "$ref": "#/definitions/v1alpha1.QueuingConfiguration", + "description": "`queuing` holds the configuration parameters for queuing. This field may be non-empty only if `type` is `\"Queue\"`." + }, + "type": { + "description": "`type` is \"Queue\" or \"Reject\". \"Queue\" means that requests that can not be executed upon arrival are held in a queue until they can be executed or a queuing limit is reached. \"Reject\" means that requests that can not be executed upon arrival are rejected. Required.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "queuing": "Queuing" + } + } + ] + }, "v1beta1.Event": { "description": "Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.", "properties": { @@ -12907,44 +13385,6 @@ }, "type": "object" }, - "v1alpha1.PodPresetSpec": { - "description": "PodPresetSpec is a description of a pod preset.", - "properties": { - "env": { - "description": "Env defines the collection of EnvVar to inject into containers.", - "items": { - "$ref": "#/definitions/v1.EnvVar" - }, - "type": "array" - }, - "envFrom": { - "description": "EnvFrom defines the collection of EnvFromSource to inject into containers.", - "items": { - "$ref": "#/definitions/v1.EnvFromSource" - }, - "type": "array" - }, - "selector": { - "$ref": "#/definitions/v1.LabelSelector", - "description": "Selector is a label query over a set of resources, in this case pods. Required." - }, - "volumeMounts": { - "description": "VolumeMounts defines the collection of VolumeMount to inject into containers.", - "items": { - "$ref": "#/definitions/v1.VolumeMount" - }, - "type": "array" - }, - "volumes": { - "description": "Volumes defines the collection of Volume to inject into the pod.", - "items": { - "$ref": "#/definitions/v1.Volume" - }, - "type": "array" - } - }, - "type": "object" - }, "extensions.v1beta1.IngressStatus": { "description": "IngressStatus describe the current state of the Ingress.", "properties": { @@ -13025,7 +13465,7 @@ "type": "object" }, "v1beta1.Role": { - "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.", + "description": "Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 Role, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -13108,7 +13548,7 @@ "type": "object" }, "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.", + "description": "ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace, and adds who information via Subject. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -13129,7 +13569,7 @@ "subjects": { "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/v1alpha1.Subject" + "$ref": "#/definitions/rbac.v1alpha1.Subject" }, "type": "array" } @@ -13660,17 +14100,30 @@ } ] }, - "v1.NamespaceSpec": { - "description": "NamespaceSpec describes the attributes on a Namespace.", + "v1alpha1.NonResourcePolicyRule": { + "description": "NonResourcePolicyRule is a predicate that matches non-resource requests according to their verb and the target non-resource URL. A NonResourcePolicyRule matches a request if and only if both (a) at least one member of verbs matches the request and (b) at least one member of nonResourceURLs matches the request.", "properties": { - "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/", + "nonResourceURLs": { + "description": "`nonResourceURLs` is a set of url prefixes that a user should have access to and may not be empty. For example:\n - \"/healthz\" is legal\n - \"/hea*\" is illegal\n - \"/hea\" is legal but matches nothing\n - \"/hea/*\" also matches nothing\n - \"/healthz/*\" matches all per-component health checks.\n\"*\" matches all non-resource urls. if it is present, it must be the only entry. Required.", "items": { "type": "string" }, - "type": "array" + "type": "array", + "x-kubernetes-list-type": "set" + }, + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs. If it is present, it must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" } }, + "required": [ + "verbs", + "nonResourceURLs" + ], "type": "object" }, "v2beta2.ResourceMetricStatus": { @@ -13726,6 +14179,44 @@ } ] }, + "v1alpha1.GroupSubject": { + "description": "GroupSubject holds detailed information for group-kind subject.", + "properties": { + "name": { + "description": "name is the user group that matches, or \"*\" to match all user groups. See https://github.com/kubernetes/apiserver/blob/master/pkg/authentication/user/user.go for some well-known group names. Required.", + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "v1alpha1.PriorityLevelConfigurationSpec": { + "description": "PriorityLevelConfigurationSpec specifies the configuration of a priority level.", + "properties": { + "limited": { + "$ref": "#/definitions/v1alpha1.LimitedPriorityLevelConfiguration", + "description": "`limited` specifies how requests are handled for a Limited priority level. This field must be non-empty if and only if `type` is `\"Limited\"`." + }, + "type": { + "description": "`type` indicates whether this priority level is subject to limitation on request execution. A value of `\"Exempt\"` means that requests of this priority level are not subject to a limit (and thus are never queued) and do not detract from the capacity made available to other priority levels. A value of `\"Limited\"` means that (a) requests of this priority level _are_ subject to limits and (b) some of the server's limited capacity is made available exclusively to this priority level. Required.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object", + "x-kubernetes-unions": [ + { + "discriminator": "type", + "fields-to-discriminateBy": { + "limited": "Limited" + } + } + ] + }, "v1.BoundObjectReference": { "description": "BoundObjectReference is a reference to an object that a token is bound to.", "properties": { @@ -14351,6 +14842,71 @@ ], "type": "object" }, + "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 ]", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + }, + "subsets": { + "description": "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.", + "items": { + "$ref": "#/definitions/v1.EndpointSubset" + }, + "type": "array" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "", + "kind": "Endpoints", + "version": "v1" + } + ] + }, + "v1alpha1.FlowSchema": { + "description": "FlowSchema defines the schema of a group of flows. Note that a flow is made up of a set of inbound API requests with similar attributes and is identified by a pair of strings: the name of the FlowSchema and a \"flow distinguisher\".", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "`metadata` is the standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata" + }, + "spec": { + "$ref": "#/definitions/v1alpha1.FlowSchemaSpec", + "description": "`spec` is the specification of the desired behavior of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + }, + "status": { + "$ref": "#/definitions/v1alpha1.FlowSchemaStatus", + "description": "`status` is the current status of a FlowSchema. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status" + } + }, + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + ] + }, "v1.PortworxVolumeSource": { "description": "PortworxVolumeSource represents a Portworx volume resource.", "properties": { @@ -14690,44 +15246,8 @@ ], "type": "object" }, - "v1.OwnerReference": { - "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.", - "properties": { - "apiVersion": { - "description": "API version of the referent.", - "type": "string" - }, - "blockOwnerDeletion": { - "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", - "type": "boolean" - }, - "controller": { - "description": "If true, this reference points to the managing controller.", - "type": "boolean" - }, - "kind": { - "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/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" - }, - "uid": { - "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", - "type": "string" - } - }, - "required": [ - "apiVersion", - "kind", - "name", - "uid" - ], - "type": "object" - }, "v1beta1.ClusterRoleBindingList": { - "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings", + "description": "ClusterRoleBindingList is a collection of ClusterRoleBindings. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoleBindingList, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -14948,42 +15468,6 @@ }, "type": "object" }, - "v1alpha1.EndpointSliceList": { - "description": "EndpointSliceList represents a list of endpoint slices", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of endpoint slices", - "items": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" - }, - "type": "array", - "x-kubernetes-list-type": "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata." - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "discovery.k8s.io", - "kind": "EndpointSliceList", - "version": "v1alpha1" - } - ] - }, "v1alpha1.RuntimeClassList": { "description": "RuntimeClassList is a list of RuntimeClass objects.", "properties": { @@ -15019,29 +15503,36 @@ } ] }, - "v1.GCEPersistentDiskVolumeSource": { - "description": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", + "v1.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.", "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#gcepersistentdisk", + "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" }, - "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). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "format": "int32", - "type": "integer" + "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" }, - "pdName": { - "description": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "string" + "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.", + "items": { + "$ref": "#/definitions/v1.NonResourceRule" + }, + "type": "array" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk", - "type": "boolean" + "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.", + "items": { + "$ref": "#/definitions/v1.ResourceRule" + }, + "type": "array" } }, "required": [ - "pdName" + "resourceRules", + "nonResourceRules", + "incomplete" ], "type": "object" }, @@ -15118,6 +15609,41 @@ } ] }, + "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", + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/v1beta1.SelfSubjectAccessReviewSpec", + "description": "Spec holds information about the request being evaluated. user and groups must be empty" + }, + "status": { + "$ref": "#/definitions/v1beta1.SubjectAccessReviewStatus", + "description": "Status is filled in by the server and indicates whether the request is allowed or not" + } + }, + "required": [ + "spec" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "authorization.k8s.io", + "kind": "SelfSubjectAccessReview", + "version": "v1beta1" + } + ] + }, "extensions.v1beta1.IDRange": { "description": "IDRange provides a min/max of an allowed range of IDs. Deprecated: use IDRange from policy API Group instead.", "properties": { @@ -15535,41 +16061,6 @@ ], "type": "object" }, - "v1.NodeList": { - "description": "NodeList is the whole list of all Nodes which have been registered with master.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "List of nodes", - "items": { - "$ref": "#/definitions/v1.Node" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "NodeList", - "version": "v1" - } - ] - }, "v1.EmptyDirVolumeSource": { "description": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", "properties": { @@ -15809,7 +16300,7 @@ "type": "object" }, "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.", + "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -16340,7 +16831,7 @@ ] }, "v1alpha1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -16374,6 +16865,38 @@ } ] }, + "v1.CSINode": { + "description": "CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node 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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "metadata.name must be the Kubernetes node name." + }, + "spec": { + "$ref": "#/definitions/v1.CSINodeSpec", + "description": "spec is the specification of CSINode" + } + }, + "required": [ + "spec" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + ] + }, "v1.ReplicaSet": { "description": "ReplicaSet ensures that a specified number of pod replicas are running at any given time.", "properties": { @@ -16442,50 +16965,40 @@ ], "type": "object" }, - "v1.RBDPersistentVolumeSource": { - "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", + "v1.VolumeAttachmentList": { + "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", "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://examples.k8s.io/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://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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/sig-architecture/api-conventions.md#resources", "type": "string" }, - "monitors": { - "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "items": { + "description": "Items is the list of VolumeAttachments", "items": { - "type": "string" + "$ref": "#/definitions/v1.VolumeAttachment" }, "type": "array" }, - "pool": { - "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "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/sig-architecture/api-conventions.md#types-kinds", "type": "string" }, - "readOnly": { - "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "boolean" - }, - "secretRef": { - "$ref": "#/definitions/v1.SecretReference", - "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" - }, - "user": { - "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", - "type": "string" + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" } }, "required": [ - "monitors", - "image" + "items" ], - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "VolumeAttachmentList", + "version": "v1" + } + ] }, "v1alpha1.AuditSinkSpec": { "description": "AuditSinkSpec holds the spec for the audit sink", @@ -16705,6 +17218,41 @@ }, "type": "object" }, + "v1alpha1.RoleList": { + "description": "RoleList is a collection of Roles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleList, and will no longer be served in v1.20.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is a list of Roles", + "items": { + "$ref": "#/definitions/v1alpha1.Role" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard object's metadata." + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "rbac.authorization.k8s.io", + "kind": "RoleList", + "version": "v1alpha1" + } + ] + }, "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.", "properties": { @@ -16839,6 +17387,36 @@ } ] }, + "v1alpha1.FlowSchemaSpec": { + "description": "FlowSchemaSpec describes how the FlowSchema's specification looks like.", + "properties": { + "distinguisherMethod": { + "$ref": "#/definitions/v1alpha1.FlowDistinguisherMethod", + "description": "`distinguisherMethod` defines how to compute the flow distinguisher for requests that match this schema. `nil` specifies that the distinguisher is disabled and thus will always be the empty string." + }, + "matchingPrecedence": { + "description": "`matchingPrecedence` is used to choose among the FlowSchemas that match a given request. The chosen FlowSchema is among those with the numerically lowest (which we take to be logically highest) MatchingPrecedence. Each MatchingPrecedence value must be non-negative. Note that if the precedence is not specified or zero, it will be set to 1000 as default.", + "format": "int32", + "type": "integer" + }, + "priorityLevelConfiguration": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationReference", + "description": "`priorityLevelConfiguration` should reference a PriorityLevelConfiguration in the cluster. If the reference cannot be resolved, the FlowSchema will be ignored and marked as invalid in its status. Required." + }, + "rules": { + "description": "`rules` describes which requests will match this flow schema. This FlowSchema matches a request if and only if at least one member of rules matches the request. if it is an empty slice, there will be no requests matching the FlowSchema.", + "items": { + "$ref": "#/definitions/v1alpha1.PolicyRulesWithSubjects" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "priorityLevelConfiguration" + ], + "type": "object" + }, "v1beta1.ReplicaSetCondition": { "description": "ReplicaSetCondition describes the state of a replica set at a certain point.", "properties": { @@ -16891,7 +17469,7 @@ "type": "object" }, "v1beta1.ClusterRoleList": { - "description": "ClusterRoleList is a collection of ClusterRoles", + "description": "ClusterRoleList is a collection of ClusterRoles. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -17157,41 +17735,6 @@ }, "type": "object" }, - "v1beta1.ControllerRevisionList": { - "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", - "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/sig-architecture/api-conventions.md#resources", - "type": "string" - }, - "items": { - "description": "Items is the list of ControllerRevisions", - "items": { - "$ref": "#/definitions/v1beta1.ControllerRevision" - }, - "type": "array" - }, - "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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - } - }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "apps", - "kind": "ControllerRevisionList", - "version": "v1beta1" - } - ] - }, "v1.StatefulSetCondition": { "description": "StatefulSetCondition describes the state of a statefulset at a certain point.", "properties": { @@ -17375,6 +17918,19 @@ }, "type": "object" }, + "v1alpha1.FlowDistinguisherMethod": { + "description": "FlowDistinguisherMethod specifies the method of a flow distinguisher.", + "properties": { + "type": { + "description": "`type` is the type of flow distinguisher method The supported types are \"ByUser\" and \"ByNamespace\". Required.", + "type": "string" + } + }, + "required": [ + "type" + ], + "type": "object" + }, "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.", "properties": { @@ -17557,18 +18113,6 @@ } ] }, - "v1.ExternalDocumentation": { - "description": "ExternalDocumentation allows referencing an external resource for extended documentation.", - "properties": { - "description": { - "type": "string" - }, - "url": { - "type": "string" - } - }, - "type": "object" - }, "v1.SecretVolumeSource": { "description": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", "properties": { @@ -17609,6 +18153,53 @@ }, "type": "object" }, + "v1alpha1.ResourcePolicyRule": { + "description": "ResourcePolicyRule is a predicate that matches some resource requests, testing the request's verb and the target resource. A ResourcePolicyRule matches a resource request if and only if: (a) at least one member of verbs matches the request, (b) at least one member of apiGroups matches the request, (c) at least one member of resources matches the request, and (d) least one member of namespaces matches the request.", + "properties": { + "apiGroups": { + "description": "`apiGroups` is a list of matching API groups and may not be empty. \"*\" matches all API groups and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "clusterScope": { + "description": "`clusterScope` indicates whether to match requests that do not specify a namespace (which happens either because the resource is not namespaced or the request targets all namespaces). If this field is omitted or false then the `namespaces` field must contain a non-empty list.", + "type": "boolean" + }, + "namespaces": { + "description": "`namespaces` is a list of target namespaces that restricts matches. A request that specifies a target namespace matches only if either (a) this list contains that target namespace or (b) this list contains \"*\". Note that \"*\" matches any specified namespace but does not match a request that _does not specify_ a namespace (see the `clusterScope` field for that). This list may be empty, but only if `clusterScope` is true.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "resources": { + "description": "`resources` is a list of matching resources (i.e., lowercase and plural) with, if desired, subresource. For example, [ \"services\", \"nodes/status\" ]. This list may not be empty. \"*\" matches all resources and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + }, + "verbs": { + "description": "`verbs` is a list of matching verbs and may not be empty. \"*\" matches all verbs and, if present, must be the only entry. Required.", + "items": { + "type": "string" + }, + "type": "array", + "x-kubernetes-list-type": "set" + } + }, + "required": [ + "verbs", + "apiGroups", + "resources" + ], + "type": "object" + }, "v1.SubjectAccessReview": { "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", "properties": { @@ -17705,16 +18296,38 @@ }, "type": "object" }, - "apps.v1beta1.ScaleSpec": { - "description": "ScaleSpec describes the attributes of a scale subresource", + "v1.Scale": { + "description": "Scale represents a scaling request for a resource.", "properties": { - "replicas": { - "description": "desired number of instances for the scaled object.", - "format": "int32", - "type": "integer" + "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ObjectMeta", + "description": "Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata." + }, + "spec": { + "$ref": "#/definitions/v1.ScaleSpec", + "description": "defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status." + }, + "status": { + "$ref": "#/definitions/v1.ScaleStatus", + "description": "current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only." } }, - "type": "object" + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "autoscaling", + "kind": "Scale", + "version": "v1" + } + ] }, "v1.EndpointAddress": { "description": "EndpointAddress is a tuple that describes single IP address.", @@ -17819,6 +18432,41 @@ } ] }, + "v1.CSINodeList": { + "description": "CSINodeList is a collection of CSINode objects.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "items is the list of CSINode", + "items": { + "$ref": "#/definitions/v1.CSINode" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "storage.k8s.io", + "kind": "CSINodeList", + "version": "v1" + } + ] + }, "extensions.v1beta1.RollingUpdateDeployment": { "description": "Spec to control the desired behavior of rolling update.", "properties": { @@ -17835,6 +18483,41 @@ }, "type": "object" }, + "v1beta1.ControllerRevisionList": { + "description": "ControllerRevisionList is a resource containing a list of ControllerRevision objects.", + "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/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "description": "Items is the list of ControllerRevisions", + "items": { + "$ref": "#/definitions/v1beta1.ControllerRevision" + }, + "type": "array" + }, + "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/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "$ref": "#/definitions/v1.ListMeta", + "description": "More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + } + }, + "required": [ + "items" + ], + "type": "object", + "x-kubernetes-group-version-kind": [ + { + "group": "apps", + "kind": "ControllerRevisionList", + "version": "v1beta1" + } + ] + }, "v1beta1.Overhead": { "description": "Overhead structure represents the resource overhead associated with running a pod.", "properties": { @@ -17849,6 +18532,65 @@ }, "type": "object" }, + "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.", + "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.", + "format": "int32", + "type": "integer" + }, + "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).", + "items": { + "type": "string" + }, + "type": "array" + }, + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", + "type": "boolean" + }, + "secretRef": { + "$ref": "#/definitions/v1.SecretReference", + "description": "CHAP Secret for iSCSI target and initiator authentication" + }, + "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" + } + }, + "required": [ + "targetPortal", + "iqn", + "lun" + ], + "type": "object" + }, "v2beta2.MetricValueStatus": { "description": "MetricValueStatus holds the current value for a metric", "properties": { @@ -18139,7 +18881,7 @@ "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.", + "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.", "type": "boolean" }, "subdomain": { @@ -18299,37 +19041,16 @@ ], "type": "object" }, - "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 ]", + "v1.VolumeNodeResources": { + "description": "VolumeNodeResources is a set of resource limits for scheduling of volumes.", "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/sig-architecture/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/sig-architecture/api-conventions.md#types-kinds", - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/v1.ObjectMeta", - "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" - }, - "subsets": { - "description": "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.", - "items": { - "$ref": "#/definitions/v1.EndpointSubset" - }, - "type": "array" + "count": { + "description": "Maximum number of unique volumes managed by the CSI driver that can be used on a node. A volume that is both attached and mounted on a node is considered to be used once, not twice. The same rule applies for a unique volume that is shared among multiple pods on the same node. If this field is not specified, then the supported number of volumes on this node is unbounded.", + "format": "int32", + "type": "integer" } }, - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "", - "kind": "Endpoints", - "version": "v1" - } - ] + "type": "object" }, "v1beta1.VolumeError": { "description": "VolumeError captures an error encountered during a volume operation.", @@ -18750,7 +19471,7 @@ "type": "object" }, "v1alpha1.ClusterRole": { - "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.", + "description": "ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRole, and will no longer be served in v1.20.", "properties": { "aggregationRule": { "$ref": "#/definitions/v1alpha1.AggregationRule", @@ -18785,46 +19506,48 @@ } ] }, - "v1.ReplicaSetStatus": { - "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", + "v1.RBDVolumeSource": { + "description": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "properties": { - "availableReplicas": { - "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", - "format": "int32", - "type": "integer" + "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" }, - "conditions": { - "description": "Represents the latest available observations of a replica set's current state.", + "image": { + "description": "The rados image name. More info: https://examples.k8s.io/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://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" + }, + "monitors": { + "description": "A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", "items": { - "$ref": "#/definitions/v1.ReplicaSetCondition" + "type": "string" }, - "type": "array", - "x-kubernetes-patch-merge-key": "type", - "x-kubernetes-patch-strategy": "merge" + "type": "array" }, - "fullyLabeledReplicas": { - "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", - "format": "int32", - "type": "integer" + "pool": { + "description": "The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" }, - "observedGeneration": { - "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", - "format": "int64", - "type": "integer" + "readOnly": { + "description": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "boolean" }, - "readyReplicas": { - "description": "The number of ready replicas for this replica set.", - "format": "int32", - "type": "integer" + "secretRef": { + "$ref": "#/definitions/v1.LocalObjectReference", + "description": "SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it" }, - "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", - "format": "int32", - "type": "integer" + "user": { + "description": "The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it", + "type": "string" } }, "required": [ - "replicas" + "monitors", + "image" ], "type": "object" }, @@ -19087,6 +19810,7 @@ "$ref": "#/definitions/v1beta1.ExternalDocumentation" }, "format": { + "description": "format is an OpenAPI v3 format string. Unknown formats are ignored. The following formats are validated:\n\n- bsonobjectid: a bson object ID, i.e. a 24 characters hex string - uri: an URI as parsed by Golang net/url.ParseRequestURI - email: an email address as parsed by Golang net/mail.ParseAddress - hostname: a valid representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034]. - ipv4: an IPv4 IP as parsed by Golang net.ParseIP - ipv6: an IPv6 IP as parsed by Golang net.ParseIP - cidr: a CIDR as parsed by Golang net.ParseCIDR - mac: a MAC address as parsed by Golang net.ParseMAC - uuid: an UUID that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid3: an UUID3 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}-?[0-9a-f]{12}$ - uuid4: an UUID4 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - uuid5: an UUID5 that allows uppercase defined by the regex (?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a-f]{3}-?[0-9a-f]{12}$ - isbn: an ISBN10 or ISBN13 number string like \"0321751043\" or \"978-0321751041\" - isbn10: an ISBN10 number string like \"0321751043\" - isbn13: an ISBN13 number string like \"978-0321751041\" - creditcard: a credit card number defined by the regex ^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$ with any non digit characters mixed in - ssn: a U.S. social security number following the regex ^\\d{3}[- ]?\\d{2}[- ]?\\d{4}$ - hexcolor: an hexadecimal color code like \"#FFFFFF: following the regex ^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$ - rgbcolor: an RGB color code like rgb like \"rgb(255,255,2559\" - byte: base64 encoded binary data - password: any kind of string - date: a date string like \"2006-01-02\" as defined by full-date in RFC3339 - duration: a duration string like \"22 ns\" as parsed by Golang time.ParseDuration or compatible with Scala duration format - datetime: a date time string like \"2014-12-15T19:30:20.000Z\" as defined by date-time in RFC3339.", "type": "string" }, "id": { @@ -19193,6 +19917,10 @@ "description": "x-kubernetes-list-type annotates an array to further describe its topology. This extension must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n These lists are like maps in that their elements have a non-index key\n used to identify them. Order is preserved upon merge. The map tag\n must only be used on a list with elements of type object.\nDefaults to atomic for arrays.", "type": "string" }, + "x-kubernetes-map-type": { + "description": "x-kubernetes-map-type annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values:\n\n1) `granular`:\n These maps are actual maps (key-value pairs) and each fields are independent\n from each other (they can each be manipulated by separate actors). This is\n the default behaviour for all maps.\n2) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic maps will be entirely replaced when updated.", + "type": "string" + }, "x-kubernetes-preserve-unknown-fields": { "description": "x-kubernetes-preserve-unknown-fields stops the API server decoding step from pruning fields which are not specified in the validation schema. This affects fields recursively, but switches back to normal pruning behaviour if nested properties or additionalProperties are specified in the schema. This can either be true or undefined. False is forbidden.", "type": "boolean" @@ -19487,7 +20215,7 @@ ] }, "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.", + "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. Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.20.", "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/sig-architecture/api-conventions.md#resources", @@ -19508,7 +20236,7 @@ "subjects": { "description": "Subjects holds references to the objects the role applies to.", "items": { - "$ref": "#/definitions/v1alpha1.Subject" + "$ref": "#/definitions/rbac.v1alpha1.Subject" }, "type": "array" } @@ -19729,97 +20457,86 @@ }, "type": "object" }, - "v1.VolumeAttachmentList": { - "description": "VolumeAttachmentList is a collection of VolumeAttachment objects.", + "v1.JobStatus": { + "description": "JobStatus represents the current state of a Job.", "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/sig-architecture/api-conventions.md#resources", + "active": { + "description": "The number of actively running pods.", + "format": "int32", + "type": "integer" + }, + "completionTime": { + "description": "Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", + "format": "date-time", "type": "string" }, - "items": { - "description": "Items is the list of VolumeAttachments", + "conditions": { + "description": "The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/", "items": { - "$ref": "#/definitions/v1.VolumeAttachment" + "$ref": "#/definitions/v1.JobCondition" }, - "type": "array" + "type": "array", + "x-kubernetes-patch-merge-key": "type", + "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/sig-architecture/api-conventions.md#types-kinds", + "failed": { + "description": "The number of pods which reached phase Failed.", + "format": "int32", + "type": "integer" + }, + "startTime": { + "description": "Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.", + "format": "date-time", "type": "string" }, - "metadata": { - "$ref": "#/definitions/v1.ListMeta", - "description": "Standard list metadata More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" + "succeeded": { + "description": "The number of pods which reached phase Succeeded.", + "format": "int32", + "type": "integer" } }, - "required": [ - "items" - ], - "type": "object", - "x-kubernetes-group-version-kind": [ - { - "group": "storage.k8s.io", - "kind": "VolumeAttachmentList", - "version": "v1" - } - ] + "type": "object" }, - "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.", + "v1.ReplicaSetStatus": { + "description": "ReplicaSetStatus represents the current status of a ReplicaSet.", "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.", + "availableReplicas": { + "description": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", "format": "int32", "type": "integer" }, - "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).", + "conditions": { + "description": "Represents the latest available observations of a replica set's current state.", "items": { - "type": "string" + "$ref": "#/definitions/v1.ReplicaSetCondition" }, - "type": "array" + "type": "array", + "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.", - "type": "boolean" + "fullyLabeledReplicas": { + "description": "The number of pods that have labels matching the labels of the pod template of the replicaset.", + "format": "int32", + "type": "integer" }, - "secretRef": { - "$ref": "#/definitions/v1.SecretReference", - "description": "CHAP Secret for iSCSI target and initiator authentication" + "observedGeneration": { + "description": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "format": "int64", + "type": "integer" }, - "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" + "readyReplicas": { + "description": "The number of ready replicas for this replica set.", + "format": "int32", + "type": "integer" + }, + "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", + "format": "int32", + "type": "integer" } }, "required": [ - "targetPortal", - "iqn", - "lun" + "replicas" ], "type": "object" }, @@ -20142,7 +20859,7 @@ "type": "array" }, "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.", + "description": "SideEffects states whether this webhook 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" }, "timeoutSeconds": { @@ -20160,7 +20877,7 @@ }, "info": { "title": "Kubernetes", - "version": "release-1.16" + "version": "release-1.17" }, "paths": { "/api/": { @@ -20269,7 +20986,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20427,7 +21144,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20531,7 +21248,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20635,7 +21352,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20739,7 +21456,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -20812,7 +21529,7 @@ "operationId": "listNamespace", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21196,7 +21913,7 @@ "operationId": "listNamespacedConfigMap", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -21791,7 +22508,7 @@ "operationId": "listNamespacedEndpoints", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22386,7 +23103,7 @@ "operationId": "listNamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -22981,7 +23698,7 @@ "operationId": "listNamespacedLimitRange", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -23576,7 +24293,7 @@ "operationId": "listNamespacedPersistentVolumeClaim", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -24370,7 +25087,7 @@ "operationId": "listNamespacedPod", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -25340,6 +26057,13 @@ "type": "boolean", "uniqueItems": true }, + { + "description": "insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the serving certificate of the backend it is connecting to. This will make the HTTPS connection between the apiserver and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real kubelet. If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept the actual log data coming from the real kubelet).", + "in": "query", + "name": "insecureSkipTLSVerifyBackend", + "type": "boolean", + "uniqueItems": true + }, { "description": "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.", "in": "query", @@ -26340,7 +27064,7 @@ "operationId": "listNamespacedPodTemplate", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -26935,7 +27659,7 @@ "operationId": "listNamespacedReplicationController", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -27928,7 +28652,7 @@ "operationId": "listNamespacedResourceQuota", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -28722,7 +29446,7 @@ "operationId": "listNamespacedSecret", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -29317,7 +30041,7 @@ "operationId": "listNamespacedServiceAccount", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -29896,7 +30620,7 @@ "operationId": "listNamespacedService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -31776,7 +32500,7 @@ "operationId": "listNode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -32970,7 +33694,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33158,7 +33882,7 @@ "operationId": "listPersistentVolume", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33844,7 +34568,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -33948,7 +34672,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34052,7 +34776,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34156,7 +34880,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34260,7 +34984,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34364,7 +35088,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34468,7 +35192,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34535,7 +35259,7 @@ "/api/v1/watch/configmaps": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34602,7 +35326,7 @@ "/api/v1/watch/endpoints": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34669,7 +35393,7 @@ "/api/v1/watch/events": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34736,7 +35460,7 @@ "/api/v1/watch/limitranges": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34803,7 +35527,7 @@ "/api/v1/watch/namespaces": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34870,7 +35594,7 @@ "/api/v1/watch/namespaces/{namespace}/configmaps": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -34945,7 +35669,7 @@ "/api/v1/watch/namespaces/{namespace}/configmaps/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35028,7 +35752,7 @@ "/api/v1/watch/namespaces/{namespace}/endpoints": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35103,7 +35827,7 @@ "/api/v1/watch/namespaces/{namespace}/endpoints/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35186,7 +35910,7 @@ "/api/v1/watch/namespaces/{namespace}/events": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35261,7 +35985,7 @@ "/api/v1/watch/namespaces/{namespace}/events/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35344,7 +36068,7 @@ "/api/v1/watch/namespaces/{namespace}/limitranges": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35419,7 +36143,7 @@ "/api/v1/watch/namespaces/{namespace}/limitranges/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35502,7 +36226,7 @@ "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35577,7 +36301,7 @@ "/api/v1/watch/namespaces/{namespace}/persistentvolumeclaims/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35660,7 +36384,7 @@ "/api/v1/watch/namespaces/{namespace}/pods": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35735,7 +36459,7 @@ "/api/v1/watch/namespaces/{namespace}/pods/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35818,7 +36542,7 @@ "/api/v1/watch/namespaces/{namespace}/podtemplates": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35893,7 +36617,7 @@ "/api/v1/watch/namespaces/{namespace}/podtemplates/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -35976,7 +36700,7 @@ "/api/v1/watch/namespaces/{namespace}/replicationcontrollers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36051,7 +36775,7 @@ "/api/v1/watch/namespaces/{namespace}/replicationcontrollers/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36134,7 +36858,7 @@ "/api/v1/watch/namespaces/{namespace}/resourcequotas": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36209,7 +36933,7 @@ "/api/v1/watch/namespaces/{namespace}/resourcequotas/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36292,7 +37016,7 @@ "/api/v1/watch/namespaces/{namespace}/secrets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36367,7 +37091,7 @@ "/api/v1/watch/namespaces/{namespace}/secrets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36450,7 +37174,7 @@ "/api/v1/watch/namespaces/{namespace}/serviceaccounts": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36525,7 +37249,7 @@ "/api/v1/watch/namespaces/{namespace}/serviceaccounts/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36608,7 +37332,7 @@ "/api/v1/watch/namespaces/{namespace}/services": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36683,7 +37407,7 @@ "/api/v1/watch/namespaces/{namespace}/services/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36766,7 +37490,7 @@ "/api/v1/watch/namespaces/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36841,7 +37565,7 @@ "/api/v1/watch/nodes": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36908,7 +37632,7 @@ "/api/v1/watch/nodes/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -36983,7 +37707,7 @@ "/api/v1/watch/persistentvolumeclaims": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37050,7 +37774,7 @@ "/api/v1/watch/persistentvolumes": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37117,7 +37841,7 @@ "/api/v1/watch/persistentvolumes/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37192,7 +37916,7 @@ "/api/v1/watch/pods": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37259,7 +37983,7 @@ "/api/v1/watch/podtemplates": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37326,7 +38050,7 @@ "/api/v1/watch/replicationcontrollers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37393,7 +38117,7 @@ "/api/v1/watch/resourcequotas": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37460,7 +38184,7 @@ "/api/v1/watch/secrets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37527,7 +38251,7 @@ "/api/v1/watch/serviceaccounts": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37594,7 +38318,7 @@ "/api/v1/watch/services": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -37881,7 +38605,7 @@ "operationId": "listMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38460,7 +39184,7 @@ "operationId": "listValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38918,7 +39642,7 @@ "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -38985,7 +39709,7 @@ "/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39060,7 +39784,7 @@ "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39127,7 +39851,7 @@ "/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39356,7 +40080,7 @@ "operationId": "listMutatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -39935,7 +40659,7 @@ "operationId": "listValidatingWebhookConfiguration", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40393,7 +41117,7 @@ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40460,7 +41184,7 @@ "/apis/admissionregistration.k8s.io/v1beta1/watch/mutatingwebhookconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40535,7 +41259,7 @@ "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40602,7 +41326,7 @@ "/apis/admissionregistration.k8s.io/v1beta1/watch/validatingwebhookconfigurations/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -40864,7 +41588,7 @@ "operationId": "listCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41513,7 +42237,7 @@ "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41580,7 +42304,7 @@ "/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -41809,7 +42533,7 @@ "operationId": "listCustomResourceDefinition", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42458,7 +43182,7 @@ "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42525,7 +43249,7 @@ "/apis/apiextensions.k8s.io/v1beta1/watch/customresourcedefinitions/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -42787,7 +43511,7 @@ "operationId": "listAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43436,7 +44160,7 @@ "/apis/apiregistration.k8s.io/v1/watch/apiservices": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43503,7 +44227,7 @@ "/apis/apiregistration.k8s.io/v1/watch/apiservices/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -43732,7 +44456,7 @@ "operationId": "listAPIService", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44381,7 +45105,7 @@ "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44448,7 +45172,7 @@ "/apis/apiregistration.k8s.io/v1beta1/watch/apiservices/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44626,7 +45350,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44730,7 +45454,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -44834,7 +45558,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45022,7 +45746,7 @@ "operationId": "listNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -45617,7 +46341,7 @@ "operationId": "listNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -46411,7 +47135,7 @@ "operationId": "listNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -47404,7 +48128,7 @@ "operationId": "listNamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -48397,7 +49121,7 @@ "operationId": "listNamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49306,7 +50030,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49410,7 +50134,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49477,7 +50201,7 @@ "/apis/apps/v1/watch/controllerrevisions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49544,7 +50268,7 @@ "/apis/apps/v1/watch/daemonsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49611,7 +50335,7 @@ "/apis/apps/v1/watch/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49678,7 +50402,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49753,7 +50477,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49836,7 +50560,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49911,7 +50635,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/daemonsets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -49994,7 +50718,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50069,7 +50793,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/deployments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50152,7 +50876,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/replicasets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50227,7 +50951,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/replicasets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50310,7 +51034,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50385,7 +51109,7 @@ "/apis/apps/v1/watch/namespaces/{namespace}/statefulsets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50468,7 +51192,7 @@ "/apis/apps/v1/watch/replicasets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50535,7 +51259,7 @@ "/apis/apps/v1/watch/statefulsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50672,7 +51396,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50776,7 +51500,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -50964,7 +51688,7 @@ "operationId": "listNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -51559,7 +52283,7 @@ "operationId": "listNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -52651,7 +53375,7 @@ "operationId": "listNamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53560,7 +54284,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53627,7 +54351,7 @@ "/apis/apps/v1beta1/watch/controllerrevisions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53694,7 +54418,7 @@ "/apis/apps/v1beta1/watch/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53761,7 +54485,7 @@ "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53836,7 +54560,7 @@ "/apis/apps/v1beta1/watch/namespaces/{namespace}/controllerrevisions/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53919,7 +54643,7 @@ "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -53994,7 +54718,7 @@ "/apis/apps/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54077,7 +54801,7 @@ "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54152,7 +54876,7 @@ "/apis/apps/v1beta1/watch/namespaces/{namespace}/statefulsets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54235,7 +54959,7 @@ "/apis/apps/v1beta1/watch/statefulsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54372,7 +55096,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54476,7 +55200,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54580,7 +55304,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -54768,7 +55492,7 @@ "operationId": "listNamespacedControllerRevision", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -55363,7 +56087,7 @@ "operationId": "listNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -56157,7 +56881,7 @@ "operationId": "listNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -57150,7 +57874,7 @@ "operationId": "listNamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -58143,7 +58867,7 @@ "operationId": "listNamespacedStatefulSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59052,7 +59776,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59156,7 +59880,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59223,7 +59947,7 @@ "/apis/apps/v1beta2/watch/controllerrevisions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59290,7 +60014,7 @@ "/apis/apps/v1beta2/watch/daemonsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59357,7 +60081,7 @@ "/apis/apps/v1beta2/watch/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59424,7 +60148,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59499,7 +60223,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/controllerrevisions/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59582,7 +60306,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59657,7 +60381,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/daemonsets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59740,7 +60464,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59815,7 +60539,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/deployments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59898,7 +60622,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -59973,7 +60697,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/replicasets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60056,7 +60780,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60131,7 +60855,7 @@ "/apis/apps/v1beta2/watch/namespaces/{namespace}/statefulsets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60214,7 +60938,7 @@ "/apis/apps/v1beta2/watch/replicasets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60281,7 +61005,7 @@ "/apis/apps/v1beta2/watch/statefulsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60535,7 +61259,7 @@ "operationId": "listAuditSink", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -60993,7 +61717,7 @@ "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -61060,7 +61784,7 @@ "/apis/auditregistration.k8s.io/v1alpha1/watch/auditsinks/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62282,7 +63006,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -62470,7 +63194,7 @@ "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63143,7 +63867,7 @@ "/apis/autoscaling/v1/watch/horizontalpodautoscalers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63210,7 +63934,7 @@ "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63285,7 +64009,7 @@ "/apis/autoscaling/v1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63438,7 +64162,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -63626,7 +64350,7 @@ "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64299,7 +65023,7 @@ "/apis/autoscaling/v2beta1/watch/horizontalpodautoscalers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64366,7 +65090,7 @@ "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64441,7 +65165,7 @@ "/apis/autoscaling/v2beta1/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64594,7 +65318,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -64782,7 +65506,7 @@ "operationId": "listNamespacedHorizontalPodAutoscaler", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -65455,7 +66179,7 @@ "/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -65522,7 +66246,7 @@ "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -65597,7 +66321,7 @@ "/apis/autoscaling/v2beta2/watch/namespaces/{namespace}/horizontalpodautoscalers/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -65783,7 +66507,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -65971,7 +66695,7 @@ "operationId": "listNamespacedJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66644,7 +67368,7 @@ "/apis/batch/v1/watch/jobs": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66711,7 +67435,7 @@ "/apis/batch/v1/watch/namespaces/{namespace}/jobs": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66786,7 +67510,7 @@ "/apis/batch/v1/watch/namespaces/{namespace}/jobs/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -66939,7 +67663,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67127,7 +67851,7 @@ "operationId": "listNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67800,7 +68524,7 @@ "/apis/batch/v1beta1/watch/cronjobs": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67867,7 +68591,7 @@ "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -67942,7 +68666,7 @@ "/apis/batch/v1beta1/watch/namespaces/{namespace}/cronjobs/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68095,7 +68819,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68283,7 +69007,7 @@ "operationId": "listNamespacedCronJob", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -68956,7 +69680,7 @@ "/apis/batch/v2alpha1/watch/cronjobs": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69023,7 +69747,7 @@ "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69098,7 +69822,7 @@ "/apis/batch/v2alpha1/watch/namespaces/{namespace}/cronjobs/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -69368,7 +70092,7 @@ "operationId": "listCertificateSigningRequest", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70102,7 +70826,7 @@ "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70169,7 +70893,7 @@ "/apis/certificates.k8s.io/v1beta1/watch/certificatesigningrequests/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70347,7 +71071,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -70535,7 +71259,7 @@ "operationId": "listNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71009,7 +71733,7 @@ "/apis/coordination.k8s.io/v1/watch/leases": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71076,7 +71800,7 @@ "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71151,7 +71875,7 @@ "/apis/coordination.k8s.io/v1/watch/namespaces/{namespace}/leases/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71304,7 +72028,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71492,7 +72216,7 @@ "operationId": "listNamespacedLease", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -71966,7 +72690,7 @@ "/apis/coordination.k8s.io/v1beta1/watch/leases": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72033,7 +72757,7 @@ "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72108,7 +72832,7 @@ "/apis/coordination.k8s.io/v1beta1/watch/namespaces/{namespace}/leases/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72221,7 +72945,7 @@ ] } }, - "/apis/discovery.k8s.io/v1alpha1/": { + "/apis/discovery.k8s.io/v1beta1/": { "get": { "consumes": [ "application/json", @@ -72250,11 +72974,11 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ] } }, - "/apis/discovery.k8s.io/v1alpha1/endpointslices": { + "/apis/discovery.k8s.io/v1beta1/endpointslices": { "get": { "consumes": [ "*/*" @@ -72272,7 +72996,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSliceList" + "$ref": "#/definitions/v1beta1.EndpointSliceList" } }, "401": { @@ -72283,18 +73007,18 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72358,7 +73082,7 @@ } ] }, - "/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices": { "delete": { "consumes": [ "*/*" @@ -72464,13 +73188,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -72482,7 +73206,7 @@ "operationId": "listNamespacedEndpointSlice", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -72549,7 +73273,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSliceList" + "$ref": "#/definitions/v1beta1.EndpointSliceList" } }, "401": { @@ -72560,13 +73284,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -72598,7 +73322,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, { @@ -72625,19 +73349,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "401": { @@ -72648,18 +73372,18 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/discovery.k8s.io/v1alpha1/namespaces/{namespace}/endpointslices/{name}": { + "/apis/discovery.k8s.io/v1beta1/namespaces/{namespace}/endpointslices/{name}": { "delete": { "consumes": [ "*/*" @@ -72729,13 +73453,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -72770,7 +73494,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "401": { @@ -72781,13 +73505,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" } }, "parameters": [ @@ -72865,7 +73589,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "401": { @@ -72876,13 +73600,13 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "patch", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" }, @@ -72898,7 +73622,7 @@ "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, { @@ -72925,13 +73649,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1alpha1.EndpointSlice" + "$ref": "#/definitions/v1beta1.EndpointSlice" } }, "401": { @@ -72942,21 +73666,21 @@ "https" ], "tags": [ - "discovery_v1alpha1" + "discovery_v1beta1" ], "x-kubernetes-action": "put", "x-kubernetes-group-version-kind": { "group": "discovery.k8s.io", "kind": "EndpointSlice", - "version": "v1alpha1" + "version": "v1beta1" }, "x-codegen-request-body-name": "body" } }, - "/apis/discovery.k8s.io/v1alpha1/watch/endpointslices": { + "/apis/discovery.k8s.io/v1beta1/watch/endpointslices": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73020,10 +73744,10 @@ } ] }, - "/apis/discovery.k8s.io/v1alpha1/watch/namespaces/{namespace}/endpointslices": { + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73095,10 +73819,10 @@ } ] }, - "/apis/discovery.k8s.io/v1alpha1/watch/namespaces/{namespace}/endpointslices/{name}": { + "/apis/discovery.k8s.io/v1beta1/watch/namespaces/{namespace}/endpointslices/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73284,7 +74008,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73472,7 +74196,7 @@ "operationId": "listNamespacedEvent", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -73946,7 +74670,7 @@ "/apis/events.k8s.io/v1beta1/watch/events": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74013,7 +74737,7 @@ "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74088,7 +74812,7 @@ "/apis/events.k8s.io/v1beta1/watch/namespaces/{namespace}/events/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74274,7 +74998,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74378,7 +75102,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74482,7 +75206,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -74670,7 +75394,7 @@ "operationId": "listNamespacedDaemonSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -75464,7 +76188,7 @@ "operationId": "listNamespacedDeployment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -76556,7 +77280,7 @@ "operationId": "listNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77350,7 +78074,7 @@ "operationId": "listNamespacedNetworkPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -77945,7 +78669,7 @@ "operationId": "listNamespacedReplicaSet", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79053,7 +79777,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79241,7 +79965,7 @@ "operationId": "listPodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79736,7 +80460,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79803,7 +80527,7 @@ "/apis/extensions/v1beta1/watch/daemonsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79870,7 +80594,7 @@ "/apis/extensions/v1beta1/watch/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -79937,7 +80661,7 @@ "/apis/extensions/v1beta1/watch/ingresses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80004,7 +80728,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80079,7 +80803,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/daemonsets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80162,7 +80886,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80237,7 +80961,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/deployments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80320,7 +81044,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80395,7 +81119,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80478,7 +81202,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80553,7 +81277,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/networkpolicies/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80636,7 +81360,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80711,7 +81435,7 @@ "/apis/extensions/v1beta1/watch/namespaces/{namespace}/replicasets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80794,7 +81518,7 @@ "/apis/extensions/v1beta1/watch/networkpolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80861,7 +81585,7 @@ "/apis/extensions/v1beta1/watch/podsecuritypolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -80928,7 +81652,7 @@ "/apis/extensions/v1beta1/watch/podsecuritypolicies/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81003,7 +81727,7 @@ "/apis/extensions/v1beta1/watch/replicasets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81067,7 +81791,7 @@ } ] }, - "/apis/networking.k8s.io/": { + "/apis/flowcontrol.apiserver.k8s.io/": { "get": { "consumes": [ "application/json", @@ -81096,11 +81820,11 @@ "https" ], "tags": [ - "networking" + "flowcontrolApiserver" ] } }, - "/apis/networking.k8s.io/v1/": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/": { "get": { "consumes": [ "application/json", @@ -81129,17 +81853,17 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ] } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas": { "delete": { "consumes": [ "*/*" ], - "description": "delete collection of NetworkPolicy", - "operationId": "deleteCollectionNamespacedNetworkPolicy", + "description": "delete collection of FlowSchema", + "operationId": "deleteCollectionFlowSchema", "parameters": [ { "in": "body", @@ -81239,13 +81963,13 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "deletecollection", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -81253,11 +81977,11 @@ "consumes": [ "*/*" ], - "description": "list or watch objects of kind NetworkPolicy", - "operationId": "listNamespacedNetworkPolicy", + "description": "list or watch objects of kind FlowSchema", + "operationId": "listFlowSchema", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81324,7 +82048,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicyList" + "$ref": "#/definitions/v1alpha1.FlowSchemaList" } }, "401": { @@ -81335,24 +82059,16 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "list", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ - { - "description": "object name and auth scope, such as for teams and projects", - "in": "path", - "name": "namespace", - "required": true, - "type": "string", - "uniqueItems": true - }, { "description": "If 'true', then the output is pretty printed.", "in": "query", @@ -81365,15 +82081,15 @@ "consumes": [ "*/*" ], - "description": "create a NetworkPolicy", - "operationId": "createNamespacedNetworkPolicy", + "description": "create a FlowSchema", + "operationId": "createFlowSchema", "parameters": [ { "in": "body", "name": "body", "required": true, "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, { @@ -81400,19 +82116,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "201": { "description": "Created", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "202": { "description": "Accepted", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -81423,24 +82139,24 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "post", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" } }, - "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}": { "delete": { "consumes": [ "*/*" ], - "description": "delete a NetworkPolicy", - "operationId": "deleteNamespacedNetworkPolicy", + "description": "delete a FlowSchema", + "operationId": "deleteFlowSchema", "parameters": [ { "in": "body", @@ -81504,13 +82220,13 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "delete", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" }, "x-codegen-request-body-name": "body" }, @@ -81518,8 +82234,8 @@ "consumes": [ "*/*" ], - "description": "read the specified NetworkPolicy", - "operationId": "readNamespacedNetworkPolicy", + "description": "read the specified FlowSchema", + "operationId": "readFlowSchema", "parameters": [ { "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", @@ -81545,7 +82261,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.NetworkPolicy" + "$ref": "#/definitions/v1alpha1.FlowSchema" } }, "401": { @@ -81556,18 +82272,18 @@ "https" ], "tags": [ - "networking_v1" + "flowcontrolApiserver_v1alpha1" ], "x-kubernetes-action": "get", "x-kubernetes-group-version-kind": { - "group": "networking.k8s.io", - "kind": "NetworkPolicy", - "version": "v1" + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" } }, "parameters": [ { - "description": "name of the NetworkPolicy", + "description": "name of the FlowSchema", "in": "path", "name": "name", "required": true, @@ -81575,9 +82291,192 @@ "uniqueItems": true }, { - "description": "object name and auth scope, such as for teams and projects", + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified FlowSchema", + "operationId": "patchFlowSchema", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified FlowSchema", + "operationId": "replaceFlowSchema", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/flowschemas/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified FlowSchema", + "operationId": "readFlowSchemaStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the FlowSchema", "in": "path", - "name": "namespace", + "name": "name", "required": true, "type": "string", "uniqueItems": true @@ -81597,8 +82496,1723 @@ "application/strategic-merge-patch+json", "application/apply-patch+yaml" ], - "description": "partially update the specified NetworkPolicy", - "operationId": "patchNamespacedNetworkPolicy", + "description": "partially update status of the specified FlowSchema", + "operationId": "patchFlowSchemaStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified FlowSchema", + "operationId": "replaceFlowSchemaStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.FlowSchema" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "FlowSchema", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of PriorityLevelConfiguration", + "operationId": "deleteCollectionPriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": 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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind PriorityLevelConfiguration", + "operationId": "listPriorityLevelConfiguration", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfigurationList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a PriorityLevelConfiguration", + "operationId": "createPriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a PriorityLevelConfiguration", + "operationId": "deletePriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified PriorityLevelConfiguration", + "operationId": "readPriorityLevelConfiguration", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified PriorityLevelConfiguration", + "operationId": "patchPriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace the specified PriorityLevelConfiguration", + "operationId": "replacePriorityLevelConfiguration", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/prioritylevelconfigurations/{name}/status": { + "get": { + "consumes": [ + "*/*" + ], + "description": "read status of the specified PriorityLevelConfiguration", + "operationId": "readPriorityLevelConfigurationStatus", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + } + }, + "parameters": [ + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update status of the specified PriorityLevelConfiguration", + "operationId": "patchPriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { + "consumes": [ + "*/*" + ], + "description": "replace status of the specified PriorityLevelConfiguration", + "operationId": "replacePriorityLevelConfigurationStatus", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1alpha1.PriorityLevelConfiguration" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "flowcontrolApiserver_v1alpha1" + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "flowcontrol.apiserver.k8s.io", + "kind": "PriorityLevelConfiguration", + "version": "v1alpha1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/flowschemas/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the FlowSchema", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/flowcontrol.apiserver.k8s.io/v1alpha1/watch/prioritylevelconfigurations/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the PriorityLevelConfiguration", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/networking.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking" + ] + } + }, + "/apis/networking.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ] + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of NetworkPolicy", + "operationId": "deleteCollectionNamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": 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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind NetworkPolicy", + "operationId": "listNamespacedNetworkPolicy", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicyList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a NetworkPolicy", + "operationId": "createNamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "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" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + } + }, + "/apis/networking.k8s.io/v1/namespaces/{namespace}/networkpolicies/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a NetworkPolicy", + "operationId": "deleteNamespacedNetworkPolicy", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified NetworkPolicy", + "operationId": "readNamespacedNetworkPolicy", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.NetworkPolicy" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "networking_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "networking.k8s.io", + "kind": "NetworkPolicy", + "version": "v1" + } + }, + "parameters": [ + { + "description": "name of the NetworkPolicy", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "object name and auth scope, such as for teams and projects", + "in": "path", + "name": "namespace", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": true + } + ], + "patch": { + "consumes": [ + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified NetworkPolicy", + "operationId": "patchNamespacedNetworkPolicy", "parameters": [ { "in": "body", @@ -81768,7 +84382,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81835,7 +84449,7 @@ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81910,7 +84524,7 @@ "/apis/networking.k8s.io/v1/watch/namespaces/{namespace}/networkpolicies/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -81993,7 +84607,7 @@ "/apis/networking.k8s.io/v1/watch/networkpolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82130,7 +84744,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82318,7 +84932,7 @@ "operationId": "listNamespacedIngress", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -82991,7 +85605,7 @@ "/apis/networking.k8s.io/v1beta1/watch/ingresses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83058,7 +85672,7 @@ "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83133,7 +85747,7 @@ "/apis/networking.k8s.io/v1beta1/watch/namespaces/{namespace}/ingresses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83403,7 +86017,7 @@ "operationId": "listRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83861,7 +86475,7 @@ "/apis/node.k8s.io/v1alpha1/watch/runtimeclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -83928,7 +86542,7 @@ "/apis/node.k8s.io/v1alpha1/watch/runtimeclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84157,7 +86771,7 @@ "operationId": "listRuntimeClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84615,7 +87229,7 @@ "/apis/node.k8s.io/v1beta1/watch/runtimeclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84682,7 +87296,7 @@ "/apis/node.k8s.io/v1beta1/watch/runtimeclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -84944,7 +87558,7 @@ "operationId": "listNamespacedPodDisruptionBudget", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85654,7 +88268,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -85842,7 +88456,7 @@ "operationId": "listPodSecurityPolicy", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86300,7 +88914,7 @@ "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86375,7 +88989,7 @@ "/apis/policy/v1beta1/watch/namespaces/{namespace}/poddisruptionbudgets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86458,7 +89072,7 @@ "/apis/policy/v1beta1/watch/poddisruptionbudgets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86525,7 +89139,7 @@ "/apis/policy/v1beta1/watch/podsecuritypolicies": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86592,7 +89206,7 @@ "/apis/policy/v1beta1/watch/podsecuritypolicies/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -86854,7 +89468,7 @@ "operationId": "listClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87417,7 +90031,7 @@ "operationId": "listClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -87980,7 +90594,7 @@ "operationId": "listNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -88559,7 +91173,7 @@ "operationId": "listNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89054,7 +91668,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89158,7 +91772,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89225,7 +91839,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89292,7 +91906,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89367,7 +91981,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89434,7 +92048,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89509,7 +92123,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89584,7 +92198,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89667,7 +92281,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89742,7 +92356,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89825,7 +92439,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -89892,7 +92506,7 @@ "/apis/rbac.authorization.k8s.io/v1/watch/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90113,7 +92727,7 @@ "operationId": "listClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -90676,7 +93290,7 @@ "operationId": "listClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91239,7 +93853,7 @@ "operationId": "listNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -91818,7 +94432,7 @@ "operationId": "listNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92313,7 +94927,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92417,7 +95031,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92484,7 +95098,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92551,7 +95165,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterrolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92626,7 +95240,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92693,7 +95307,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/clusterroles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92768,7 +95382,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92843,7 +95457,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -92926,7 +95540,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93001,7 +95615,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93084,7 +95698,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93151,7 +95765,7 @@ "/apis/rbac.authorization.k8s.io/v1alpha1/watch/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93372,7 +95986,7 @@ "operationId": "listClusterRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -93935,7 +96549,7 @@ "operationId": "listClusterRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -94498,7 +97112,7 @@ "operationId": "listNamespacedRoleBinding", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95077,7 +97691,7 @@ "operationId": "listNamespacedRole", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95572,7 +98186,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95676,7 +98290,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95743,7 +98357,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95810,7 +98424,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterrolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95885,7 +98499,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -95952,7 +98566,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/clusterroles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96027,7 +98641,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96102,7 +98716,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/rolebindings/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96185,7 +98799,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96260,7 +98874,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/namespaces/{namespace}/roles/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96343,7 +98957,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/rolebindings": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96410,7 +99024,7 @@ "/apis/rbac.authorization.k8s.io/v1beta1/watch/roles": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -96664,7 +99278,7 @@ "operationId": "listPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97122,7 +99736,7 @@ "/apis/scheduling.k8s.io/v1/watch/priorityclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97189,7 +99803,7 @@ "/apis/scheduling.k8s.io/v1/watch/priorityclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97418,7 +100032,7 @@ "operationId": "listPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97876,7 +100490,7 @@ "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -97943,7 +100557,7 @@ "/apis/scheduling.k8s.io/v1alpha1/watch/priorityclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98172,7 +100786,7 @@ "operationId": "listPriorityClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98630,7 +101244,7 @@ "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98697,7 +101311,7 @@ "/apis/scheduling.k8s.io/v1beta1/watch/priorityclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -98959,7 +101573,7 @@ "operationId": "listNamespacedPodPreset", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99470,7 +102084,7 @@ }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99537,7 +102151,7 @@ "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99612,7 +102226,7 @@ "/apis/settings.k8s.io/v1alpha1/watch/namespaces/{namespace}/podpresets/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -99690,84 +102304,623 @@ "type": "boolean", "uniqueItems": true } - ] - }, - "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + ] + }, + "/apis/settings.k8s.io/v1alpha1/watch/podpresets": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get information of a group", + "operationId": "getAPIGroup", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIGroup" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage" + ] + } + }, + "/apis/storage.k8s.io/v1/": { + "get": { + "consumes": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "description": "get available resources", + "operationId": "getAPIResources", + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.APIResourceList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ] + } + }, + "/apis/storage.k8s.io/v1/csinodes": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete collection of CSINode", + "operationId": "deleteCollectionCSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the \"next key\".\n\nThis field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": 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", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "deletecollection", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "list or watch objects of kind CSINode", + "operationId": "listCSINode", + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf", + "application/json;stream=watch", + "application/vnd.kubernetes.protobuf;stream=watch" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.CSINodeList" + } + }, + "401": { + "description": "Unauthorized" + } + }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "list", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", - "in": "query", - "name": "allowWatchBookmarks", - "type": "boolean", - "uniqueItems": 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.", + "description": "If 'true', then the output is pretty printed.", "in": "query", - "name": "continue", + "name": "pretty", "type": "string", "uniqueItems": true + } + ], + "post": { + "consumes": [ + "*/*" + ], + "description": "create a CSINode", + "operationId": "createCSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.CSINode" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.CSINode" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "in": "query", - "name": "fieldSelector", - "type": "string", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "post", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" }, - { - "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "in": "query", - "name": "labelSelector", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + } + }, + "/apis/storage.k8s.io/v1/csinodes/{name}": { + "delete": { + "consumes": [ + "*/*" + ], + "description": "delete a CSINode", + "operationId": "deleteCSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "schema": { + "$ref": "#/definitions/v1.DeleteOptions" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "gracePeriodSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "orphanDependents", + "type": "boolean", + "uniqueItems": true + }, + { + "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.", + "in": "query", + "name": "propagationPolicy", + "type": "string", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "202": { + "description": "Accepted", + "schema": { + "$ref": "#/definitions/v1.Status" + } + }, + "401": { + "description": "Unauthorized" + } }, - { - "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", - "in": "query", - "name": "limit", - "type": "integer", - "uniqueItems": true + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "delete", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" }, - { - "description": "If 'true', then the output is pretty printed.", - "in": "query", - "name": "pretty", - "type": "string", - "uniqueItems": true + "x-codegen-request-body-name": "body" + }, + "get": { + "consumes": [ + "*/*" + ], + "description": "read the specified CSINode", + "operationId": "readCSINode", + "parameters": [ + { + "description": "Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "exact", + "type": "boolean", + "uniqueItems": true + }, + { + "description": "Should this value be exported. Export strips fields that a user can not specify. Deprecated. Planned for removal in 1.18.", + "in": "query", + "name": "export", + "type": "boolean", + "uniqueItems": true + } + ], + "produces": [ + "application/json", + "application/yaml", + "application/vnd.kubernetes.protobuf" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/v1.CSINode" + } + }, + "401": { + "description": "Unauthorized" + } }, + "schemes": [ + "https" + ], + "tags": [ + "storage_v1" + ], + "x-kubernetes-action": "get", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + } + }, + "parameters": [ { - "description": "When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv.", - "in": "query", - "name": "resourceVersion", + "description": "name of the CSINode", + "in": "path", + "name": "name", + "required": true, "type": "string", "uniqueItems": true }, { - "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", - "in": "query", - "name": "timeoutSeconds", - "type": "integer", - "uniqueItems": true - }, - { - "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "description": "If 'true', then the output is pretty printed.", "in": "query", - "name": "watch", - "type": "boolean", + "name": "pretty", + "type": "string", "uniqueItems": true } - ] - }, - "/apis/storage.k8s.io/": { - "get": { + ], + "patch": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "application/json-patch+json", + "application/merge-patch+json", + "application/strategic-merge-patch+json", + "application/apply-patch+yaml" + ], + "description": "partially update the specified CSINode", + "operationId": "patchCSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "description": "Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.", + "type": "object" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch).", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + }, + { + "description": "Force is going to \"force\" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests.", + "in": "query", + "name": "force", + "type": "boolean", + "uniqueItems": true + } ], - "description": "get information of a group", - "operationId": "getAPIGroup", "produces": [ "application/json", "application/yaml", @@ -99777,7 +102930,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIGroup" + "$ref": "#/definitions/v1.CSINode" } }, "401": { @@ -99788,19 +102941,46 @@ "https" ], "tags": [ - "storage" - ] - } - }, - "/apis/storage.k8s.io/v1/": { - "get": { + "storage_v1" + ], + "x-kubernetes-action": "patch", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + }, + "x-codegen-request-body-name": "body" + }, + "put": { "consumes": [ - "application/json", - "application/yaml", - "application/vnd.kubernetes.protobuf" + "*/*" + ], + "description": "replace the specified CSINode", + "operationId": "replaceCSINode", + "parameters": [ + { + "in": "body", + "name": "body", + "required": true, + "schema": { + "$ref": "#/definitions/v1.CSINode" + } + }, + { + "description": "When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed", + "in": "query", + "name": "dryRun", + "type": "string", + "uniqueItems": true + }, + { + "description": "fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint.", + "in": "query", + "name": "fieldManager", + "type": "string", + "uniqueItems": true + } ], - "description": "get available resources", - "operationId": "getAPIResources", "produces": [ "application/json", "application/yaml", @@ -99810,7 +102990,13 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/v1.APIResourceList" + "$ref": "#/definitions/v1.CSINode" + } + }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/v1.CSINode" } }, "401": { @@ -99822,7 +103008,14 @@ ], "tags": [ "storage_v1" - ] + ], + "x-kubernetes-action": "put", + "x-kubernetes-group-version-kind": { + "group": "storage.k8s.io", + "kind": "CSINode", + "version": "v1" + }, + "x-codegen-request-body-name": "body" } }, "/apis/storage.k8s.io/v1/storageclasses": { @@ -99949,7 +103142,7 @@ "operationId": "listStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -100528,7 +103721,7 @@ "operationId": "listVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101174,10 +104367,152 @@ "x-codegen-request-body-name": "body" } }, + "/apis/storage.k8s.io/v1/watch/csinodes": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, + "/apis/storage.k8s.io/v1/watch/csinodes/{name}": { + "parameters": [ + { + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", + "in": "query", + "name": "allowWatchBookmarks", + "type": "boolean", + "uniqueItems": 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.", + "in": "query", + "name": "continue", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", + "in": "query", + "name": "fieldSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", + "in": "query", + "name": "labelSelector", + "type": "string", + "uniqueItems": true + }, + { + "description": "limit is a maximum number of responses to return for a list call. If more items exist, the server will set the `continue` field on the list metadata to a value that can be used with the same initial query to retrieve the next set of results. Setting a limit may return fewer than the requested amount of items (up to zero items) in the event all requested objects are filtered out and clients should only use the presence of the continue field to determine whether more results are available. Servers may choose not to support the limit argument and will return all of the available results. If limit is specified and the continue field is empty, clients may assume that no more results are available. This field is not supported if watch is true.\n\nThe server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned.", + "in": "query", + "name": "limit", + "type": "integer", + "uniqueItems": true + }, + { + "description": "name of the CSINode", + "in": "path", + "name": "name", + "required": true, + "type": "string", + "uniqueItems": true + }, + { + "description": "If 'true', then the output is pretty printed.", + "in": "query", + "name": "pretty", + "type": "string", + "uniqueItems": 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.", + "in": "query", + "name": "resourceVersion", + "type": "string", + "uniqueItems": true + }, + { + "description": "Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity.", + "in": "query", + "name": "timeoutSeconds", + "type": "integer", + "uniqueItems": true + }, + { + "description": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", + "in": "query", + "name": "watch", + "type": "boolean", + "uniqueItems": true + } + ] + }, "/apis/storage.k8s.io/v1/watch/storageclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101244,7 +104579,7 @@ "/apis/storage.k8s.io/v1/watch/storageclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101319,7 +104654,7 @@ "/apis/storage.k8s.io/v1/watch/volumeattachments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101386,7 +104721,7 @@ "/apis/storage.k8s.io/v1/watch/volumeattachments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -101615,7 +104950,7 @@ "operationId": "listVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102073,7 +105408,7 @@ "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102140,7 +105475,7 @@ "/apis/storage.k8s.io/v1alpha1/watch/volumeattachments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102369,7 +105704,7 @@ "operationId": "listCSIDriver", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -102948,7 +106283,7 @@ "operationId": "listCSINode", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -103527,7 +106862,7 @@ "operationId": "listStorageClass", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104106,7 +107441,7 @@ "operationId": "listVolumeAttachment", "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104564,7 +107899,7 @@ "/apis/storage.k8s.io/v1beta1/watch/csidrivers": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104631,7 +107966,7 @@ "/apis/storage.k8s.io/v1beta1/watch/csidrivers/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104706,7 +108041,7 @@ "/apis/storage.k8s.io/v1beta1/watch/csinodes": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104773,7 +108108,7 @@ "/apis/storage.k8s.io/v1beta1/watch/csinodes/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104848,7 +108183,7 @@ "/apis/storage.k8s.io/v1beta1/watch/storageclasses": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104915,7 +108250,7 @@ "/apis/storage.k8s.io/v1beta1/watch/storageclasses/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -104990,7 +108325,7 @@ "/apis/storage.k8s.io/v1beta1/watch/volumeattachments": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", @@ -105057,7 +108392,7 @@ "/apis/storage.k8s.io/v1beta1/watch/volumeattachments/{name}": { "parameters": [ { - "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.\n\nThis field is beta.", + "description": "allowWatchBookmarks requests watch events with type \"BOOKMARK\". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. If the feature gate WatchBookmarks is not enabled in apiserver, this field is ignored.", "in": "query", "name": "allowWatchBookmarks", "type": "boolean", diff --git a/setup.py b/setup.py index 22ec5b69a5..9e28c59653 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "12.0.0-snapshot" +CLIENT_VERSION = "17.0.0-snapshot" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "3 - Alpha" From e842ec927be70301782c93c6b3e7c00fd90f3529 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Sat, 7 Nov 2020 12:22:55 +0530 Subject: [PATCH 22/51] Remove generated tests Signed-off-by: Nabarun Pal --- kubernetes/test/__init__.py | 0 .../test/test_admissionregistration_api.py | 39 - .../test/test_admissionregistration_v1_api.py | 123 - ...issionregistration_v1_service_reference.py | 57 - ...onregistration_v1_webhook_client_config.py | 58 - .../test_admissionregistration_v1beta1_api.py | 123 - ...nregistration_v1beta1_service_reference.py | 57 - ...istration_v1beta1_webhook_client_config.py | 58 - kubernetes/test/test_apiextensions_api.py | 39 - kubernetes/test/test_apiextensions_v1_api.py | 99 - ...test_apiextensions_v1_service_reference.py | 57 - ..._apiextensions_v1_webhook_client_config.py | 58 - .../test/test_apiextensions_v1beta1_api.py | 99 - ...apiextensions_v1beta1_service_reference.py | 57 - ...xtensions_v1beta1_webhook_client_config.py | 58 - kubernetes/test/test_apiregistration_api.py | 39 - .../test/test_apiregistration_v1_api.py | 99 - ...st_apiregistration_v1_service_reference.py | 54 - .../test/test_apiregistration_v1beta1_api.py | 99 - ...iregistration_v1beta1_service_reference.py | 54 - kubernetes/test/test_apis_api.py | 39 - kubernetes/test/test_apps_api.py | 39 - kubernetes/test/test_apps_v1_api.py | 405 -- kubernetes/test/test_apps_v1beta1_api.py | 261 - .../test/test_apps_v1beta1_deployment.py | 174 - .../test_apps_v1beta1_deployment_condition.py | 59 - .../test/test_apps_v1beta1_deployment_list.py | 232 - .../test_apps_v1beta1_deployment_rollback.py | 62 - .../test/test_apps_v1beta1_deployment_spec.py | 1043 --- .../test_apps_v1beta1_deployment_status.py | 67 - .../test_apps_v1beta1_deployment_strategy.py | 55 - .../test/test_apps_v1beta1_rollback_config.py | 52 - ..._apps_v1beta1_rolling_update_deployment.py | 53 - kubernetes/test/test_apps_v1beta1_scale.py | 100 - .../test/test_apps_v1beta1_scale_spec.py | 52 - .../test/test_apps_v1beta1_scale_status.py | 57 - kubernetes/test/test_apps_v1beta2_api.py | 405 -- kubernetes/test/test_auditregistration_api.py | 39 - .../test_auditregistration_v1alpha1_api.py | 81 - kubernetes/test/test_authentication_api.py | 39 - kubernetes/test/test_authentication_v1_api.py | 45 - .../test/test_authentication_v1beta1_api.py | 45 - kubernetes/test/test_authorization_api.py | 39 - kubernetes/test/test_authorization_v1_api.py | 63 - .../test/test_authorization_v1beta1_api.py | 63 - kubernetes/test/test_autoscaling_api.py | 39 - kubernetes/test/test_autoscaling_v1_api.py | 105 - .../test/test_autoscaling_v2beta1_api.py | 105 - .../test/test_autoscaling_v2beta2_api.py | 105 - kubernetes/test/test_batch_api.py | 39 - kubernetes/test/test_batch_v1_api.py | 105 - kubernetes/test/test_batch_v1beta1_api.py | 105 - kubernetes/test/test_batch_v2alpha1_api.py | 105 - kubernetes/test/test_certificates_api.py | 39 - .../test/test_certificates_v1beta1_api.py | 105 - kubernetes/test/test_coordination_api.py | 39 - kubernetes/test/test_coordination_v1_api.py | 87 - .../test/test_coordination_v1beta1_api.py | 87 - kubernetes/test/test_core_api.py | 39 - kubernetes/test/test_core_v1_api.py | 1227 ---- kubernetes/test/test_custom_objects_api.py | 189 - kubernetes/test/test_discovery_api.py | 39 - kubernetes/test/test_discovery_v1beta1_api.py | 87 - kubernetes/test/test_events_api.py | 39 - kubernetes/test/test_events_v1beta1_api.py | 87 - kubernetes/test/test_extensions_api.py | 39 - ...t_extensions_v1beta1_allowed_csi_driver.py | 53 - ..._extensions_v1beta1_allowed_flex_volume.py | 53 - ...st_extensions_v1beta1_allowed_host_path.py | 53 - .../test/test_extensions_v1beta1_api.py | 453 -- .../test_extensions_v1beta1_deployment.py | 607 -- ...extensions_v1beta1_deployment_condition.py | 59 - ...test_extensions_v1beta1_deployment_list.py | 232 - ..._extensions_v1beta1_deployment_rollback.py | 62 - ...test_extensions_v1beta1_deployment_spec.py | 1043 --- ...st_extensions_v1beta1_deployment_status.py | 67 - ..._extensions_v1beta1_deployment_strategy.py | 55 - ...sions_v1beta1_fs_group_strategy_options.py | 57 - ...test_extensions_v1beta1_host_port_range.py | 55 - ...st_extensions_v1beta1_http_ingress_path.py | 58 - ...ensions_v1beta1_http_ingress_rule_value.py | 65 - .../test/test_extensions_v1beta1_id_range.py | 55 - .../test/test_extensions_v1beta1_ingress.py | 122 - ...test_extensions_v1beta1_ingress_backend.py | 55 - .../test_extensions_v1beta1_ingress_list.py | 206 - .../test_extensions_v1beta1_ingress_rule.py | 60 - .../test_extensions_v1beta1_ingress_spec.py | 73 - .../test_extensions_v1beta1_ingress_status.py | 57 - .../test_extensions_v1beta1_ingress_tls.py | 55 - ..._extensions_v1beta1_pod_security_policy.py | 164 - ...nsions_v1beta1_pod_security_policy_list.py | 290 - ...nsions_v1beta1_pod_security_policy_spec.py | 165 - ...test_extensions_v1beta1_rollback_config.py | 52 - ...sions_v1beta1_rolling_update_deployment.py | 53 - ...s_v1beta1_run_as_group_strategy_options.py | 58 - ...ns_v1beta1_run_as_user_strategy_options.py | 58 - ..._v1beta1_runtime_class_strategy_options.py | 58 - .../test/test_extensions_v1beta1_scale.py | 100 - .../test_extensions_v1beta1_scale_spec.py | 52 - .../test_extensions_v1beta1_scale_status.py | 57 - ...sions_v1beta1_se_linux_strategy_options.py | 58 - ...a1_supplemental_groups_strategy_options.py | 57 - .../test/test_flowcontrol_apiserver_api.py | 39 - ...test_flowcontrol_apiserver_v1alpha1_api.py | 159 - .../test/test_flowcontrol_v1alpha1_subject.py | 60 - kubernetes/test/test_logs_api.py | 45 - kubernetes/test/test_networking_api.py | 39 - kubernetes/test/test_networking_v1_api.py | 87 - .../test/test_networking_v1beta1_api.py | 105 - ...st_networking_v1beta1_http_ingress_path.py | 58 - ...working_v1beta1_http_ingress_rule_value.py | 65 - .../test/test_networking_v1beta1_ingress.py | 122 - ...test_networking_v1beta1_ingress_backend.py | 55 - .../test_networking_v1beta1_ingress_list.py | 206 - .../test_networking_v1beta1_ingress_rule.py | 60 - .../test_networking_v1beta1_ingress_spec.py | 73 - .../test_networking_v1beta1_ingress_status.py | 57 - .../test_networking_v1beta1_ingress_tls.py | 55 - kubernetes/test/test_node_api.py | 39 - kubernetes/test/test_node_v1alpha1_api.py | 81 - kubernetes/test/test_node_v1beta1_api.py | 81 - kubernetes/test/test_policy_api.py | 39 - .../test_policy_v1beta1_allowed_csi_driver.py | 53 - ...test_policy_v1beta1_allowed_flex_volume.py | 53 - .../test_policy_v1beta1_allowed_host_path.py | 53 - kubernetes/test/test_policy_v1beta1_api.py | 147 - ...olicy_v1beta1_fs_group_strategy_options.py | 57 - .../test_policy_v1beta1_host_port_range.py | 55 - .../test/test_policy_v1beta1_id_range.py | 55 - ...test_policy_v1beta1_pod_security_policy.py | 164 - ...policy_v1beta1_pod_security_policy_list.py | 290 - ...policy_v1beta1_pod_security_policy_spec.py | 165 - ...y_v1beta1_run_as_group_strategy_options.py | 58 - ...cy_v1beta1_run_as_user_strategy_options.py | 58 - ..._v1beta1_runtime_class_strategy_options.py | 58 - ...olicy_v1beta1_se_linux_strategy_options.py | 58 - ...a1_supplemental_groups_strategy_options.py | 57 - .../test/test_rbac_authorization_api.py | 39 - .../test/test_rbac_authorization_v1_api.py | 219 - .../test_rbac_authorization_v1alpha1_api.py | 219 - .../test_rbac_authorization_v1beta1_api.py | 219 - kubernetes/test/test_rbac_v1alpha1_subject.py | 57 - kubernetes/test/test_scheduling_api.py | 39 - kubernetes/test/test_scheduling_v1_api.py | 81 - .../test/test_scheduling_v1alpha1_api.py | 81 - .../test/test_scheduling_v1beta1_api.py | 81 - kubernetes/test/test_settings_api.py | 39 - kubernetes/test/test_settings_v1alpha1_api.py | 87 - kubernetes/test/test_storage_api.py | 39 - kubernetes/test/test_storage_v1_api.py | 183 - kubernetes/test/test_storage_v1alpha1_api.py | 81 - kubernetes/test/test_storage_v1beta1_api.py | 207 - kubernetes/test/test_v1_affinity.py | 126 - kubernetes/test/test_v1_aggregation_rule.py | 65 - kubernetes/test/test_v1_api_group.py | 73 - kubernetes/test/test_v1_api_group_list.py | 91 - kubernetes/test/test_v1_api_resource.py | 74 - kubernetes/test/test_v1_api_resource_list.py | 93 - kubernetes/test/test_v1_api_service.py | 112 - .../test/test_v1_api_service_condition.py | 58 - kubernetes/test/test_v1_api_service_list.py | 186 - kubernetes/test/test_v1_api_service_spec.py | 67 - kubernetes/test/test_v1_api_service_status.py | 59 - kubernetes/test/test_v1_api_versions.py | 69 - kubernetes/test/test_v1_attached_volume.py | 55 - ...1_aws_elastic_block_store_volume_source.py | 56 - .../test/test_v1_azure_disk_volume_source.py | 59 - ..._v1_azure_file_persistent_volume_source.py | 57 - .../test/test_v1_azure_file_volume_source.py | 56 - kubernetes/test/test_v1_binding.py | 108 - .../test/test_v1_bound_object_reference.py | 55 - kubernetes/test/test_v1_capabilities.py | 57 - ...est_v1_ceph_fs_persistent_volume_source.py | 64 - .../test/test_v1_ceph_fs_volume_source.py | 63 - ...test_v1_cinder_persistent_volume_source.py | 58 - .../test/test_v1_cinder_volume_source.py | 57 - kubernetes/test/test_v1_client_ip_config.py | 52 - kubernetes/test/test_v1_cluster_role.py | 125 - .../test/test_v1_cluster_role_binding.py | 107 - .../test/test_v1_cluster_role_binding_list.py | 168 - kubernetes/test/test_v1_cluster_role_list.py | 212 - .../test/test_v1_component_condition.py | 57 - kubernetes/test/test_v1_component_status.py | 99 - .../test/test_v1_component_status_list.py | 160 - kubernetes/test/test_v1_config_map.py | 98 - .../test/test_v1_config_map_env_source.py | 53 - .../test/test_v1_config_map_key_selector.py | 55 - kubernetes/test/test_v1_config_map_list.py | 158 - .../test_v1_config_map_node_config_source.py | 59 - .../test/test_v1_config_map_projection.py | 59 - .../test/test_v1_config_map_volume_source.py | 60 - kubernetes/test/test_v1_container.py | 240 - kubernetes/test/test_v1_container_image.py | 58 - kubernetes/test/test_v1_container_port.py | 57 - kubernetes/test/test_v1_container_state.py | 64 - .../test/test_v1_container_state_running.py | 52 - .../test_v1_container_state_terminated.py | 59 - .../test/test_v1_container_state_waiting.py | 53 - kubernetes/test/test_v1_container_status.py | 91 - .../test/test_v1_controller_revision.py | 95 - .../test/test_v1_controller_revision_list.py | 150 - .../test_v1_cross_version_object_reference.py | 56 - kubernetes/test/test_v1_csi_node.py | 114 - kubernetes/test/test_v1_csi_node_driver.py | 60 - kubernetes/test/test_v1_csi_node_list.py | 168 - kubernetes/test/test_v1_csi_node_spec.py | 71 - .../test_v1_csi_persistent_volume_source.py | 72 - kubernetes/test/test_v1_csi_volume_source.py | 60 - ...st_v1_custom_resource_column_definition.py | 60 - .../test_v1_custom_resource_conversion.py | 65 - .../test_v1_custom_resource_definition.py | 2337 ------- ...v1_custom_resource_definition_condition.py | 58 - ...test_v1_custom_resource_definition_list.py | 2402 ------- ...est_v1_custom_resource_definition_names.py | 63 - ...test_v1_custom_resource_definition_spec.py | 2256 ------- ...st_v1_custom_resource_definition_status.py | 87 - ...t_v1_custom_resource_definition_version.py | 1133 ---- ...st_v1_custom_resource_subresource_scale.py | 56 - .../test_v1_custom_resource_subresources.py | 56 - .../test_v1_custom_resource_validation.py | 1111 ---- kubernetes/test/test_v1_daemon_endpoint.py | 53 - kubernetes/test/test_v1_daemon_set.py | 602 -- .../test/test_v1_daemon_set_condition.py | 58 - kubernetes/test/test_v1_daemon_set_list.py | 222 - kubernetes/test/test_v1_daemon_set_spec.py | 1049 --- kubernetes/test/test_v1_daemon_set_status.py | 72 - .../test_v1_daemon_set_update_strategy.py | 54 - kubernetes/test/test_v1_delete_options.py | 62 - kubernetes/test/test_v1_deployment.py | 605 -- .../test/test_v1_deployment_condition.py | 59 - kubernetes/test/test_v1_deployment_list.py | 228 - kubernetes/test/test_v1_deployment_spec.py | 1053 --- kubernetes/test/test_v1_deployment_status.py | 67 - .../test/test_v1_deployment_strategy.py | 55 - .../test/test_v1_downward_api_projection.py | 63 - .../test/test_v1_downward_api_volume_file.py | 61 - .../test_v1_downward_api_volume_source.py | 64 - .../test/test_v1_empty_dir_volume_source.py | 53 - kubernetes/test/test_v1_endpoint_address.py | 63 - kubernetes/test/test_v1_endpoint_port.py | 55 - kubernetes/test/test_v1_endpoint_subset.py | 85 - kubernetes/test/test_v1_endpoints.py | 121 - kubernetes/test/test_v1_endpoints_list.py | 204 - kubernetes/test/test_v1_env_from_source.py | 58 - kubernetes/test/test_v1_env_var.py | 70 - kubernetes/test/test_v1_env_var_source.py | 66 - .../test/test_v1_ephemeral_container.py | 241 - kubernetes/test/test_v1_event.py | 172 - kubernetes/test/test_v1_event_list.py | 212 - kubernetes/test/test_v1_event_series.py | 54 - kubernetes/test/test_v1_event_source.py | 53 - kubernetes/test/test_v1_exec_action.py | 54 - .../test/test_v1_external_documentation.py | 53 - kubernetes/test/test_v1_fc_volume_source.py | 60 - .../test_v1_flex_persistent_volume_source.py | 61 - kubernetes/test/test_v1_flex_volume_source.py | 60 - .../test/test_v1_flocker_volume_source.py | 53 - ...st_v1_gce_persistent_disk_volume_source.py | 56 - .../test/test_v1_git_repo_volume_source.py | 55 - ...t_v1_glusterfs_persistent_volume_source.py | 57 - .../test/test_v1_glusterfs_volume_source.py | 56 - .../test_v1_group_version_for_discovery.py | 55 - kubernetes/test/test_v1_handler.py | 68 - .../test/test_v1_horizontal_pod_autoscaler.py | 106 - .../test_v1_horizontal_pod_autoscaler_list.py | 174 - .../test_v1_horizontal_pod_autoscaler_spec.py | 63 - ...est_v1_horizontal_pod_autoscaler_status.py | 58 - kubernetes/test/test_v1_host_alias.py | 55 - .../test/test_v1_host_path_volume_source.py | 54 - kubernetes/test/test_v1_http_get_action.py | 61 - kubernetes/test/test_v1_http_header.py | 55 - kubernetes/test/test_v1_ip_block.py | 56 - .../test_v1_iscsi_persistent_volume_source.py | 69 - .../test/test_v1_iscsi_volume_source.py | 68 - kubernetes/test/test_v1_job.py | 599 -- kubernetes/test/test_v1_job_condition.py | 59 - kubernetes/test/test_v1_job_list.py | 216 - kubernetes/test/test_v1_job_spec.py | 1037 --- kubernetes/test/test_v1_job_status.py | 65 - kubernetes/test/test_v1_json_schema_props.py | 5808 ----------------- kubernetes/test/test_v1_key_to_path.py | 56 - kubernetes/test/test_v1_label_selector.py | 62 - .../test_v1_label_selector_requirement.py | 58 - kubernetes/test/test_v1_lease.py | 98 - kubernetes/test/test_v1_lease_list.py | 158 - kubernetes/test/test_v1_lease_spec.py | 56 - kubernetes/test/test_v1_lifecycle.py | 87 - kubernetes/test/test_v1_limit_range.py | 112 - kubernetes/test/test_v1_limit_range_item.py | 67 - kubernetes/test/test_v1_limit_range_list.py | 186 - kubernetes/test/test_v1_limit_range_spec.py | 89 - kubernetes/test/test_v1_list_meta.py | 55 - .../test/test_v1_load_balancer_ingress.py | 53 - .../test/test_v1_load_balancer_status.py | 56 - .../test/test_v1_local_object_reference.py | 52 - .../test_v1_local_subject_access_review.py | 141 - .../test/test_v1_local_volume_source.py | 54 - .../test/test_v1_managed_fields_entry.py | 57 - kubernetes/test/test_v1_mutating_webhook.py | 121 - .../test_v1_mutating_webhook_configuration.py | 141 - ..._v1_mutating_webhook_configuration_list.py | 244 - kubernetes/test/test_v1_namespace.py | 106 - .../test/test_v1_namespace_condition.py | 58 - kubernetes/test/test_v1_namespace_list.py | 168 - kubernetes/test/test_v1_namespace_spec.py | 54 - kubernetes/test/test_v1_namespace_status.py | 60 - kubernetes/test/test_v1_network_policy.py | 132 - .../test_v1_network_policy_egress_rule.py | 77 - .../test_v1_network_policy_ingress_rule.py | 77 - .../test/test_v1_network_policy_list.py | 226 - .../test/test_v1_network_policy_peer.py | 80 - .../test/test_v1_network_policy_port.py | 53 - .../test/test_v1_network_policy_spec.py | 136 - kubernetes/test/test_v1_nfs_volume_source.py | 56 - kubernetes/test/test_v1_node.py | 176 - kubernetes/test/test_v1_node_address.py | 55 - kubernetes/test/test_v1_node_affinity.py | 86 - kubernetes/test/test_v1_node_condition.py | 59 - kubernetes/test/test_v1_node_config_source.py | 57 - kubernetes/test/test_v1_node_config_status.py | 73 - .../test/test_v1_node_daemon_endpoints.py | 53 - kubernetes/test/test_v1_node_list.py | 302 - kubernetes/test/test_v1_node_selector.py | 83 - .../test/test_v1_node_selector_requirement.py | 58 - kubernetes/test/test_v1_node_selector_term.py | 67 - kubernetes/test/test_v1_node_spec.py | 72 - kubernetes/test/test_v1_node_status.py | 112 - kubernetes/test/test_v1_node_system_info.py | 71 - .../test/test_v1_non_resource_attributes.py | 53 - kubernetes/test/test_v1_non_resource_rule.py | 60 - .../test/test_v1_object_field_selector.py | 54 - kubernetes/test/test_v1_object_meta.py | 89 - kubernetes/test/test_v1_object_reference.py | 58 - kubernetes/test/test_v1_owner_reference.py | 61 - kubernetes/test/test_v1_persistent_volume.py | 287 - .../test/test_v1_persistent_volume_claim.py | 139 - ...st_v1_persistent_volume_claim_condition.py | 59 - .../test_v1_persistent_volume_claim_list.py | 234 - .../test_v1_persistent_volume_claim_spec.py | 80 - .../test_v1_persistent_volume_claim_status.py | 67 - ...1_persistent_volume_claim_volume_source.py | 54 - .../test/test_v1_persistent_volume_list.py | 536 -- .../test/test_v1_persistent_volume_spec.py | 261 - .../test/test_v1_persistent_volume_status.py | 54 - ...v1_photon_persistent_disk_volume_source.py | 54 - kubernetes/test/test_v1_pod.py | 603 -- kubernetes/test/test_v1_pod_affinity.py | 91 - kubernetes/test/test_v1_pod_affinity_term.py | 68 - kubernetes/test/test_v1_pod_anti_affinity.py | 91 - kubernetes/test/test_v1_pod_condition.py | 59 - kubernetes/test/test_v1_pod_dns_config.py | 62 - .../test/test_v1_pod_dns_config_option.py | 53 - kubernetes/test/test_v1_pod_ip.py | 52 - kubernetes/test/test_v1_pod_list.py | 1168 ---- kubernetes/test/test_v1_pod_readiness_gate.py | 53 - .../test/test_v1_pod_security_context.py | 72 - kubernetes/test/test_v1_pod_spec.py | 903 --- kubernetes/test/test_v1_pod_status.py | 147 - kubernetes/test/test_v1_pod_template.py | 576 -- kubernetes/test/test_v1_pod_template_list.py | 1036 --- kubernetes/test/test_v1_pod_template_spec.py | 534 -- kubernetes/test/test_v1_policy_rule.py | 69 - .../test/test_v1_portworx_volume_source.py | 55 - kubernetes/test/test_v1_preconditions.py | 53 - .../test/test_v1_preferred_scheduling_term.py | 81 - kubernetes/test/test_v1_priority_class.py | 97 - .../test/test_v1_priority_class_list.py | 154 - kubernetes/test/test_v1_probe.py | 73 - .../test/test_v1_projected_volume_source.py | 92 - .../test/test_v1_quobyte_volume_source.py | 59 - .../test_v1_rbd_persistent_volume_source.py | 67 - kubernetes/test/test_v1_rbd_volume_source.py | 66 - kubernetes/test/test_v1_replica_set.py | 161 - .../test/test_v1_replica_set_condition.py | 58 - kubernetes/test/test_v1_replica_set_list.py | 206 - kubernetes/test/test_v1_replica_set_spec.py | 561 -- kubernetes/test/test_v1_replica_set_status.py | 65 - .../test/test_v1_replication_controller.py | 152 - ...est_v1_replication_controller_condition.py | 58 - .../test_v1_replication_controller_list.py | 188 - .../test_v1_replication_controller_spec.py | 540 -- .../test_v1_replication_controller_status.py | 65 - .../test/test_v1_resource_attributes.py | 58 - .../test/test_v1_resource_field_selector.py | 55 - kubernetes/test/test_v1_resource_quota.py | 115 - .../test/test_v1_resource_quota_list.py | 186 - .../test/test_v1_resource_quota_spec.py | 66 - .../test/test_v1_resource_quota_status.py | 57 - .../test/test_v1_resource_requirements.py | 57 - kubernetes/test/test_v1_resource_rule.py | 66 - kubernetes/test/test_v1_role.py | 110 - kubernetes/test/test_v1_role_binding.py | 107 - kubernetes/test/test_v1_role_binding_list.py | 168 - kubernetes/test/test_v1_role_list.py | 182 - kubernetes/test/test_v1_role_ref.py | 57 - .../test/test_v1_rolling_update_daemon_set.py | 52 - .../test/test_v1_rolling_update_deployment.py | 53 - ...v1_rolling_update_stateful_set_strategy.py | 52 - .../test/test_v1_rule_with_operations.py | 64 - kubernetes/test/test_v1_scale.py | 97 - ...st_v1_scale_io_persistent_volume_source.py | 68 - .../test/test_v1_scale_io_volume_source.py | 66 - kubernetes/test/test_v1_scale_spec.py | 52 - kubernetes/test/test_v1_scale_status.py | 54 - kubernetes/test/test_v1_scope_selector.py | 59 - ...v1_scoped_resource_selector_requirement.py | 58 - kubernetes/test/test_v1_se_linux_options.py | 55 - kubernetes/test/test_v1_secret.py | 99 - kubernetes/test/test_v1_secret_env_source.py | 53 - .../test/test_v1_secret_key_selector.py | 55 - kubernetes/test/test_v1_secret_list.py | 160 - kubernetes/test/test_v1_secret_projection.py | 59 - kubernetes/test/test_v1_secret_reference.py | 53 - .../test/test_v1_secret_volume_source.py | 60 - kubernetes/test/test_v1_security_context.py | 74 - .../test_v1_self_subject_access_review.py | 121 - ...test_v1_self_subject_access_review_spec.py | 62 - .../test/test_v1_self_subject_rules_review.py | 123 - .../test_v1_self_subject_rules_review_spec.py | 52 - .../test_v1_server_address_by_client_cidr.py | 55 - kubernetes/test/test_v1_service.py | 132 - kubernetes/test/test_v1_service_account.py | 107 - .../test/test_v1_service_account_list.py | 176 - ...est_v1_service_account_token_projection.py | 55 - kubernetes/test/test_v1_service_list.py | 226 - kubernetes/test/test_v1_service_port.py | 57 - kubernetes/test/test_v1_service_spec.py | 83 - kubernetes/test/test_v1_service_status.py | 57 - .../test/test_v1_session_affinity_config.py | 53 - kubernetes/test/test_v1_stateful_set.py | 625 -- .../test/test_v1_stateful_set_condition.py | 58 - kubernetes/test/test_v1_stateful_set_list.py | 252 - kubernetes/test/test_v1_stateful_set_spec.py | 1140 ---- .../test/test_v1_stateful_set_status.py | 68 - .../test_v1_stateful_set_update_strategy.py | 54 - kubernetes/test/test_v1_status.py | 74 - kubernetes/test/test_v1_status_cause.py | 54 - kubernetes/test/test_v1_status_details.py | 62 - kubernetes/test/test_v1_storage_class.py | 113 - kubernetes/test/test_v1_storage_class_list.py | 186 - ..._v1_storage_os_persistent_volume_source.py | 63 - .../test/test_v1_storage_os_volume_source.py | 57 - kubernetes/test/test_v1_subject.py | 57 - .../test/test_v1_subject_access_review.py | 141 - .../test_v1_subject_access_review_spec.py | 72 - .../test_v1_subject_access_review_status.py | 56 - .../test_v1_subject_rules_review_status.py | 102 - kubernetes/test/test_v1_sysctl.py | 55 - kubernetes/test/test_v1_taint.py | 57 - kubernetes/test/test_v1_tcp_socket_action.py | 54 - kubernetes/test/test_v1_token_request.py | 115 - kubernetes/test/test_v1_token_request_spec.py | 63 - .../test/test_v1_token_request_status.py | 55 - kubernetes/test/test_v1_token_review.py | 119 - kubernetes/test/test_v1_token_review_spec.py | 55 - .../test/test_v1_token_review_status.py | 67 - kubernetes/test/test_v1_toleration.py | 56 - ..._v1_topology_selector_label_requirement.py | 59 - .../test/test_v1_topology_selector_term.py | 58 - .../test_v1_topology_spread_constraint.py | 69 - .../test_v1_typed_local_object_reference.py | 56 - kubernetes/test/test_v1_user_info.py | 61 - kubernetes/test/test_v1_validating_webhook.py | 120 - ...est_v1_validating_webhook_configuration.py | 140 - ...1_validating_webhook_configuration_list.py | 242 - kubernetes/test/test_v1_volume.py | 263 - kubernetes/test/test_v1_volume_attachment.py | 495 -- .../test/test_v1_volume_attachment_list.py | 560 -- .../test/test_v1_volume_attachment_source.py | 243 - .../test/test_v1_volume_attachment_spec.py | 441 -- .../test/test_v1_volume_attachment_status.py | 62 - kubernetes/test/test_v1_volume_device.py | 55 - kubernetes/test/test_v1_volume_error.py | 53 - kubernetes/test/test_v1_volume_mount.py | 59 - .../test/test_v1_volume_node_affinity.py | 68 - .../test/test_v1_volume_node_resources.py | 52 - kubernetes/test/test_v1_volume_projection.py | 86 - ...t_v1_vsphere_virtual_disk_volume_source.py | 56 - kubernetes/test/test_v1_watch_event.py | 55 - kubernetes/test/test_v1_webhook_conversion.py | 65 - .../test_v1_weighted_pod_affinity_term.py | 87 - ...est_v1_windows_security_context_options.py | 54 - .../test/test_v1alpha1_aggregation_rule.py | 65 - kubernetes/test/test_v1alpha1_audit_sink.py | 110 - .../test/test_v1alpha1_audit_sink_list.py | 182 - .../test/test_v1alpha1_audit_sink_spec.py | 85 - kubernetes/test/test_v1alpha1_cluster_role.py | 125 - .../test_v1alpha1_cluster_role_binding.py | 107 - ...test_v1alpha1_cluster_role_binding_list.py | 168 - .../test/test_v1alpha1_cluster_role_list.py | 212 - ...test_v1alpha1_flow_distinguisher_method.py | 53 - kubernetes/test/test_v1alpha1_flow_schema.py | 145 - .../test_v1alpha1_flow_schema_condition.py | 56 - .../test/test_v1alpha1_flow_schema_list.py | 252 - .../test/test_v1alpha1_flow_schema_spec.py | 97 - .../test/test_v1alpha1_flow_schema_status.py | 59 - .../test/test_v1alpha1_group_subject.py | 53 - .../test/test_v1alpha1_limit_response.py | 57 - ...a1_limited_priority_level_configuration.py | 58 - .../test_v1alpha1_non_resource_policy_rule.py | 63 - kubernetes/test/test_v1alpha1_overhead.py | 54 - kubernetes/test/test_v1alpha1_pod_preset.py | 319 - .../test/test_v1alpha1_pod_preset_list.py | 600 -- .../test/test_v1alpha1_pod_preset_spec.py | 279 - kubernetes/test/test_v1alpha1_policy.py | 56 - kubernetes/test/test_v1alpha1_policy_rule.py | 69 - ...est_v1alpha1_policy_rules_with_subjects.py | 98 - .../test/test_v1alpha1_priority_class.py | 97 - .../test/test_v1alpha1_priority_class_list.py | 154 - ...t_v1alpha1_priority_level_configuration.py | 110 - ..._priority_level_configuration_condition.py | 56 - ...lpha1_priority_level_configuration_list.py | 182 - ..._priority_level_configuration_reference.py | 53 - ...lpha1_priority_level_configuration_spec.py | 61 - ...ha1_priority_level_configuration_status.py | 59 - .../test_v1alpha1_queuing_configuration.py | 54 - .../test_v1alpha1_resource_policy_rule.py | 73 - kubernetes/test/test_v1alpha1_role.py | 110 - kubernetes/test/test_v1alpha1_role_binding.py | 107 - .../test/test_v1alpha1_role_binding_list.py | 168 - kubernetes/test/test_v1alpha1_role_list.py | 182 - kubernetes/test/test_v1alpha1_role_ref.py | 57 - .../test/test_v1alpha1_runtime_class.py | 128 - .../test/test_v1alpha1_runtime_class_list.py | 182 - .../test/test_v1alpha1_runtime_class_spec.py | 69 - kubernetes/test/test_v1alpha1_scheduling.py | 62 - .../test_v1alpha1_service_account_subject.py | 55 - .../test/test_v1alpha1_service_reference.py | 57 - kubernetes/test/test_v1alpha1_user_subject.py | 53 - .../test/test_v1alpha1_volume_attachment.py | 495 -- .../test_v1alpha1_volume_attachment_list.py | 560 -- .../test_v1alpha1_volume_attachment_source.py | 243 - .../test_v1alpha1_volume_attachment_spec.py | 441 -- .../test_v1alpha1_volume_attachment_status.py | 62 - kubernetes/test/test_v1alpha1_volume_error.py | 53 - kubernetes/test/test_v1alpha1_webhook.py | 70 - .../test_v1alpha1_webhook_client_config.py | 58 - .../test_v1alpha1_webhook_throttle_config.py | 53 - .../test/test_v1beta1_aggregation_rule.py | 65 - kubernetes/test/test_v1beta1_api_service.py | 112 - .../test_v1beta1_api_service_condition.py | 58 - .../test/test_v1beta1_api_service_list.py | 186 - .../test/test_v1beta1_api_service_spec.py | 67 - .../test/test_v1beta1_api_service_status.py | 59 - ...est_v1beta1_certificate_signing_request.py | 116 - ...1_certificate_signing_request_condition.py | 56 - ...1beta1_certificate_signing_request_list.py | 194 - ...1beta1_certificate_signing_request_spec.py | 66 - ...eta1_certificate_signing_request_status.py | 59 - kubernetes/test/test_v1beta1_cluster_role.py | 125 - .../test/test_v1beta1_cluster_role_binding.py | 107 - .../test_v1beta1_cluster_role_binding_list.py | 168 - .../test/test_v1beta1_cluster_role_list.py | 212 - .../test/test_v1beta1_controller_revision.py | 95 - .../test_v1beta1_controller_revision_list.py | 150 - kubernetes/test/test_v1beta1_cron_job.py | 171 - kubernetes/test/test_v1beta1_cron_job_list.py | 186 - kubernetes/test/test_v1beta1_cron_job_spec.py | 178 - .../test/test_v1beta1_cron_job_status.py | 62 - kubernetes/test/test_v1beta1_csi_driver.py | 104 - .../test/test_v1beta1_csi_driver_list.py | 158 - .../test/test_v1beta1_csi_driver_spec.py | 56 - kubernetes/test/test_v1beta1_csi_node.py | 114 - .../test/test_v1beta1_csi_node_driver.py | 60 - kubernetes/test/test_v1beta1_csi_node_list.py | 168 - kubernetes/test/test_v1beta1_csi_node_spec.py | 71 - ...beta1_custom_resource_column_definition.py | 60 - ...test_v1beta1_custom_resource_conversion.py | 64 - ...test_v1beta1_custom_resource_definition.py | 2339 ------- ...a1_custom_resource_definition_condition.py | 58 - ...v1beta1_custom_resource_definition_list.py | 2404 ------- ...1beta1_custom_resource_definition_names.py | 63 - ...v1beta1_custom_resource_definition_spec.py | 2250 ------- ...beta1_custom_resource_definition_status.py | 87 - ...eta1_custom_resource_definition_version.py | 1133 ---- ...beta1_custom_resource_subresource_scale.py | 56 - ...st_v1beta1_custom_resource_subresources.py | 56 - ...test_v1beta1_custom_resource_validation.py | 1111 ---- kubernetes/test/test_v1beta1_daemon_set.py | 603 -- .../test/test_v1beta1_daemon_set_condition.py | 58 - .../test/test_v1beta1_daemon_set_list.py | 224 - .../test/test_v1beta1_daemon_set_spec.py | 1038 --- .../test/test_v1beta1_daemon_set_status.py | 72 - ...test_v1beta1_daemon_set_update_strategy.py | 54 - kubernetes/test/test_v1beta1_endpoint.py | 71 - .../test/test_v1beta1_endpoint_conditions.py | 52 - kubernetes/test/test_v1beta1_endpoint_port.py | 55 - .../test/test_v1beta1_endpoint_slice.py | 141 - .../test/test_v1beta1_endpoint_slice_list.py | 202 - kubernetes/test/test_v1beta1_event.py | 126 - kubernetes/test/test_v1beta1_event_list.py | 212 - kubernetes/test/test_v1beta1_event_series.py | 57 - kubernetes/test/test_v1beta1_eviction.py | 104 - .../test_v1beta1_external_documentation.py | 53 - kubernetes/test/test_v1beta1_ip_block.py | 56 - .../test/test_v1beta1_job_template_spec.py | 149 - .../test/test_v1beta1_json_schema_props.py | 5808 ----------------- kubernetes/test/test_v1beta1_lease.py | 98 - kubernetes/test/test_v1beta1_lease_list.py | 158 - kubernetes/test/test_v1beta1_lease_spec.py | 56 - ...est_v1beta1_local_subject_access_review.py | 139 - .../test/test_v1beta1_mutating_webhook.py | 117 - ..._v1beta1_mutating_webhook_configuration.py | 141 - ...ta1_mutating_webhook_configuration_list.py | 244 - .../test/test_v1beta1_network_policy.py | 132 - ...test_v1beta1_network_policy_egress_rule.py | 77 - ...est_v1beta1_network_policy_ingress_rule.py | 77 - .../test/test_v1beta1_network_policy_list.py | 226 - .../test/test_v1beta1_network_policy_peer.py | 80 - .../test/test_v1beta1_network_policy_port.py | 53 - .../test/test_v1beta1_network_policy_spec.py | 136 - .../test_v1beta1_non_resource_attributes.py | 53 - .../test/test_v1beta1_non_resource_rule.py | 60 - kubernetes/test/test_v1beta1_overhead.py | 54 - .../test_v1beta1_pod_disruption_budget.py | 116 - ...test_v1beta1_pod_disruption_budget_list.py | 194 - ...test_v1beta1_pod_disruption_budget_spec.py | 65 - ...st_v1beta1_pod_disruption_budget_status.py | 63 - kubernetes/test/test_v1beta1_policy_rule.py | 69 - .../test/test_v1beta1_priority_class.py | 97 - .../test/test_v1beta1_priority_class_list.py | 154 - kubernetes/test/test_v1beta1_replica_set.py | 594 -- .../test_v1beta1_replica_set_condition.py | 58 - .../test/test_v1beta1_replica_set_list.py | 206 - .../test/test_v1beta1_replica_set_spec.py | 549 -- .../test/test_v1beta1_replica_set_status.py | 65 - .../test/test_v1beta1_resource_attributes.py | 58 - kubernetes/test/test_v1beta1_resource_rule.py | 66 - kubernetes/test/test_v1beta1_role.py | 110 - kubernetes/test/test_v1beta1_role_binding.py | 107 - .../test/test_v1beta1_role_binding_list.py | 168 - kubernetes/test/test_v1beta1_role_list.py | 182 - kubernetes/test/test_v1beta1_role_ref.py | 57 - .../test_v1beta1_rolling_update_daemon_set.py | 52 - ...a1_rolling_update_stateful_set_strategy.py | 52 - .../test/test_v1beta1_rule_with_operations.py | 64 - kubernetes/test/test_v1beta1_runtime_class.py | 110 - .../test/test_v1beta1_runtime_class_list.py | 180 - kubernetes/test/test_v1beta1_scheduling.py | 62 - ...test_v1beta1_self_subject_access_review.py | 121 - ...v1beta1_self_subject_access_review_spec.py | 62 - .../test_v1beta1_self_subject_rules_review.py | 123 - ..._v1beta1_self_subject_rules_review_spec.py | 52 - kubernetes/test/test_v1beta1_stateful_set.py | 625 -- .../test_v1beta1_stateful_set_condition.py | 58 - .../test/test_v1beta1_stateful_set_list.py | 252 - .../test/test_v1beta1_stateful_set_spec.py | 1128 ---- .../test/test_v1beta1_stateful_set_status.py | 68 - ...st_v1beta1_stateful_set_update_strategy.py | 54 - kubernetes/test/test_v1beta1_storage_class.py | 113 - .../test/test_v1beta1_storage_class_list.py | 186 - kubernetes/test/test_v1beta1_subject.py | 57 - .../test_v1beta1_subject_access_review.py | 139 - ...test_v1beta1_subject_access_review_spec.py | 72 - ...st_v1beta1_subject_access_review_status.py | 56 - ...est_v1beta1_subject_rules_review_status.py | 102 - kubernetes/test/test_v1beta1_token_review.py | 119 - .../test/test_v1beta1_token_review_spec.py | 55 - .../test/test_v1beta1_token_review_status.py | 67 - kubernetes/test/test_v1beta1_user_info.py | 61 - .../test/test_v1beta1_validating_webhook.py | 116 - ...1beta1_validating_webhook_configuration.py | 140 - ...1_validating_webhook_configuration_list.py | 242 - .../test/test_v1beta1_volume_attachment.py | 495 -- .../test_v1beta1_volume_attachment_list.py | 560 -- .../test_v1beta1_volume_attachment_source.py | 243 - .../test_v1beta1_volume_attachment_spec.py | 441 -- .../test_v1beta1_volume_attachment_status.py | 62 - kubernetes/test/test_v1beta1_volume_error.py | 53 - .../test_v1beta1_volume_node_resources.py | 52 - .../test/test_v1beta2_controller_revision.py | 95 - .../test_v1beta2_controller_revision_list.py | 150 - kubernetes/test/test_v1beta2_daemon_set.py | 602 -- .../test/test_v1beta2_daemon_set_condition.py | 58 - .../test/test_v1beta2_daemon_set_list.py | 222 - .../test/test_v1beta2_daemon_set_spec.py | 1049 --- .../test/test_v1beta2_daemon_set_status.py | 72 - ...test_v1beta2_daemon_set_update_strategy.py | 54 - kubernetes/test/test_v1beta2_deployment.py | 605 -- .../test/test_v1beta2_deployment_condition.py | 59 - .../test/test_v1beta2_deployment_list.py | 228 - .../test/test_v1beta2_deployment_spec.py | 1053 --- .../test/test_v1beta2_deployment_status.py | 67 - .../test/test_v1beta2_deployment_strategy.py | 55 - kubernetes/test/test_v1beta2_replica_set.py | 594 -- .../test_v1beta2_replica_set_condition.py | 58 - .../test/test_v1beta2_replica_set_list.py | 206 - .../test/test_v1beta2_replica_set_spec.py | 561 -- .../test/test_v1beta2_replica_set_status.py | 65 - .../test_v1beta2_rolling_update_daemon_set.py | 52 - .../test_v1beta2_rolling_update_deployment.py | 53 - ...a2_rolling_update_stateful_set_strategy.py | 52 - kubernetes/test/test_v1beta2_scale.py | 100 - kubernetes/test/test_v1beta2_scale_spec.py | 52 - kubernetes/test/test_v1beta2_scale_status.py | 57 - kubernetes/test/test_v1beta2_stateful_set.py | 625 -- .../test_v1beta2_stateful_set_condition.py | 58 - .../test/test_v1beta2_stateful_set_list.py | 252 - .../test/test_v1beta2_stateful_set_spec.py | 1140 ---- .../test/test_v1beta2_stateful_set_status.py | 68 - ...st_v1beta2_stateful_set_update_strategy.py | 54 - kubernetes/test/test_v2alpha1_cron_job.py | 151 - .../test/test_v2alpha1_cron_job_list.py | 186 - .../test/test_v2alpha1_cron_job_spec.py | 178 - .../test/test_v2alpha1_cron_job_status.py | 62 - .../test/test_v2alpha1_job_template_spec.py | 582 -- ..._v2beta1_cross_version_object_reference.py | 56 - .../test_v2beta1_external_metric_source.py | 67 - .../test_v2beta1_external_metric_status.py | 68 - .../test_v2beta1_horizontal_pod_autoscaler.py | 184 - ...ta1_horizontal_pod_autoscaler_condition.py | 58 - ..._v2beta1_horizontal_pod_autoscaler_list.py | 266 - ..._v2beta1_horizontal_pod_autoscaler_spec.py | 98 - ...2beta1_horizontal_pod_autoscaler_status.py | 109 - kubernetes/test/test_v2beta1_metric_spec.py | 108 - kubernetes/test/test_v2beta1_metric_status.py | 108 - .../test/test_v2beta1_object_metric_source.py | 76 - .../test/test_v2beta1_object_metric_status.py | 76 - .../test/test_v2beta1_pods_metric_source.py | 67 - .../test/test_v2beta1_pods_metric_status.py | 67 - .../test_v2beta1_resource_metric_source.py | 55 - .../test_v2beta1_resource_metric_status.py | 56 - ..._v2beta2_cross_version_object_reference.py | 56 - .../test_v2beta2_external_metric_source.py | 89 - .../test_v2beta2_external_metric_status.py | 87 - .../test_v2beta2_horizontal_pod_autoscaler.py | 210 - ...ta2_horizontal_pod_autoscaler_condition.py | 58 - ..._v2beta2_horizontal_pod_autoscaler_list.py | 296 - ..._v2beta2_horizontal_pod_autoscaler_spec.py | 113 - ...2beta2_horizontal_pod_autoscaler_status.py | 120 - .../test/test_v2beta2_metric_identifier.py | 65 - kubernetes/test/test_v2beta2_metric_spec.py | 124 - kubernetes/test/test_v2beta2_metric_status.py | 120 - kubernetes/test/test_v2beta2_metric_target.py | 56 - .../test/test_v2beta2_metric_value_status.py | 54 - .../test/test_v2beta2_object_metric_source.py | 97 - .../test/test_v2beta2_object_metric_status.py | 95 - .../test/test_v2beta2_pods_metric_source.py | 89 - .../test/test_v2beta2_pods_metric_status.py | 87 - .../test_v2beta2_resource_metric_source.py | 63 - .../test_v2beta2_resource_metric_status.py | 61 - kubernetes/test/test_version_api.py | 39 - kubernetes/test/test_version_info.py | 69 - 743 files changed, 127843 deletions(-) delete mode 100644 kubernetes/test/__init__.py delete mode 100644 kubernetes/test/test_admissionregistration_api.py delete mode 100644 kubernetes/test/test_admissionregistration_v1_api.py delete mode 100644 kubernetes/test/test_admissionregistration_v1_service_reference.py delete mode 100644 kubernetes/test/test_admissionregistration_v1_webhook_client_config.py delete mode 100644 kubernetes/test/test_admissionregistration_v1beta1_api.py delete mode 100644 kubernetes/test/test_admissionregistration_v1beta1_service_reference.py delete mode 100644 kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py delete mode 100644 kubernetes/test/test_apiextensions_api.py delete mode 100644 kubernetes/test/test_apiextensions_v1_api.py delete mode 100644 kubernetes/test/test_apiextensions_v1_service_reference.py delete mode 100644 kubernetes/test/test_apiextensions_v1_webhook_client_config.py delete mode 100644 kubernetes/test/test_apiextensions_v1beta1_api.py delete mode 100644 kubernetes/test/test_apiextensions_v1beta1_service_reference.py delete mode 100644 kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py delete mode 100644 kubernetes/test/test_apiregistration_api.py delete mode 100644 kubernetes/test/test_apiregistration_v1_api.py delete mode 100644 kubernetes/test/test_apiregistration_v1_service_reference.py delete mode 100644 kubernetes/test/test_apiregistration_v1beta1_api.py delete mode 100644 kubernetes/test/test_apiregistration_v1beta1_service_reference.py delete mode 100644 kubernetes/test/test_apis_api.py delete mode 100644 kubernetes/test/test_apps_api.py delete mode 100644 kubernetes/test/test_apps_v1_api.py delete mode 100644 kubernetes/test/test_apps_v1beta1_api.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_condition.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_list.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_rollback.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_spec.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_status.py delete mode 100644 kubernetes/test/test_apps_v1beta1_deployment_strategy.py delete mode 100644 kubernetes/test/test_apps_v1beta1_rollback_config.py delete mode 100644 kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py delete mode 100644 kubernetes/test/test_apps_v1beta1_scale.py delete mode 100644 kubernetes/test/test_apps_v1beta1_scale_spec.py delete mode 100644 kubernetes/test/test_apps_v1beta1_scale_status.py delete mode 100644 kubernetes/test/test_apps_v1beta2_api.py delete mode 100644 kubernetes/test/test_auditregistration_api.py delete mode 100644 kubernetes/test/test_auditregistration_v1alpha1_api.py delete mode 100644 kubernetes/test/test_authentication_api.py delete mode 100644 kubernetes/test/test_authentication_v1_api.py delete mode 100644 kubernetes/test/test_authentication_v1beta1_api.py delete mode 100644 kubernetes/test/test_authorization_api.py delete mode 100644 kubernetes/test/test_authorization_v1_api.py delete mode 100644 kubernetes/test/test_authorization_v1beta1_api.py delete mode 100644 kubernetes/test/test_autoscaling_api.py delete mode 100644 kubernetes/test/test_autoscaling_v1_api.py delete mode 100644 kubernetes/test/test_autoscaling_v2beta1_api.py delete mode 100644 kubernetes/test/test_autoscaling_v2beta2_api.py delete mode 100644 kubernetes/test/test_batch_api.py delete mode 100644 kubernetes/test/test_batch_v1_api.py delete mode 100644 kubernetes/test/test_batch_v1beta1_api.py delete mode 100644 kubernetes/test/test_batch_v2alpha1_api.py delete mode 100644 kubernetes/test/test_certificates_api.py delete mode 100644 kubernetes/test/test_certificates_v1beta1_api.py delete mode 100644 kubernetes/test/test_coordination_api.py delete mode 100644 kubernetes/test/test_coordination_v1_api.py delete mode 100644 kubernetes/test/test_coordination_v1beta1_api.py delete mode 100644 kubernetes/test/test_core_api.py delete mode 100644 kubernetes/test/test_core_v1_api.py delete mode 100644 kubernetes/test/test_custom_objects_api.py delete mode 100644 kubernetes/test/test_discovery_api.py delete mode 100644 kubernetes/test/test_discovery_v1beta1_api.py delete mode 100644 kubernetes/test/test_events_api.py delete mode 100644 kubernetes/test/test_events_v1beta1_api.py delete mode 100644 kubernetes/test/test_extensions_api.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_allowed_host_path.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_api.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_condition.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_list.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_rollback.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_spec.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_status.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_deployment_strategy.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_host_port_range.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_http_ingress_path.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_id_range.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_backend.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_list.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_rule.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_spec.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_status.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_ingress_tls.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_rollback_config.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_scale.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_scale_spec.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_scale_status.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py delete mode 100644 kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py delete mode 100644 kubernetes/test/test_flowcontrol_apiserver_api.py delete mode 100644 kubernetes/test/test_flowcontrol_apiserver_v1alpha1_api.py delete mode 100644 kubernetes/test/test_flowcontrol_v1alpha1_subject.py delete mode 100644 kubernetes/test/test_logs_api.py delete mode 100644 kubernetes/test/test_networking_api.py delete mode 100644 kubernetes/test/test_networking_v1_api.py delete mode 100644 kubernetes/test/test_networking_v1beta1_api.py delete mode 100644 kubernetes/test/test_networking_v1beta1_http_ingress_path.py delete mode 100644 kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_backend.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_list.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_rule.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_spec.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_status.py delete mode 100644 kubernetes/test/test_networking_v1beta1_ingress_tls.py delete mode 100644 kubernetes/test/test_node_api.py delete mode 100644 kubernetes/test/test_node_v1alpha1_api.py delete mode 100644 kubernetes/test/test_node_v1beta1_api.py delete mode 100644 kubernetes/test/test_policy_api.py delete mode 100644 kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py delete mode 100644 kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py delete mode 100644 kubernetes/test/test_policy_v1beta1_allowed_host_path.py delete mode 100644 kubernetes/test/test_policy_v1beta1_api.py delete mode 100644 kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_host_port_range.py delete mode 100644 kubernetes/test/test_policy_v1beta1_id_range.py delete mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy.py delete mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py delete mode 100644 kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py delete mode 100644 kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py delete mode 100644 kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py delete mode 100644 kubernetes/test/test_rbac_authorization_api.py delete mode 100644 kubernetes/test/test_rbac_authorization_v1_api.py delete mode 100644 kubernetes/test/test_rbac_authorization_v1alpha1_api.py delete mode 100644 kubernetes/test/test_rbac_authorization_v1beta1_api.py delete mode 100644 kubernetes/test/test_rbac_v1alpha1_subject.py delete mode 100644 kubernetes/test/test_scheduling_api.py delete mode 100644 kubernetes/test/test_scheduling_v1_api.py delete mode 100644 kubernetes/test/test_scheduling_v1alpha1_api.py delete mode 100644 kubernetes/test/test_scheduling_v1beta1_api.py delete mode 100644 kubernetes/test/test_settings_api.py delete mode 100644 kubernetes/test/test_settings_v1alpha1_api.py delete mode 100644 kubernetes/test/test_storage_api.py delete mode 100644 kubernetes/test/test_storage_v1_api.py delete mode 100644 kubernetes/test/test_storage_v1alpha1_api.py delete mode 100644 kubernetes/test/test_storage_v1beta1_api.py delete mode 100644 kubernetes/test/test_v1_affinity.py delete mode 100644 kubernetes/test/test_v1_aggregation_rule.py delete mode 100644 kubernetes/test/test_v1_api_group.py delete mode 100644 kubernetes/test/test_v1_api_group_list.py delete mode 100644 kubernetes/test/test_v1_api_resource.py delete mode 100644 kubernetes/test/test_v1_api_resource_list.py delete mode 100644 kubernetes/test/test_v1_api_service.py delete mode 100644 kubernetes/test/test_v1_api_service_condition.py delete mode 100644 kubernetes/test/test_v1_api_service_list.py delete mode 100644 kubernetes/test/test_v1_api_service_spec.py delete mode 100644 kubernetes/test/test_v1_api_service_status.py delete mode 100644 kubernetes/test/test_v1_api_versions.py delete mode 100644 kubernetes/test/test_v1_attached_volume.py delete mode 100644 kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py delete mode 100644 kubernetes/test/test_v1_azure_disk_volume_source.py delete mode 100644 kubernetes/test/test_v1_azure_file_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_azure_file_volume_source.py delete mode 100644 kubernetes/test/test_v1_binding.py delete mode 100644 kubernetes/test/test_v1_bound_object_reference.py delete mode 100644 kubernetes/test/test_v1_capabilities.py delete mode 100644 kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_ceph_fs_volume_source.py delete mode 100644 kubernetes/test/test_v1_cinder_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_cinder_volume_source.py delete mode 100644 kubernetes/test/test_v1_client_ip_config.py delete mode 100644 kubernetes/test/test_v1_cluster_role.py delete mode 100644 kubernetes/test/test_v1_cluster_role_binding.py delete mode 100644 kubernetes/test/test_v1_cluster_role_binding_list.py delete mode 100644 kubernetes/test/test_v1_cluster_role_list.py delete mode 100644 kubernetes/test/test_v1_component_condition.py delete mode 100644 kubernetes/test/test_v1_component_status.py delete mode 100644 kubernetes/test/test_v1_component_status_list.py delete mode 100644 kubernetes/test/test_v1_config_map.py delete mode 100644 kubernetes/test/test_v1_config_map_env_source.py delete mode 100644 kubernetes/test/test_v1_config_map_key_selector.py delete mode 100644 kubernetes/test/test_v1_config_map_list.py delete mode 100644 kubernetes/test/test_v1_config_map_node_config_source.py delete mode 100644 kubernetes/test/test_v1_config_map_projection.py delete mode 100644 kubernetes/test/test_v1_config_map_volume_source.py delete mode 100644 kubernetes/test/test_v1_container.py delete mode 100644 kubernetes/test/test_v1_container_image.py delete mode 100644 kubernetes/test/test_v1_container_port.py delete mode 100644 kubernetes/test/test_v1_container_state.py delete mode 100644 kubernetes/test/test_v1_container_state_running.py delete mode 100644 kubernetes/test/test_v1_container_state_terminated.py delete mode 100644 kubernetes/test/test_v1_container_state_waiting.py delete mode 100644 kubernetes/test/test_v1_container_status.py delete mode 100644 kubernetes/test/test_v1_controller_revision.py delete mode 100644 kubernetes/test/test_v1_controller_revision_list.py delete mode 100644 kubernetes/test/test_v1_cross_version_object_reference.py delete mode 100644 kubernetes/test/test_v1_csi_node.py delete mode 100644 kubernetes/test/test_v1_csi_node_driver.py delete mode 100644 kubernetes/test/test_v1_csi_node_list.py delete mode 100644 kubernetes/test/test_v1_csi_node_spec.py delete mode 100644 kubernetes/test/test_v1_csi_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_csi_volume_source.py delete mode 100644 kubernetes/test/test_v1_custom_resource_column_definition.py delete mode 100644 kubernetes/test/test_v1_custom_resource_conversion.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_condition.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_list.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_names.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_spec.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_status.py delete mode 100644 kubernetes/test/test_v1_custom_resource_definition_version.py delete mode 100644 kubernetes/test/test_v1_custom_resource_subresource_scale.py delete mode 100644 kubernetes/test/test_v1_custom_resource_subresources.py delete mode 100644 kubernetes/test/test_v1_custom_resource_validation.py delete mode 100644 kubernetes/test/test_v1_daemon_endpoint.py delete mode 100644 kubernetes/test/test_v1_daemon_set.py delete mode 100644 kubernetes/test/test_v1_daemon_set_condition.py delete mode 100644 kubernetes/test/test_v1_daemon_set_list.py delete mode 100644 kubernetes/test/test_v1_daemon_set_spec.py delete mode 100644 kubernetes/test/test_v1_daemon_set_status.py delete mode 100644 kubernetes/test/test_v1_daemon_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1_delete_options.py delete mode 100644 kubernetes/test/test_v1_deployment.py delete mode 100644 kubernetes/test/test_v1_deployment_condition.py delete mode 100644 kubernetes/test/test_v1_deployment_list.py delete mode 100644 kubernetes/test/test_v1_deployment_spec.py delete mode 100644 kubernetes/test/test_v1_deployment_status.py delete mode 100644 kubernetes/test/test_v1_deployment_strategy.py delete mode 100644 kubernetes/test/test_v1_downward_api_projection.py delete mode 100644 kubernetes/test/test_v1_downward_api_volume_file.py delete mode 100644 kubernetes/test/test_v1_downward_api_volume_source.py delete mode 100644 kubernetes/test/test_v1_empty_dir_volume_source.py delete mode 100644 kubernetes/test/test_v1_endpoint_address.py delete mode 100644 kubernetes/test/test_v1_endpoint_port.py delete mode 100644 kubernetes/test/test_v1_endpoint_subset.py delete mode 100644 kubernetes/test/test_v1_endpoints.py delete mode 100644 kubernetes/test/test_v1_endpoints_list.py delete mode 100644 kubernetes/test/test_v1_env_from_source.py delete mode 100644 kubernetes/test/test_v1_env_var.py delete mode 100644 kubernetes/test/test_v1_env_var_source.py delete mode 100644 kubernetes/test/test_v1_ephemeral_container.py delete mode 100644 kubernetes/test/test_v1_event.py delete mode 100644 kubernetes/test/test_v1_event_list.py delete mode 100644 kubernetes/test/test_v1_event_series.py delete mode 100644 kubernetes/test/test_v1_event_source.py delete mode 100644 kubernetes/test/test_v1_exec_action.py delete mode 100644 kubernetes/test/test_v1_external_documentation.py delete mode 100644 kubernetes/test/test_v1_fc_volume_source.py delete mode 100644 kubernetes/test/test_v1_flex_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_flex_volume_source.py delete mode 100644 kubernetes/test/test_v1_flocker_volume_source.py delete mode 100644 kubernetes/test/test_v1_gce_persistent_disk_volume_source.py delete mode 100644 kubernetes/test/test_v1_git_repo_volume_source.py delete mode 100644 kubernetes/test/test_v1_glusterfs_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_glusterfs_volume_source.py delete mode 100644 kubernetes/test/test_v1_group_version_for_discovery.py delete mode 100644 kubernetes/test/test_v1_handler.py delete mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler.py delete mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py delete mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py delete mode 100644 kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py delete mode 100644 kubernetes/test/test_v1_host_alias.py delete mode 100644 kubernetes/test/test_v1_host_path_volume_source.py delete mode 100644 kubernetes/test/test_v1_http_get_action.py delete mode 100644 kubernetes/test/test_v1_http_header.py delete mode 100644 kubernetes/test/test_v1_ip_block.py delete mode 100644 kubernetes/test/test_v1_iscsi_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_iscsi_volume_source.py delete mode 100644 kubernetes/test/test_v1_job.py delete mode 100644 kubernetes/test/test_v1_job_condition.py delete mode 100644 kubernetes/test/test_v1_job_list.py delete mode 100644 kubernetes/test/test_v1_job_spec.py delete mode 100644 kubernetes/test/test_v1_job_status.py delete mode 100644 kubernetes/test/test_v1_json_schema_props.py delete mode 100644 kubernetes/test/test_v1_key_to_path.py delete mode 100644 kubernetes/test/test_v1_label_selector.py delete mode 100644 kubernetes/test/test_v1_label_selector_requirement.py delete mode 100644 kubernetes/test/test_v1_lease.py delete mode 100644 kubernetes/test/test_v1_lease_list.py delete mode 100644 kubernetes/test/test_v1_lease_spec.py delete mode 100644 kubernetes/test/test_v1_lifecycle.py delete mode 100644 kubernetes/test/test_v1_limit_range.py delete mode 100644 kubernetes/test/test_v1_limit_range_item.py delete mode 100644 kubernetes/test/test_v1_limit_range_list.py delete mode 100644 kubernetes/test/test_v1_limit_range_spec.py delete mode 100644 kubernetes/test/test_v1_list_meta.py delete mode 100644 kubernetes/test/test_v1_load_balancer_ingress.py delete mode 100644 kubernetes/test/test_v1_load_balancer_status.py delete mode 100644 kubernetes/test/test_v1_local_object_reference.py delete mode 100644 kubernetes/test/test_v1_local_subject_access_review.py delete mode 100644 kubernetes/test/test_v1_local_volume_source.py delete mode 100644 kubernetes/test/test_v1_managed_fields_entry.py delete mode 100644 kubernetes/test/test_v1_mutating_webhook.py delete mode 100644 kubernetes/test/test_v1_mutating_webhook_configuration.py delete mode 100644 kubernetes/test/test_v1_mutating_webhook_configuration_list.py delete mode 100644 kubernetes/test/test_v1_namespace.py delete mode 100644 kubernetes/test/test_v1_namespace_condition.py delete mode 100644 kubernetes/test/test_v1_namespace_list.py delete mode 100644 kubernetes/test/test_v1_namespace_spec.py delete mode 100644 kubernetes/test/test_v1_namespace_status.py delete mode 100644 kubernetes/test/test_v1_network_policy.py delete mode 100644 kubernetes/test/test_v1_network_policy_egress_rule.py delete mode 100644 kubernetes/test/test_v1_network_policy_ingress_rule.py delete mode 100644 kubernetes/test/test_v1_network_policy_list.py delete mode 100644 kubernetes/test/test_v1_network_policy_peer.py delete mode 100644 kubernetes/test/test_v1_network_policy_port.py delete mode 100644 kubernetes/test/test_v1_network_policy_spec.py delete mode 100644 kubernetes/test/test_v1_nfs_volume_source.py delete mode 100644 kubernetes/test/test_v1_node.py delete mode 100644 kubernetes/test/test_v1_node_address.py delete mode 100644 kubernetes/test/test_v1_node_affinity.py delete mode 100644 kubernetes/test/test_v1_node_condition.py delete mode 100644 kubernetes/test/test_v1_node_config_source.py delete mode 100644 kubernetes/test/test_v1_node_config_status.py delete mode 100644 kubernetes/test/test_v1_node_daemon_endpoints.py delete mode 100644 kubernetes/test/test_v1_node_list.py delete mode 100644 kubernetes/test/test_v1_node_selector.py delete mode 100644 kubernetes/test/test_v1_node_selector_requirement.py delete mode 100644 kubernetes/test/test_v1_node_selector_term.py delete mode 100644 kubernetes/test/test_v1_node_spec.py delete mode 100644 kubernetes/test/test_v1_node_status.py delete mode 100644 kubernetes/test/test_v1_node_system_info.py delete mode 100644 kubernetes/test/test_v1_non_resource_attributes.py delete mode 100644 kubernetes/test/test_v1_non_resource_rule.py delete mode 100644 kubernetes/test/test_v1_object_field_selector.py delete mode 100644 kubernetes/test/test_v1_object_meta.py delete mode 100644 kubernetes/test/test_v1_object_reference.py delete mode 100644 kubernetes/test/test_v1_owner_reference.py delete mode 100644 kubernetes/test/test_v1_persistent_volume.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_condition.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_list.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_spec.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_status.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_claim_volume_source.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_list.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_spec.py delete mode 100644 kubernetes/test/test_v1_persistent_volume_status.py delete mode 100644 kubernetes/test/test_v1_photon_persistent_disk_volume_source.py delete mode 100644 kubernetes/test/test_v1_pod.py delete mode 100644 kubernetes/test/test_v1_pod_affinity.py delete mode 100644 kubernetes/test/test_v1_pod_affinity_term.py delete mode 100644 kubernetes/test/test_v1_pod_anti_affinity.py delete mode 100644 kubernetes/test/test_v1_pod_condition.py delete mode 100644 kubernetes/test/test_v1_pod_dns_config.py delete mode 100644 kubernetes/test/test_v1_pod_dns_config_option.py delete mode 100644 kubernetes/test/test_v1_pod_ip.py delete mode 100644 kubernetes/test/test_v1_pod_list.py delete mode 100644 kubernetes/test/test_v1_pod_readiness_gate.py delete mode 100644 kubernetes/test/test_v1_pod_security_context.py delete mode 100644 kubernetes/test/test_v1_pod_spec.py delete mode 100644 kubernetes/test/test_v1_pod_status.py delete mode 100644 kubernetes/test/test_v1_pod_template.py delete mode 100644 kubernetes/test/test_v1_pod_template_list.py delete mode 100644 kubernetes/test/test_v1_pod_template_spec.py delete mode 100644 kubernetes/test/test_v1_policy_rule.py delete mode 100644 kubernetes/test/test_v1_portworx_volume_source.py delete mode 100644 kubernetes/test/test_v1_preconditions.py delete mode 100644 kubernetes/test/test_v1_preferred_scheduling_term.py delete mode 100644 kubernetes/test/test_v1_priority_class.py delete mode 100644 kubernetes/test/test_v1_priority_class_list.py delete mode 100644 kubernetes/test/test_v1_probe.py delete mode 100644 kubernetes/test/test_v1_projected_volume_source.py delete mode 100644 kubernetes/test/test_v1_quobyte_volume_source.py delete mode 100644 kubernetes/test/test_v1_rbd_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_rbd_volume_source.py delete mode 100644 kubernetes/test/test_v1_replica_set.py delete mode 100644 kubernetes/test/test_v1_replica_set_condition.py delete mode 100644 kubernetes/test/test_v1_replica_set_list.py delete mode 100644 kubernetes/test/test_v1_replica_set_spec.py delete mode 100644 kubernetes/test/test_v1_replica_set_status.py delete mode 100644 kubernetes/test/test_v1_replication_controller.py delete mode 100644 kubernetes/test/test_v1_replication_controller_condition.py delete mode 100644 kubernetes/test/test_v1_replication_controller_list.py delete mode 100644 kubernetes/test/test_v1_replication_controller_spec.py delete mode 100644 kubernetes/test/test_v1_replication_controller_status.py delete mode 100644 kubernetes/test/test_v1_resource_attributes.py delete mode 100644 kubernetes/test/test_v1_resource_field_selector.py delete mode 100644 kubernetes/test/test_v1_resource_quota.py delete mode 100644 kubernetes/test/test_v1_resource_quota_list.py delete mode 100644 kubernetes/test/test_v1_resource_quota_spec.py delete mode 100644 kubernetes/test/test_v1_resource_quota_status.py delete mode 100644 kubernetes/test/test_v1_resource_requirements.py delete mode 100644 kubernetes/test/test_v1_resource_rule.py delete mode 100644 kubernetes/test/test_v1_role.py delete mode 100644 kubernetes/test/test_v1_role_binding.py delete mode 100644 kubernetes/test/test_v1_role_binding_list.py delete mode 100644 kubernetes/test/test_v1_role_list.py delete mode 100644 kubernetes/test/test_v1_role_ref.py delete mode 100644 kubernetes/test/test_v1_rolling_update_daemon_set.py delete mode 100644 kubernetes/test/test_v1_rolling_update_deployment.py delete mode 100644 kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py delete mode 100644 kubernetes/test/test_v1_rule_with_operations.py delete mode 100644 kubernetes/test/test_v1_scale.py delete mode 100644 kubernetes/test/test_v1_scale_io_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_scale_io_volume_source.py delete mode 100644 kubernetes/test/test_v1_scale_spec.py delete mode 100644 kubernetes/test/test_v1_scale_status.py delete mode 100644 kubernetes/test/test_v1_scope_selector.py delete mode 100644 kubernetes/test/test_v1_scoped_resource_selector_requirement.py delete mode 100644 kubernetes/test/test_v1_se_linux_options.py delete mode 100644 kubernetes/test/test_v1_secret.py delete mode 100644 kubernetes/test/test_v1_secret_env_source.py delete mode 100644 kubernetes/test/test_v1_secret_key_selector.py delete mode 100644 kubernetes/test/test_v1_secret_list.py delete mode 100644 kubernetes/test/test_v1_secret_projection.py delete mode 100644 kubernetes/test/test_v1_secret_reference.py delete mode 100644 kubernetes/test/test_v1_secret_volume_source.py delete mode 100644 kubernetes/test/test_v1_security_context.py delete mode 100644 kubernetes/test/test_v1_self_subject_access_review.py delete mode 100644 kubernetes/test/test_v1_self_subject_access_review_spec.py delete mode 100644 kubernetes/test/test_v1_self_subject_rules_review.py delete mode 100644 kubernetes/test/test_v1_self_subject_rules_review_spec.py delete mode 100644 kubernetes/test/test_v1_server_address_by_client_cidr.py delete mode 100644 kubernetes/test/test_v1_service.py delete mode 100644 kubernetes/test/test_v1_service_account.py delete mode 100644 kubernetes/test/test_v1_service_account_list.py delete mode 100644 kubernetes/test/test_v1_service_account_token_projection.py delete mode 100644 kubernetes/test/test_v1_service_list.py delete mode 100644 kubernetes/test/test_v1_service_port.py delete mode 100644 kubernetes/test/test_v1_service_spec.py delete mode 100644 kubernetes/test/test_v1_service_status.py delete mode 100644 kubernetes/test/test_v1_session_affinity_config.py delete mode 100644 kubernetes/test/test_v1_stateful_set.py delete mode 100644 kubernetes/test/test_v1_stateful_set_condition.py delete mode 100644 kubernetes/test/test_v1_stateful_set_list.py delete mode 100644 kubernetes/test/test_v1_stateful_set_spec.py delete mode 100644 kubernetes/test/test_v1_stateful_set_status.py delete mode 100644 kubernetes/test/test_v1_stateful_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1_status.py delete mode 100644 kubernetes/test/test_v1_status_cause.py delete mode 100644 kubernetes/test/test_v1_status_details.py delete mode 100644 kubernetes/test/test_v1_storage_class.py delete mode 100644 kubernetes/test/test_v1_storage_class_list.py delete mode 100644 kubernetes/test/test_v1_storage_os_persistent_volume_source.py delete mode 100644 kubernetes/test/test_v1_storage_os_volume_source.py delete mode 100644 kubernetes/test/test_v1_subject.py delete mode 100644 kubernetes/test/test_v1_subject_access_review.py delete mode 100644 kubernetes/test/test_v1_subject_access_review_spec.py delete mode 100644 kubernetes/test/test_v1_subject_access_review_status.py delete mode 100644 kubernetes/test/test_v1_subject_rules_review_status.py delete mode 100644 kubernetes/test/test_v1_sysctl.py delete mode 100644 kubernetes/test/test_v1_taint.py delete mode 100644 kubernetes/test/test_v1_tcp_socket_action.py delete mode 100644 kubernetes/test/test_v1_token_request.py delete mode 100644 kubernetes/test/test_v1_token_request_spec.py delete mode 100644 kubernetes/test/test_v1_token_request_status.py delete mode 100644 kubernetes/test/test_v1_token_review.py delete mode 100644 kubernetes/test/test_v1_token_review_spec.py delete mode 100644 kubernetes/test/test_v1_token_review_status.py delete mode 100644 kubernetes/test/test_v1_toleration.py delete mode 100644 kubernetes/test/test_v1_topology_selector_label_requirement.py delete mode 100644 kubernetes/test/test_v1_topology_selector_term.py delete mode 100644 kubernetes/test/test_v1_topology_spread_constraint.py delete mode 100644 kubernetes/test/test_v1_typed_local_object_reference.py delete mode 100644 kubernetes/test/test_v1_user_info.py delete mode 100644 kubernetes/test/test_v1_validating_webhook.py delete mode 100644 kubernetes/test/test_v1_validating_webhook_configuration.py delete mode 100644 kubernetes/test/test_v1_validating_webhook_configuration_list.py delete mode 100644 kubernetes/test/test_v1_volume.py delete mode 100644 kubernetes/test/test_v1_volume_attachment.py delete mode 100644 kubernetes/test/test_v1_volume_attachment_list.py delete mode 100644 kubernetes/test/test_v1_volume_attachment_source.py delete mode 100644 kubernetes/test/test_v1_volume_attachment_spec.py delete mode 100644 kubernetes/test/test_v1_volume_attachment_status.py delete mode 100644 kubernetes/test/test_v1_volume_device.py delete mode 100644 kubernetes/test/test_v1_volume_error.py delete mode 100644 kubernetes/test/test_v1_volume_mount.py delete mode 100644 kubernetes/test/test_v1_volume_node_affinity.py delete mode 100644 kubernetes/test/test_v1_volume_node_resources.py delete mode 100644 kubernetes/test/test_v1_volume_projection.py delete mode 100644 kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py delete mode 100644 kubernetes/test/test_v1_watch_event.py delete mode 100644 kubernetes/test/test_v1_webhook_conversion.py delete mode 100644 kubernetes/test/test_v1_weighted_pod_affinity_term.py delete mode 100644 kubernetes/test/test_v1_windows_security_context_options.py delete mode 100644 kubernetes/test/test_v1alpha1_aggregation_rule.py delete mode 100644 kubernetes/test/test_v1alpha1_audit_sink.py delete mode 100644 kubernetes/test/test_v1alpha1_audit_sink_list.py delete mode 100644 kubernetes/test/test_v1alpha1_audit_sink_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_cluster_role.py delete mode 100644 kubernetes/test/test_v1alpha1_cluster_role_binding.py delete mode 100644 kubernetes/test/test_v1alpha1_cluster_role_binding_list.py delete mode 100644 kubernetes/test/test_v1alpha1_cluster_role_list.py delete mode 100644 kubernetes/test/test_v1alpha1_flow_distinguisher_method.py delete mode 100644 kubernetes/test/test_v1alpha1_flow_schema.py delete mode 100644 kubernetes/test/test_v1alpha1_flow_schema_condition.py delete mode 100644 kubernetes/test/test_v1alpha1_flow_schema_list.py delete mode 100644 kubernetes/test/test_v1alpha1_flow_schema_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_flow_schema_status.py delete mode 100644 kubernetes/test/test_v1alpha1_group_subject.py delete mode 100644 kubernetes/test/test_v1alpha1_limit_response.py delete mode 100644 kubernetes/test/test_v1alpha1_limited_priority_level_configuration.py delete mode 100644 kubernetes/test/test_v1alpha1_non_resource_policy_rule.py delete mode 100644 kubernetes/test/test_v1alpha1_overhead.py delete mode 100644 kubernetes/test/test_v1alpha1_pod_preset.py delete mode 100644 kubernetes/test/test_v1alpha1_pod_preset_list.py delete mode 100644 kubernetes/test/test_v1alpha1_pod_preset_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_policy.py delete mode 100644 kubernetes/test/test_v1alpha1_policy_rule.py delete mode 100644 kubernetes/test/test_v1alpha1_policy_rules_with_subjects.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_class.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_class_list.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_condition.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_list.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_reference.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_priority_level_configuration_status.py delete mode 100644 kubernetes/test/test_v1alpha1_queuing_configuration.py delete mode 100644 kubernetes/test/test_v1alpha1_resource_policy_rule.py delete mode 100644 kubernetes/test/test_v1alpha1_role.py delete mode 100644 kubernetes/test/test_v1alpha1_role_binding.py delete mode 100644 kubernetes/test/test_v1alpha1_role_binding_list.py delete mode 100644 kubernetes/test/test_v1alpha1_role_list.py delete mode 100644 kubernetes/test/test_v1alpha1_role_ref.py delete mode 100644 kubernetes/test/test_v1alpha1_runtime_class.py delete mode 100644 kubernetes/test/test_v1alpha1_runtime_class_list.py delete mode 100644 kubernetes/test/test_v1alpha1_runtime_class_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_scheduling.py delete mode 100644 kubernetes/test/test_v1alpha1_service_account_subject.py delete mode 100644 kubernetes/test/test_v1alpha1_service_reference.py delete mode 100644 kubernetes/test/test_v1alpha1_user_subject.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_list.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_source.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_spec.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_attachment_status.py delete mode 100644 kubernetes/test/test_v1alpha1_volume_error.py delete mode 100644 kubernetes/test/test_v1alpha1_webhook.py delete mode 100644 kubernetes/test/test_v1alpha1_webhook_client_config.py delete mode 100644 kubernetes/test/test_v1alpha1_webhook_throttle_config.py delete mode 100644 kubernetes/test/test_v1beta1_aggregation_rule.py delete mode 100644 kubernetes/test/test_v1beta1_api_service.py delete mode 100644 kubernetes/test/test_v1beta1_api_service_condition.py delete mode 100644 kubernetes/test/test_v1beta1_api_service_list.py delete mode 100644 kubernetes/test/test_v1beta1_api_service_spec.py delete mode 100644 kubernetes/test/test_v1beta1_api_service_status.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_condition.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_list.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_spec.py delete mode 100644 kubernetes/test/test_v1beta1_certificate_signing_request_status.py delete mode 100644 kubernetes/test/test_v1beta1_cluster_role.py delete mode 100644 kubernetes/test/test_v1beta1_cluster_role_binding.py delete mode 100644 kubernetes/test/test_v1beta1_cluster_role_binding_list.py delete mode 100644 kubernetes/test/test_v1beta1_cluster_role_list.py delete mode 100644 kubernetes/test/test_v1beta1_controller_revision.py delete mode 100644 kubernetes/test/test_v1beta1_controller_revision_list.py delete mode 100644 kubernetes/test/test_v1beta1_cron_job.py delete mode 100644 kubernetes/test/test_v1beta1_cron_job_list.py delete mode 100644 kubernetes/test/test_v1beta1_cron_job_spec.py delete mode 100644 kubernetes/test/test_v1beta1_cron_job_status.py delete mode 100644 kubernetes/test/test_v1beta1_csi_driver.py delete mode 100644 kubernetes/test/test_v1beta1_csi_driver_list.py delete mode 100644 kubernetes/test/test_v1beta1_csi_driver_spec.py delete mode 100644 kubernetes/test/test_v1beta1_csi_node.py delete mode 100644 kubernetes/test/test_v1beta1_csi_node_driver.py delete mode 100644 kubernetes/test/test_v1beta1_csi_node_list.py delete mode 100644 kubernetes/test/test_v1beta1_csi_node_spec.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_column_definition.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_conversion.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_condition.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_list.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_names.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_spec.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_status.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_definition_version.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_subresources.py delete mode 100644 kubernetes/test/test_v1beta1_custom_resource_validation.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_condition.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_list.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_spec.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_status.py delete mode 100644 kubernetes/test/test_v1beta1_daemon_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1beta1_endpoint.py delete mode 100644 kubernetes/test/test_v1beta1_endpoint_conditions.py delete mode 100644 kubernetes/test/test_v1beta1_endpoint_port.py delete mode 100644 kubernetes/test/test_v1beta1_endpoint_slice.py delete mode 100644 kubernetes/test/test_v1beta1_endpoint_slice_list.py delete mode 100644 kubernetes/test/test_v1beta1_event.py delete mode 100644 kubernetes/test/test_v1beta1_event_list.py delete mode 100644 kubernetes/test/test_v1beta1_event_series.py delete mode 100644 kubernetes/test/test_v1beta1_eviction.py delete mode 100644 kubernetes/test/test_v1beta1_external_documentation.py delete mode 100644 kubernetes/test/test_v1beta1_ip_block.py delete mode 100644 kubernetes/test/test_v1beta1_job_template_spec.py delete mode 100644 kubernetes/test/test_v1beta1_json_schema_props.py delete mode 100644 kubernetes/test/test_v1beta1_lease.py delete mode 100644 kubernetes/test/test_v1beta1_lease_list.py delete mode 100644 kubernetes/test/test_v1beta1_lease_spec.py delete mode 100644 kubernetes/test/test_v1beta1_local_subject_access_review.py delete mode 100644 kubernetes/test/test_v1beta1_mutating_webhook.py delete mode 100644 kubernetes/test/test_v1beta1_mutating_webhook_configuration.py delete mode 100644 kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_egress_rule.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_ingress_rule.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_list.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_peer.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_port.py delete mode 100644 kubernetes/test/test_v1beta1_network_policy_spec.py delete mode 100644 kubernetes/test/test_v1beta1_non_resource_attributes.py delete mode 100644 kubernetes/test/test_v1beta1_non_resource_rule.py delete mode 100644 kubernetes/test/test_v1beta1_overhead.py delete mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget.py delete mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_list.py delete mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py delete mode 100644 kubernetes/test/test_v1beta1_pod_disruption_budget_status.py delete mode 100644 kubernetes/test/test_v1beta1_policy_rule.py delete mode 100644 kubernetes/test/test_v1beta1_priority_class.py delete mode 100644 kubernetes/test/test_v1beta1_priority_class_list.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set_condition.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set_list.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set_spec.py delete mode 100644 kubernetes/test/test_v1beta1_replica_set_status.py delete mode 100644 kubernetes/test/test_v1beta1_resource_attributes.py delete mode 100644 kubernetes/test/test_v1beta1_resource_rule.py delete mode 100644 kubernetes/test/test_v1beta1_role.py delete mode 100644 kubernetes/test/test_v1beta1_role_binding.py delete mode 100644 kubernetes/test/test_v1beta1_role_binding_list.py delete mode 100644 kubernetes/test/test_v1beta1_role_list.py delete mode 100644 kubernetes/test/test_v1beta1_role_ref.py delete mode 100644 kubernetes/test/test_v1beta1_rolling_update_daemon_set.py delete mode 100644 kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py delete mode 100644 kubernetes/test/test_v1beta1_rule_with_operations.py delete mode 100644 kubernetes/test/test_v1beta1_runtime_class.py delete mode 100644 kubernetes/test/test_v1beta1_runtime_class_list.py delete mode 100644 kubernetes/test/test_v1beta1_scheduling.py delete mode 100644 kubernetes/test/test_v1beta1_self_subject_access_review.py delete mode 100644 kubernetes/test/test_v1beta1_self_subject_access_review_spec.py delete mode 100644 kubernetes/test/test_v1beta1_self_subject_rules_review.py delete mode 100644 kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_condition.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_list.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_spec.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_status.py delete mode 100644 kubernetes/test/test_v1beta1_stateful_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1beta1_storage_class.py delete mode 100644 kubernetes/test/test_v1beta1_storage_class_list.py delete mode 100644 kubernetes/test/test_v1beta1_subject.py delete mode 100644 kubernetes/test/test_v1beta1_subject_access_review.py delete mode 100644 kubernetes/test/test_v1beta1_subject_access_review_spec.py delete mode 100644 kubernetes/test/test_v1beta1_subject_access_review_status.py delete mode 100644 kubernetes/test/test_v1beta1_subject_rules_review_status.py delete mode 100644 kubernetes/test/test_v1beta1_token_review.py delete mode 100644 kubernetes/test/test_v1beta1_token_review_spec.py delete mode 100644 kubernetes/test/test_v1beta1_token_review_status.py delete mode 100644 kubernetes/test/test_v1beta1_user_info.py delete mode 100644 kubernetes/test/test_v1beta1_validating_webhook.py delete mode 100644 kubernetes/test/test_v1beta1_validating_webhook_configuration.py delete mode 100644 kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment_list.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment_source.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment_spec.py delete mode 100644 kubernetes/test/test_v1beta1_volume_attachment_status.py delete mode 100644 kubernetes/test/test_v1beta1_volume_error.py delete mode 100644 kubernetes/test/test_v1beta1_volume_node_resources.py delete mode 100644 kubernetes/test/test_v1beta2_controller_revision.py delete mode 100644 kubernetes/test/test_v1beta2_controller_revision_list.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_condition.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_list.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_spec.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_status.py delete mode 100644 kubernetes/test/test_v1beta2_daemon_set_update_strategy.py delete mode 100644 kubernetes/test/test_v1beta2_deployment.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_condition.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_list.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_spec.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_status.py delete mode 100644 kubernetes/test/test_v1beta2_deployment_strategy.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set_condition.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set_list.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set_spec.py delete mode 100644 kubernetes/test/test_v1beta2_replica_set_status.py delete mode 100644 kubernetes/test/test_v1beta2_rolling_update_daemon_set.py delete mode 100644 kubernetes/test/test_v1beta2_rolling_update_deployment.py delete mode 100644 kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py delete mode 100644 kubernetes/test/test_v1beta2_scale.py delete mode 100644 kubernetes/test/test_v1beta2_scale_spec.py delete mode 100644 kubernetes/test/test_v1beta2_scale_status.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_condition.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_list.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_spec.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_status.py delete mode 100644 kubernetes/test/test_v1beta2_stateful_set_update_strategy.py delete mode 100644 kubernetes/test/test_v2alpha1_cron_job.py delete mode 100644 kubernetes/test/test_v2alpha1_cron_job_list.py delete mode 100644 kubernetes/test/test_v2alpha1_cron_job_spec.py delete mode 100644 kubernetes/test/test_v2alpha1_cron_job_status.py delete mode 100644 kubernetes/test/test_v2alpha1_job_template_spec.py delete mode 100644 kubernetes/test/test_v2beta1_cross_version_object_reference.py delete mode 100644 kubernetes/test/test_v2beta1_external_metric_source.py delete mode 100644 kubernetes/test/test_v2beta1_external_metric_status.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py delete mode 100644 kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py delete mode 100644 kubernetes/test/test_v2beta1_metric_spec.py delete mode 100644 kubernetes/test/test_v2beta1_metric_status.py delete mode 100644 kubernetes/test/test_v2beta1_object_metric_source.py delete mode 100644 kubernetes/test/test_v2beta1_object_metric_status.py delete mode 100644 kubernetes/test/test_v2beta1_pods_metric_source.py delete mode 100644 kubernetes/test/test_v2beta1_pods_metric_status.py delete mode 100644 kubernetes/test/test_v2beta1_resource_metric_source.py delete mode 100644 kubernetes/test/test_v2beta1_resource_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_cross_version_object_reference.py delete mode 100644 kubernetes/test/test_v2beta2_external_metric_source.py delete mode 100644 kubernetes/test/test_v2beta2_external_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py delete mode 100644 kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py delete mode 100644 kubernetes/test/test_v2beta2_metric_identifier.py delete mode 100644 kubernetes/test/test_v2beta2_metric_spec.py delete mode 100644 kubernetes/test/test_v2beta2_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_metric_target.py delete mode 100644 kubernetes/test/test_v2beta2_metric_value_status.py delete mode 100644 kubernetes/test/test_v2beta2_object_metric_source.py delete mode 100644 kubernetes/test/test_v2beta2_object_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_pods_metric_source.py delete mode 100644 kubernetes/test/test_v2beta2_pods_metric_status.py delete mode 100644 kubernetes/test/test_v2beta2_resource_metric_source.py delete mode 100644 kubernetes/test/test_v2beta2_resource_metric_status.py delete mode 100644 kubernetes/test/test_version_api.py delete mode 100644 kubernetes/test/test_version_info.py diff --git a/kubernetes/test/__init__.py b/kubernetes/test/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/kubernetes/test/test_admissionregistration_api.py b/kubernetes/test/test_admissionregistration_api.py deleted file mode 100644 index fb52b6ec57..0000000000 --- a/kubernetes/test/test_admissionregistration_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.admissionregistration_api import AdmissionregistrationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAdmissionregistrationApi(unittest.TestCase): - """AdmissionregistrationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.admissionregistration_api.AdmissionregistrationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1_api.py b/kubernetes/test/test_admissionregistration_v1_api.py deleted file mode 100644 index 425885637c..0000000000 --- a/kubernetes/test/test_admissionregistration_v1_api.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.admissionregistration_v1_api import AdmissionregistrationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAdmissionregistrationV1Api(unittest.TestCase): - """AdmissionregistrationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.admissionregistration_v1_api.AdmissionregistrationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_mutating_webhook_configuration(self): - """Test case for create_mutating_webhook_configuration - - """ - pass - - def test_create_validating_webhook_configuration(self): - """Test case for create_validating_webhook_configuration - - """ - pass - - def test_delete_collection_mutating_webhook_configuration(self): - """Test case for delete_collection_mutating_webhook_configuration - - """ - pass - - def test_delete_collection_validating_webhook_configuration(self): - """Test case for delete_collection_validating_webhook_configuration - - """ - pass - - def test_delete_mutating_webhook_configuration(self): - """Test case for delete_mutating_webhook_configuration - - """ - pass - - def test_delete_validating_webhook_configuration(self): - """Test case for delete_validating_webhook_configuration - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_mutating_webhook_configuration(self): - """Test case for list_mutating_webhook_configuration - - """ - pass - - def test_list_validating_webhook_configuration(self): - """Test case for list_validating_webhook_configuration - - """ - pass - - def test_patch_mutating_webhook_configuration(self): - """Test case for patch_mutating_webhook_configuration - - """ - pass - - def test_patch_validating_webhook_configuration(self): - """Test case for patch_validating_webhook_configuration - - """ - pass - - def test_read_mutating_webhook_configuration(self): - """Test case for read_mutating_webhook_configuration - - """ - pass - - def test_read_validating_webhook_configuration(self): - """Test case for read_validating_webhook_configuration - - """ - pass - - def test_replace_mutating_webhook_configuration(self): - """Test case for replace_mutating_webhook_configuration - - """ - pass - - def test_replace_validating_webhook_configuration(self): - """Test case for replace_validating_webhook_configuration - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1_service_reference.py b/kubernetes/test/test_admissionregistration_v1_service_reference.py deleted file mode 100644 index c988ef208e..0000000000 --- a/kubernetes/test/test_admissionregistration_v1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.admissionregistration_v1_service_reference import AdmissionregistrationV1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAdmissionregistrationV1ServiceReference(unittest.TestCase): - """AdmissionregistrationV1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AdmissionregistrationV1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.admissionregistration_v1_service_reference.AdmissionregistrationV1ServiceReference() # noqa: E501 - if include_optional : - return AdmissionregistrationV1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return AdmissionregistrationV1ServiceReference( - name = '0', - namespace = '0', - ) - - def testAdmissionregistrationV1ServiceReference(self): - """Test AdmissionregistrationV1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py b/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py deleted file mode 100644 index 0d0715cd2b..0000000000 --- a/kubernetes/test/test_admissionregistration_v1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.admissionregistration_v1_webhook_client_config import AdmissionregistrationV1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAdmissionregistrationV1WebhookClientConfig(unittest.TestCase): - """AdmissionregistrationV1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AdmissionregistrationV1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.admissionregistration_v1_webhook_client_config.AdmissionregistrationV1WebhookClientConfig() # noqa: E501 - if include_optional : - return AdmissionregistrationV1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return AdmissionregistrationV1WebhookClientConfig( - ) - - def testAdmissionregistrationV1WebhookClientConfig(self): - """Test AdmissionregistrationV1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_api.py b/kubernetes/test/test_admissionregistration_v1beta1_api.py deleted file mode 100644 index ca98dd9660..0000000000 --- a/kubernetes/test/test_admissionregistration_v1beta1_api.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.admissionregistration_v1beta1_api import AdmissionregistrationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAdmissionregistrationV1beta1Api(unittest.TestCase): - """AdmissionregistrationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.admissionregistration_v1beta1_api.AdmissionregistrationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_mutating_webhook_configuration(self): - """Test case for create_mutating_webhook_configuration - - """ - pass - - def test_create_validating_webhook_configuration(self): - """Test case for create_validating_webhook_configuration - - """ - pass - - def test_delete_collection_mutating_webhook_configuration(self): - """Test case for delete_collection_mutating_webhook_configuration - - """ - pass - - def test_delete_collection_validating_webhook_configuration(self): - """Test case for delete_collection_validating_webhook_configuration - - """ - pass - - def test_delete_mutating_webhook_configuration(self): - """Test case for delete_mutating_webhook_configuration - - """ - pass - - def test_delete_validating_webhook_configuration(self): - """Test case for delete_validating_webhook_configuration - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_mutating_webhook_configuration(self): - """Test case for list_mutating_webhook_configuration - - """ - pass - - def test_list_validating_webhook_configuration(self): - """Test case for list_validating_webhook_configuration - - """ - pass - - def test_patch_mutating_webhook_configuration(self): - """Test case for patch_mutating_webhook_configuration - - """ - pass - - def test_patch_validating_webhook_configuration(self): - """Test case for patch_validating_webhook_configuration - - """ - pass - - def test_read_mutating_webhook_configuration(self): - """Test case for read_mutating_webhook_configuration - - """ - pass - - def test_read_validating_webhook_configuration(self): - """Test case for read_validating_webhook_configuration - - """ - pass - - def test_replace_mutating_webhook_configuration(self): - """Test case for replace_mutating_webhook_configuration - - """ - pass - - def test_replace_validating_webhook_configuration(self): - """Test case for replace_validating_webhook_configuration - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py b/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py deleted file mode 100644 index 8da192efc2..0000000000 --- a/kubernetes/test/test_admissionregistration_v1beta1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.admissionregistration_v1beta1_service_reference import AdmissionregistrationV1beta1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAdmissionregistrationV1beta1ServiceReference(unittest.TestCase): - """AdmissionregistrationV1beta1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AdmissionregistrationV1beta1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.admissionregistration_v1beta1_service_reference.AdmissionregistrationV1beta1ServiceReference() # noqa: E501 - if include_optional : - return AdmissionregistrationV1beta1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return AdmissionregistrationV1beta1ServiceReference( - name = '0', - namespace = '0', - ) - - def testAdmissionregistrationV1beta1ServiceReference(self): - """Test AdmissionregistrationV1beta1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py b/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py deleted file mode 100644 index ba55eeba3f..0000000000 --- a/kubernetes/test/test_admissionregistration_v1beta1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.admissionregistration_v1beta1_webhook_client_config import AdmissionregistrationV1beta1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAdmissionregistrationV1beta1WebhookClientConfig(unittest.TestCase): - """AdmissionregistrationV1beta1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AdmissionregistrationV1beta1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.admissionregistration_v1beta1_webhook_client_config.AdmissionregistrationV1beta1WebhookClientConfig() # noqa: E501 - if include_optional : - return AdmissionregistrationV1beta1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return AdmissionregistrationV1beta1WebhookClientConfig( - ) - - def testAdmissionregistrationV1beta1WebhookClientConfig(self): - """Test AdmissionregistrationV1beta1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_api.py b/kubernetes/test/test_apiextensions_api.py deleted file mode 100644 index 537c02d02c..0000000000 --- a/kubernetes/test/test_apiextensions_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiextensions_api import ApiextensionsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiextensionsApi(unittest.TestCase): - """ApiextensionsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiextensions_api.ApiextensionsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1_api.py b/kubernetes/test/test_apiextensions_v1_api.py deleted file mode 100644 index 200eb56658..0000000000 --- a/kubernetes/test/test_apiextensions_v1_api.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiextensions_v1_api import ApiextensionsV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiextensionsV1Api(unittest.TestCase): - """ApiextensionsV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiextensions_v1_api.ApiextensionsV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_custom_resource_definition(self): - """Test case for create_custom_resource_definition - - """ - pass - - def test_delete_collection_custom_resource_definition(self): - """Test case for delete_collection_custom_resource_definition - - """ - pass - - def test_delete_custom_resource_definition(self): - """Test case for delete_custom_resource_definition - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_custom_resource_definition(self): - """Test case for list_custom_resource_definition - - """ - pass - - def test_patch_custom_resource_definition(self): - """Test case for patch_custom_resource_definition - - """ - pass - - def test_patch_custom_resource_definition_status(self): - """Test case for patch_custom_resource_definition_status - - """ - pass - - def test_read_custom_resource_definition(self): - """Test case for read_custom_resource_definition - - """ - pass - - def test_read_custom_resource_definition_status(self): - """Test case for read_custom_resource_definition_status - - """ - pass - - def test_replace_custom_resource_definition(self): - """Test case for replace_custom_resource_definition - - """ - pass - - def test_replace_custom_resource_definition_status(self): - """Test case for replace_custom_resource_definition_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1_service_reference.py b/kubernetes/test/test_apiextensions_v1_service_reference.py deleted file mode 100644 index d89426e98f..0000000000 --- a/kubernetes/test/test_apiextensions_v1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiextensions_v1_service_reference import ApiextensionsV1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiextensionsV1ServiceReference(unittest.TestCase): - """ApiextensionsV1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiextensionsV1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiextensions_v1_service_reference.ApiextensionsV1ServiceReference() # noqa: E501 - if include_optional : - return ApiextensionsV1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return ApiextensionsV1ServiceReference( - name = '0', - namespace = '0', - ) - - def testApiextensionsV1ServiceReference(self): - """Test ApiextensionsV1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1_webhook_client_config.py b/kubernetes/test/test_apiextensions_v1_webhook_client_config.py deleted file mode 100644 index 3a1436ae08..0000000000 --- a/kubernetes/test/test_apiextensions_v1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiextensions_v1_webhook_client_config import ApiextensionsV1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiextensionsV1WebhookClientConfig(unittest.TestCase): - """ApiextensionsV1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiextensionsV1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiextensions_v1_webhook_client_config.ApiextensionsV1WebhookClientConfig() # noqa: E501 - if include_optional : - return ApiextensionsV1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return ApiextensionsV1WebhookClientConfig( - ) - - def testApiextensionsV1WebhookClientConfig(self): - """Test ApiextensionsV1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_api.py b/kubernetes/test/test_apiextensions_v1beta1_api.py deleted file mode 100644 index 991ddb4686..0000000000 --- a/kubernetes/test/test_apiextensions_v1beta1_api.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiextensions_v1beta1_api import ApiextensionsV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiextensionsV1beta1Api(unittest.TestCase): - """ApiextensionsV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiextensions_v1beta1_api.ApiextensionsV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_custom_resource_definition(self): - """Test case for create_custom_resource_definition - - """ - pass - - def test_delete_collection_custom_resource_definition(self): - """Test case for delete_collection_custom_resource_definition - - """ - pass - - def test_delete_custom_resource_definition(self): - """Test case for delete_custom_resource_definition - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_custom_resource_definition(self): - """Test case for list_custom_resource_definition - - """ - pass - - def test_patch_custom_resource_definition(self): - """Test case for patch_custom_resource_definition - - """ - pass - - def test_patch_custom_resource_definition_status(self): - """Test case for patch_custom_resource_definition_status - - """ - pass - - def test_read_custom_resource_definition(self): - """Test case for read_custom_resource_definition - - """ - pass - - def test_read_custom_resource_definition_status(self): - """Test case for read_custom_resource_definition_status - - """ - pass - - def test_replace_custom_resource_definition(self): - """Test case for replace_custom_resource_definition - - """ - pass - - def test_replace_custom_resource_definition_status(self): - """Test case for replace_custom_resource_definition_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_service_reference.py b/kubernetes/test/test_apiextensions_v1beta1_service_reference.py deleted file mode 100644 index 2500cea777..0000000000 --- a/kubernetes/test/test_apiextensions_v1beta1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiextensions_v1beta1_service_reference import ApiextensionsV1beta1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiextensionsV1beta1ServiceReference(unittest.TestCase): - """ApiextensionsV1beta1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiextensionsV1beta1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiextensions_v1beta1_service_reference.ApiextensionsV1beta1ServiceReference() # noqa: E501 - if include_optional : - return ApiextensionsV1beta1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return ApiextensionsV1beta1ServiceReference( - name = '0', - namespace = '0', - ) - - def testApiextensionsV1beta1ServiceReference(self): - """Test ApiextensionsV1beta1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py b/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py deleted file mode 100644 index 92df257a79..0000000000 --- a/kubernetes/test/test_apiextensions_v1beta1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiextensions_v1beta1_webhook_client_config import ApiextensionsV1beta1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiextensionsV1beta1WebhookClientConfig(unittest.TestCase): - """ApiextensionsV1beta1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiextensionsV1beta1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiextensions_v1beta1_webhook_client_config.ApiextensionsV1beta1WebhookClientConfig() # noqa: E501 - if include_optional : - return ApiextensionsV1beta1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return ApiextensionsV1beta1WebhookClientConfig( - ) - - def testApiextensionsV1beta1WebhookClientConfig(self): - """Test ApiextensionsV1beta1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_api.py b/kubernetes/test/test_apiregistration_api.py deleted file mode 100644 index 52689f152f..0000000000 --- a/kubernetes/test/test_apiregistration_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiregistration_api import ApiregistrationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiregistrationApi(unittest.TestCase): - """ApiregistrationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiregistration_api.ApiregistrationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1_api.py b/kubernetes/test/test_apiregistration_v1_api.py deleted file mode 100644 index cd13fa5c31..0000000000 --- a/kubernetes/test/test_apiregistration_v1_api.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiregistration_v1_api import ApiregistrationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiregistrationV1Api(unittest.TestCase): - """ApiregistrationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiregistration_v1_api.ApiregistrationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_api_service(self): - """Test case for create_api_service - - """ - pass - - def test_delete_api_service(self): - """Test case for delete_api_service - - """ - pass - - def test_delete_collection_api_service(self): - """Test case for delete_collection_api_service - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_api_service(self): - """Test case for list_api_service - - """ - pass - - def test_patch_api_service(self): - """Test case for patch_api_service - - """ - pass - - def test_patch_api_service_status(self): - """Test case for patch_api_service_status - - """ - pass - - def test_read_api_service(self): - """Test case for read_api_service - - """ - pass - - def test_read_api_service_status(self): - """Test case for read_api_service_status - - """ - pass - - def test_replace_api_service(self): - """Test case for replace_api_service - - """ - pass - - def test_replace_api_service_status(self): - """Test case for replace_api_service_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1_service_reference.py b/kubernetes/test/test_apiregistration_v1_service_reference.py deleted file mode 100644 index b9faba7a37..0000000000 --- a/kubernetes/test/test_apiregistration_v1_service_reference.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiregistration_v1_service_reference import ApiregistrationV1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiregistrationV1ServiceReference(unittest.TestCase): - """ApiregistrationV1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiregistrationV1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiregistration_v1_service_reference.ApiregistrationV1ServiceReference() # noqa: E501 - if include_optional : - return ApiregistrationV1ServiceReference( - name = '0', - namespace = '0', - port = 56 - ) - else : - return ApiregistrationV1ServiceReference( - ) - - def testApiregistrationV1ServiceReference(self): - """Test ApiregistrationV1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1beta1_api.py b/kubernetes/test/test_apiregistration_v1beta1_api.py deleted file mode 100644 index 6e8e65710f..0000000000 --- a/kubernetes/test/test_apiregistration_v1beta1_api.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apiregistration_v1beta1_api import ApiregistrationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApiregistrationV1beta1Api(unittest.TestCase): - """ApiregistrationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apiregistration_v1beta1_api.ApiregistrationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_api_service(self): - """Test case for create_api_service - - """ - pass - - def test_delete_api_service(self): - """Test case for delete_api_service - - """ - pass - - def test_delete_collection_api_service(self): - """Test case for delete_collection_api_service - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_api_service(self): - """Test case for list_api_service - - """ - pass - - def test_patch_api_service(self): - """Test case for patch_api_service - - """ - pass - - def test_patch_api_service_status(self): - """Test case for patch_api_service_status - - """ - pass - - def test_read_api_service(self): - """Test case for read_api_service - - """ - pass - - def test_read_api_service_status(self): - """Test case for read_api_service_status - - """ - pass - - def test_replace_api_service(self): - """Test case for replace_api_service - - """ - pass - - def test_replace_api_service_status(self): - """Test case for replace_api_service_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py b/kubernetes/test/test_apiregistration_v1beta1_service_reference.py deleted file mode 100644 index 8db993b140..0000000000 --- a/kubernetes/test/test_apiregistration_v1beta1_service_reference.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apiregistration_v1beta1_service_reference import ApiregistrationV1beta1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestApiregistrationV1beta1ServiceReference(unittest.TestCase): - """ApiregistrationV1beta1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ApiregistrationV1beta1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apiregistration_v1beta1_service_reference.ApiregistrationV1beta1ServiceReference() # noqa: E501 - if include_optional : - return ApiregistrationV1beta1ServiceReference( - name = '0', - namespace = '0', - port = 56 - ) - else : - return ApiregistrationV1beta1ServiceReference( - ) - - def testApiregistrationV1beta1ServiceReference(self): - """Test ApiregistrationV1beta1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apis_api.py b/kubernetes/test/test_apis_api.py deleted file mode 100644 index 77b99cfa5f..0000000000 --- a/kubernetes/test/test_apis_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apis_api import ApisApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestApisApi(unittest.TestCase): - """ApisApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apis_api.ApisApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_versions(self): - """Test case for get_api_versions - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_api.py b/kubernetes/test/test_apps_api.py deleted file mode 100644 index 6c44798a81..0000000000 --- a/kubernetes/test/test_apps_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apps_api import AppsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAppsApi(unittest.TestCase): - """AppsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apps_api.AppsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1_api.py b/kubernetes/test/test_apps_v1_api.py deleted file mode 100644 index 79279ea909..0000000000 --- a/kubernetes/test/test_apps_v1_api.py +++ /dev/null @@ -1,405 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apps_v1_api import AppsV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAppsV1Api(unittest.TestCase): - """AppsV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apps_v1_api.AppsV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_controller_revision(self): - """Test case for create_namespaced_controller_revision - - """ - pass - - def test_create_namespaced_daemon_set(self): - """Test case for create_namespaced_daemon_set - - """ - pass - - def test_create_namespaced_deployment(self): - """Test case for create_namespaced_deployment - - """ - pass - - def test_create_namespaced_replica_set(self): - """Test case for create_namespaced_replica_set - - """ - pass - - def test_create_namespaced_stateful_set(self): - """Test case for create_namespaced_stateful_set - - """ - pass - - def test_delete_collection_namespaced_controller_revision(self): - """Test case for delete_collection_namespaced_controller_revision - - """ - pass - - def test_delete_collection_namespaced_daemon_set(self): - """Test case for delete_collection_namespaced_daemon_set - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """Test case for delete_collection_namespaced_deployment - - """ - pass - - def test_delete_collection_namespaced_replica_set(self): - """Test case for delete_collection_namespaced_replica_set - - """ - pass - - def test_delete_collection_namespaced_stateful_set(self): - """Test case for delete_collection_namespaced_stateful_set - - """ - pass - - def test_delete_namespaced_controller_revision(self): - """Test case for delete_namespaced_controller_revision - - """ - pass - - def test_delete_namespaced_daemon_set(self): - """Test case for delete_namespaced_daemon_set - - """ - pass - - def test_delete_namespaced_deployment(self): - """Test case for delete_namespaced_deployment - - """ - pass - - def test_delete_namespaced_replica_set(self): - """Test case for delete_namespaced_replica_set - - """ - pass - - def test_delete_namespaced_stateful_set(self): - """Test case for delete_namespaced_stateful_set - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_controller_revision_for_all_namespaces(self): - """Test case for list_controller_revision_for_all_namespaces - - """ - pass - - def test_list_daemon_set_for_all_namespaces(self): - """Test case for list_daemon_set_for_all_namespaces - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """Test case for list_deployment_for_all_namespaces - - """ - pass - - def test_list_namespaced_controller_revision(self): - """Test case for list_namespaced_controller_revision - - """ - pass - - def test_list_namespaced_daemon_set(self): - """Test case for list_namespaced_daemon_set - - """ - pass - - def test_list_namespaced_deployment(self): - """Test case for list_namespaced_deployment - - """ - pass - - def test_list_namespaced_replica_set(self): - """Test case for list_namespaced_replica_set - - """ - pass - - def test_list_namespaced_stateful_set(self): - """Test case for list_namespaced_stateful_set - - """ - pass - - def test_list_replica_set_for_all_namespaces(self): - """Test case for list_replica_set_for_all_namespaces - - """ - pass - - def test_list_stateful_set_for_all_namespaces(self): - """Test case for list_stateful_set_for_all_namespaces - - """ - pass - - def test_patch_namespaced_controller_revision(self): - """Test case for patch_namespaced_controller_revision - - """ - pass - - def test_patch_namespaced_daemon_set(self): - """Test case for patch_namespaced_daemon_set - - """ - pass - - def test_patch_namespaced_daemon_set_status(self): - """Test case for patch_namespaced_daemon_set_status - - """ - pass - - def test_patch_namespaced_deployment(self): - """Test case for patch_namespaced_deployment - - """ - pass - - def test_patch_namespaced_deployment_scale(self): - """Test case for patch_namespaced_deployment_scale - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """Test case for patch_namespaced_deployment_status - - """ - pass - - def test_patch_namespaced_replica_set(self): - """Test case for patch_namespaced_replica_set - - """ - pass - - def test_patch_namespaced_replica_set_scale(self): - """Test case for patch_namespaced_replica_set_scale - - """ - pass - - def test_patch_namespaced_replica_set_status(self): - """Test case for patch_namespaced_replica_set_status - - """ - pass - - def test_patch_namespaced_stateful_set(self): - """Test case for patch_namespaced_stateful_set - - """ - pass - - def test_patch_namespaced_stateful_set_scale(self): - """Test case for patch_namespaced_stateful_set_scale - - """ - pass - - def test_patch_namespaced_stateful_set_status(self): - """Test case for patch_namespaced_stateful_set_status - - """ - pass - - def test_read_namespaced_controller_revision(self): - """Test case for read_namespaced_controller_revision - - """ - pass - - def test_read_namespaced_daemon_set(self): - """Test case for read_namespaced_daemon_set - - """ - pass - - def test_read_namespaced_daemon_set_status(self): - """Test case for read_namespaced_daemon_set_status - - """ - pass - - def test_read_namespaced_deployment(self): - """Test case for read_namespaced_deployment - - """ - pass - - def test_read_namespaced_deployment_scale(self): - """Test case for read_namespaced_deployment_scale - - """ - pass - - def test_read_namespaced_deployment_status(self): - """Test case for read_namespaced_deployment_status - - """ - pass - - def test_read_namespaced_replica_set(self): - """Test case for read_namespaced_replica_set - - """ - pass - - def test_read_namespaced_replica_set_scale(self): - """Test case for read_namespaced_replica_set_scale - - """ - pass - - def test_read_namespaced_replica_set_status(self): - """Test case for read_namespaced_replica_set_status - - """ - pass - - def test_read_namespaced_stateful_set(self): - """Test case for read_namespaced_stateful_set - - """ - pass - - def test_read_namespaced_stateful_set_scale(self): - """Test case for read_namespaced_stateful_set_scale - - """ - pass - - def test_read_namespaced_stateful_set_status(self): - """Test case for read_namespaced_stateful_set_status - - """ - pass - - def test_replace_namespaced_controller_revision(self): - """Test case for replace_namespaced_controller_revision - - """ - pass - - def test_replace_namespaced_daemon_set(self): - """Test case for replace_namespaced_daemon_set - - """ - pass - - def test_replace_namespaced_daemon_set_status(self): - """Test case for replace_namespaced_daemon_set_status - - """ - pass - - def test_replace_namespaced_deployment(self): - """Test case for replace_namespaced_deployment - - """ - pass - - def test_replace_namespaced_deployment_scale(self): - """Test case for replace_namespaced_deployment_scale - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """Test case for replace_namespaced_deployment_status - - """ - pass - - def test_replace_namespaced_replica_set(self): - """Test case for replace_namespaced_replica_set - - """ - pass - - def test_replace_namespaced_replica_set_scale(self): - """Test case for replace_namespaced_replica_set_scale - - """ - pass - - def test_replace_namespaced_replica_set_status(self): - """Test case for replace_namespaced_replica_set_status - - """ - pass - - def test_replace_namespaced_stateful_set(self): - """Test case for replace_namespaced_stateful_set - - """ - pass - - def test_replace_namespaced_stateful_set_scale(self): - """Test case for replace_namespaced_stateful_set_scale - - """ - pass - - def test_replace_namespaced_stateful_set_status(self): - """Test case for replace_namespaced_stateful_set_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_api.py b/kubernetes/test/test_apps_v1beta1_api.py deleted file mode 100644 index c8f109a494..0000000000 --- a/kubernetes/test/test_apps_v1beta1_api.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apps_v1beta1_api import AppsV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAppsV1beta1Api(unittest.TestCase): - """AppsV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apps_v1beta1_api.AppsV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_controller_revision(self): - """Test case for create_namespaced_controller_revision - - """ - pass - - def test_create_namespaced_deployment(self): - """Test case for create_namespaced_deployment - - """ - pass - - def test_create_namespaced_deployment_rollback(self): - """Test case for create_namespaced_deployment_rollback - - """ - pass - - def test_create_namespaced_stateful_set(self): - """Test case for create_namespaced_stateful_set - - """ - pass - - def test_delete_collection_namespaced_controller_revision(self): - """Test case for delete_collection_namespaced_controller_revision - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """Test case for delete_collection_namespaced_deployment - - """ - pass - - def test_delete_collection_namespaced_stateful_set(self): - """Test case for delete_collection_namespaced_stateful_set - - """ - pass - - def test_delete_namespaced_controller_revision(self): - """Test case for delete_namespaced_controller_revision - - """ - pass - - def test_delete_namespaced_deployment(self): - """Test case for delete_namespaced_deployment - - """ - pass - - def test_delete_namespaced_stateful_set(self): - """Test case for delete_namespaced_stateful_set - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_controller_revision_for_all_namespaces(self): - """Test case for list_controller_revision_for_all_namespaces - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """Test case for list_deployment_for_all_namespaces - - """ - pass - - def test_list_namespaced_controller_revision(self): - """Test case for list_namespaced_controller_revision - - """ - pass - - def test_list_namespaced_deployment(self): - """Test case for list_namespaced_deployment - - """ - pass - - def test_list_namespaced_stateful_set(self): - """Test case for list_namespaced_stateful_set - - """ - pass - - def test_list_stateful_set_for_all_namespaces(self): - """Test case for list_stateful_set_for_all_namespaces - - """ - pass - - def test_patch_namespaced_controller_revision(self): - """Test case for patch_namespaced_controller_revision - - """ - pass - - def test_patch_namespaced_deployment(self): - """Test case for patch_namespaced_deployment - - """ - pass - - def test_patch_namespaced_deployment_scale(self): - """Test case for patch_namespaced_deployment_scale - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """Test case for patch_namespaced_deployment_status - - """ - pass - - def test_patch_namespaced_stateful_set(self): - """Test case for patch_namespaced_stateful_set - - """ - pass - - def test_patch_namespaced_stateful_set_scale(self): - """Test case for patch_namespaced_stateful_set_scale - - """ - pass - - def test_patch_namespaced_stateful_set_status(self): - """Test case for patch_namespaced_stateful_set_status - - """ - pass - - def test_read_namespaced_controller_revision(self): - """Test case for read_namespaced_controller_revision - - """ - pass - - def test_read_namespaced_deployment(self): - """Test case for read_namespaced_deployment - - """ - pass - - def test_read_namespaced_deployment_scale(self): - """Test case for read_namespaced_deployment_scale - - """ - pass - - def test_read_namespaced_deployment_status(self): - """Test case for read_namespaced_deployment_status - - """ - pass - - def test_read_namespaced_stateful_set(self): - """Test case for read_namespaced_stateful_set - - """ - pass - - def test_read_namespaced_stateful_set_scale(self): - """Test case for read_namespaced_stateful_set_scale - - """ - pass - - def test_read_namespaced_stateful_set_status(self): - """Test case for read_namespaced_stateful_set_status - - """ - pass - - def test_replace_namespaced_controller_revision(self): - """Test case for replace_namespaced_controller_revision - - """ - pass - - def test_replace_namespaced_deployment(self): - """Test case for replace_namespaced_deployment - - """ - pass - - def test_replace_namespaced_deployment_scale(self): - """Test case for replace_namespaced_deployment_scale - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """Test case for replace_namespaced_deployment_status - - """ - pass - - def test_replace_namespaced_stateful_set(self): - """Test case for replace_namespaced_stateful_set - - """ - pass - - def test_replace_namespaced_stateful_set_scale(self): - """Test case for replace_namespaced_stateful_set_scale - - """ - pass - - def test_replace_namespaced_stateful_set_status(self): - """Test case for replace_namespaced_stateful_set_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment.py b/kubernetes/test/test_apps_v1beta1_deployment.py deleted file mode 100644 index b74341516c..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment import AppsV1beta1Deployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1Deployment(unittest.TestCase): - """AppsV1beta1Deployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1Deployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment.AppsV1beta1Deployment() # noqa: E501 - if include_optional : - return AppsV1beta1Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), ), - status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ) - ) - else : - return AppsV1beta1Deployment( - ) - - def testAppsV1beta1Deployment(self): - """Test AppsV1beta1Deployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_condition.py b/kubernetes/test/test_apps_v1beta1_deployment_condition.py deleted file mode 100644 index 12bbd6ca30..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_condition import AppsV1beta1DeploymentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentCondition(unittest.TestCase): - """AppsV1beta1DeploymentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_condition.AppsV1beta1DeploymentCondition() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return AppsV1beta1DeploymentCondition( - status = '0', - type = '0', - ) - - def testAppsV1beta1DeploymentCondition(self): - """Test AppsV1beta1DeploymentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_list.py b/kubernetes/test/test_apps_v1beta1_deployment_list.py deleted file mode 100644 index f487bd5630..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_list.py +++ /dev/null @@ -1,232 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_list import AppsV1beta1DeploymentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentList(unittest.TestCase): - """AppsV1beta1DeploymentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_list.AppsV1beta1DeploymentList() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentList( - api_version = '0', - items = [ - kubernetes.client.models.apps/v1beta1/deployment.apps.v1beta1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return AppsV1beta1DeploymentList( - items = [ - kubernetes.client.models.apps/v1beta1/deployment.apps.v1beta1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.apps/v1beta1/deployment_spec.apps.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.apps/v1beta1/deployment_status.apps.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - ) - - def testAppsV1beta1DeploymentList(self): - """Test AppsV1beta1DeploymentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py b/kubernetes/test/test_apps_v1beta1_deployment_rollback.py deleted file mode 100644 index 5449df4f60..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_rollback.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_rollback import AppsV1beta1DeploymentRollback # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentRollback(unittest.TestCase): - """AppsV1beta1DeploymentRollback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentRollback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_rollback.AppsV1beta1DeploymentRollback() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentRollback( - api_version = '0', - kind = '0', - name = '0', - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - updated_annotations = { - 'key' : '0' - } - ) - else : - return AppsV1beta1DeploymentRollback( - name = '0', - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - ) - - def testAppsV1beta1DeploymentRollback(self): - """Test AppsV1beta1DeploymentRollback""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_spec.py b/kubernetes/test/test_apps_v1beta1_deployment_spec.py deleted file mode 100644 index d74e0fd000..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_spec.py +++ /dev/null @@ -1,1043 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_spec import AppsV1beta1DeploymentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentSpec(unittest.TestCase): - """AppsV1beta1DeploymentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_spec.AppsV1beta1DeploymentSpec() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.apps/v1beta1/rollback_config.apps.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.apps/v1beta1/deployment_strategy.apps.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return AppsV1beta1DeploymentSpec( - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testAppsV1beta1DeploymentSpec(self): - """Test AppsV1beta1DeploymentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_status.py b/kubernetes/test/test_apps_v1beta1_deployment_status.py deleted file mode 100644 index 9fd36122a3..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_status import AppsV1beta1DeploymentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentStatus(unittest.TestCase): - """AppsV1beta1DeploymentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_status.AppsV1beta1DeploymentStatus() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.apps/v1beta1/deployment_condition.apps.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56 - ) - else : - return AppsV1beta1DeploymentStatus( - ) - - def testAppsV1beta1DeploymentStatus(self): - """Test AppsV1beta1DeploymentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py b/kubernetes/test/test_apps_v1beta1_deployment_strategy.py deleted file mode 100644 index a815888426..0000000000 --- a/kubernetes/test/test_apps_v1beta1_deployment_strategy.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_deployment_strategy import AppsV1beta1DeploymentStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1DeploymentStrategy(unittest.TestCase): - """AppsV1beta1DeploymentStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1DeploymentStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_deployment_strategy.AppsV1beta1DeploymentStrategy() # noqa: E501 - if include_optional : - return AppsV1beta1DeploymentStrategy( - rolling_update = kubernetes.client.models.apps/v1beta1/rolling_update_deployment.apps.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return AppsV1beta1DeploymentStrategy( - ) - - def testAppsV1beta1DeploymentStrategy(self): - """Test AppsV1beta1DeploymentStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_rollback_config.py b/kubernetes/test/test_apps_v1beta1_rollback_config.py deleted file mode 100644 index f4a4fbdd52..0000000000 --- a/kubernetes/test/test_apps_v1beta1_rollback_config.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_rollback_config import AppsV1beta1RollbackConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1RollbackConfig(unittest.TestCase): - """AppsV1beta1RollbackConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1RollbackConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_rollback_config.AppsV1beta1RollbackConfig() # noqa: E501 - if include_optional : - return AppsV1beta1RollbackConfig( - revision = 56 - ) - else : - return AppsV1beta1RollbackConfig( - ) - - def testAppsV1beta1RollbackConfig(self): - """Test AppsV1beta1RollbackConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py deleted file mode 100644 index b262a05b6e..0000000000 --- a/kubernetes/test/test_apps_v1beta1_rolling_update_deployment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_rolling_update_deployment import AppsV1beta1RollingUpdateDeployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1RollingUpdateDeployment(unittest.TestCase): - """AppsV1beta1RollingUpdateDeployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1RollingUpdateDeployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_rolling_update_deployment.AppsV1beta1RollingUpdateDeployment() # noqa: E501 - if include_optional : - return AppsV1beta1RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return AppsV1beta1RollingUpdateDeployment( - ) - - def testAppsV1beta1RollingUpdateDeployment(self): - """Test AppsV1beta1RollingUpdateDeployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale.py b/kubernetes/test/test_apps_v1beta1_scale.py deleted file mode 100644 index ba586ddac7..0000000000 --- a/kubernetes/test/test_apps_v1beta1_scale.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_scale import AppsV1beta1Scale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1Scale(unittest.TestCase): - """AppsV1beta1Scale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1Scale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_scale.AppsV1beta1Scale() # noqa: E501 - if include_optional : - return AppsV1beta1Scale( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.apps/v1beta1/scale_spec.apps.v1beta1.ScaleSpec( - replicas = 56, ), - status = kubernetes.client.models.apps/v1beta1/scale_status.apps.v1beta1.ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0', ) - ) - else : - return AppsV1beta1Scale( - ) - - def testAppsV1beta1Scale(self): - """Test AppsV1beta1Scale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale_spec.py b/kubernetes/test/test_apps_v1beta1_scale_spec.py deleted file mode 100644 index 6375e19e02..0000000000 --- a/kubernetes/test/test_apps_v1beta1_scale_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_scale_spec import AppsV1beta1ScaleSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1ScaleSpec(unittest.TestCase): - """AppsV1beta1ScaleSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1ScaleSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_scale_spec.AppsV1beta1ScaleSpec() # noqa: E501 - if include_optional : - return AppsV1beta1ScaleSpec( - replicas = 56 - ) - else : - return AppsV1beta1ScaleSpec( - ) - - def testAppsV1beta1ScaleSpec(self): - """Test AppsV1beta1ScaleSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta1_scale_status.py b/kubernetes/test/test_apps_v1beta1_scale_status.py deleted file mode 100644 index abbad7b0b4..0000000000 --- a/kubernetes/test/test_apps_v1beta1_scale_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.apps_v1beta1_scale_status import AppsV1beta1ScaleStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestAppsV1beta1ScaleStatus(unittest.TestCase): - """AppsV1beta1ScaleStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test AppsV1beta1ScaleStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.apps_v1beta1_scale_status.AppsV1beta1ScaleStatus() # noqa: E501 - if include_optional : - return AppsV1beta1ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0' - ) - else : - return AppsV1beta1ScaleStatus( - replicas = 56, - ) - - def testAppsV1beta1ScaleStatus(self): - """Test AppsV1beta1ScaleStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_apps_v1beta2_api.py b/kubernetes/test/test_apps_v1beta2_api.py deleted file mode 100644 index a9d02f744d..0000000000 --- a/kubernetes/test/test_apps_v1beta2_api.py +++ /dev/null @@ -1,405 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.apps_v1beta2_api import AppsV1beta2Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAppsV1beta2Api(unittest.TestCase): - """AppsV1beta2Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.apps_v1beta2_api.AppsV1beta2Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_controller_revision(self): - """Test case for create_namespaced_controller_revision - - """ - pass - - def test_create_namespaced_daemon_set(self): - """Test case for create_namespaced_daemon_set - - """ - pass - - def test_create_namespaced_deployment(self): - """Test case for create_namespaced_deployment - - """ - pass - - def test_create_namespaced_replica_set(self): - """Test case for create_namespaced_replica_set - - """ - pass - - def test_create_namespaced_stateful_set(self): - """Test case for create_namespaced_stateful_set - - """ - pass - - def test_delete_collection_namespaced_controller_revision(self): - """Test case for delete_collection_namespaced_controller_revision - - """ - pass - - def test_delete_collection_namespaced_daemon_set(self): - """Test case for delete_collection_namespaced_daemon_set - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """Test case for delete_collection_namespaced_deployment - - """ - pass - - def test_delete_collection_namespaced_replica_set(self): - """Test case for delete_collection_namespaced_replica_set - - """ - pass - - def test_delete_collection_namespaced_stateful_set(self): - """Test case for delete_collection_namespaced_stateful_set - - """ - pass - - def test_delete_namespaced_controller_revision(self): - """Test case for delete_namespaced_controller_revision - - """ - pass - - def test_delete_namespaced_daemon_set(self): - """Test case for delete_namespaced_daemon_set - - """ - pass - - def test_delete_namespaced_deployment(self): - """Test case for delete_namespaced_deployment - - """ - pass - - def test_delete_namespaced_replica_set(self): - """Test case for delete_namespaced_replica_set - - """ - pass - - def test_delete_namespaced_stateful_set(self): - """Test case for delete_namespaced_stateful_set - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_controller_revision_for_all_namespaces(self): - """Test case for list_controller_revision_for_all_namespaces - - """ - pass - - def test_list_daemon_set_for_all_namespaces(self): - """Test case for list_daemon_set_for_all_namespaces - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """Test case for list_deployment_for_all_namespaces - - """ - pass - - def test_list_namespaced_controller_revision(self): - """Test case for list_namespaced_controller_revision - - """ - pass - - def test_list_namespaced_daemon_set(self): - """Test case for list_namespaced_daemon_set - - """ - pass - - def test_list_namespaced_deployment(self): - """Test case for list_namespaced_deployment - - """ - pass - - def test_list_namespaced_replica_set(self): - """Test case for list_namespaced_replica_set - - """ - pass - - def test_list_namespaced_stateful_set(self): - """Test case for list_namespaced_stateful_set - - """ - pass - - def test_list_replica_set_for_all_namespaces(self): - """Test case for list_replica_set_for_all_namespaces - - """ - pass - - def test_list_stateful_set_for_all_namespaces(self): - """Test case for list_stateful_set_for_all_namespaces - - """ - pass - - def test_patch_namespaced_controller_revision(self): - """Test case for patch_namespaced_controller_revision - - """ - pass - - def test_patch_namespaced_daemon_set(self): - """Test case for patch_namespaced_daemon_set - - """ - pass - - def test_patch_namespaced_daemon_set_status(self): - """Test case for patch_namespaced_daemon_set_status - - """ - pass - - def test_patch_namespaced_deployment(self): - """Test case for patch_namespaced_deployment - - """ - pass - - def test_patch_namespaced_deployment_scale(self): - """Test case for patch_namespaced_deployment_scale - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """Test case for patch_namespaced_deployment_status - - """ - pass - - def test_patch_namespaced_replica_set(self): - """Test case for patch_namespaced_replica_set - - """ - pass - - def test_patch_namespaced_replica_set_scale(self): - """Test case for patch_namespaced_replica_set_scale - - """ - pass - - def test_patch_namespaced_replica_set_status(self): - """Test case for patch_namespaced_replica_set_status - - """ - pass - - def test_patch_namespaced_stateful_set(self): - """Test case for patch_namespaced_stateful_set - - """ - pass - - def test_patch_namespaced_stateful_set_scale(self): - """Test case for patch_namespaced_stateful_set_scale - - """ - pass - - def test_patch_namespaced_stateful_set_status(self): - """Test case for patch_namespaced_stateful_set_status - - """ - pass - - def test_read_namespaced_controller_revision(self): - """Test case for read_namespaced_controller_revision - - """ - pass - - def test_read_namespaced_daemon_set(self): - """Test case for read_namespaced_daemon_set - - """ - pass - - def test_read_namespaced_daemon_set_status(self): - """Test case for read_namespaced_daemon_set_status - - """ - pass - - def test_read_namespaced_deployment(self): - """Test case for read_namespaced_deployment - - """ - pass - - def test_read_namespaced_deployment_scale(self): - """Test case for read_namespaced_deployment_scale - - """ - pass - - def test_read_namespaced_deployment_status(self): - """Test case for read_namespaced_deployment_status - - """ - pass - - def test_read_namespaced_replica_set(self): - """Test case for read_namespaced_replica_set - - """ - pass - - def test_read_namespaced_replica_set_scale(self): - """Test case for read_namespaced_replica_set_scale - - """ - pass - - def test_read_namespaced_replica_set_status(self): - """Test case for read_namespaced_replica_set_status - - """ - pass - - def test_read_namespaced_stateful_set(self): - """Test case for read_namespaced_stateful_set - - """ - pass - - def test_read_namespaced_stateful_set_scale(self): - """Test case for read_namespaced_stateful_set_scale - - """ - pass - - def test_read_namespaced_stateful_set_status(self): - """Test case for read_namespaced_stateful_set_status - - """ - pass - - def test_replace_namespaced_controller_revision(self): - """Test case for replace_namespaced_controller_revision - - """ - pass - - def test_replace_namespaced_daemon_set(self): - """Test case for replace_namespaced_daemon_set - - """ - pass - - def test_replace_namespaced_daemon_set_status(self): - """Test case for replace_namespaced_daemon_set_status - - """ - pass - - def test_replace_namespaced_deployment(self): - """Test case for replace_namespaced_deployment - - """ - pass - - def test_replace_namespaced_deployment_scale(self): - """Test case for replace_namespaced_deployment_scale - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """Test case for replace_namespaced_deployment_status - - """ - pass - - def test_replace_namespaced_replica_set(self): - """Test case for replace_namespaced_replica_set - - """ - pass - - def test_replace_namespaced_replica_set_scale(self): - """Test case for replace_namespaced_replica_set_scale - - """ - pass - - def test_replace_namespaced_replica_set_status(self): - """Test case for replace_namespaced_replica_set_status - - """ - pass - - def test_replace_namespaced_stateful_set(self): - """Test case for replace_namespaced_stateful_set - - """ - pass - - def test_replace_namespaced_stateful_set_scale(self): - """Test case for replace_namespaced_stateful_set_scale - - """ - pass - - def test_replace_namespaced_stateful_set_status(self): - """Test case for replace_namespaced_stateful_set_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_auditregistration_api.py b/kubernetes/test/test_auditregistration_api.py deleted file mode 100644 index e2a3f8a4cc..0000000000 --- a/kubernetes/test/test_auditregistration_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.auditregistration_api import AuditregistrationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuditregistrationApi(unittest.TestCase): - """AuditregistrationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.auditregistration_api.AuditregistrationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_auditregistration_v1alpha1_api.py b/kubernetes/test/test_auditregistration_v1alpha1_api.py deleted file mode 100644 index 8e6b7afc93..0000000000 --- a/kubernetes/test/test_auditregistration_v1alpha1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.auditregistration_v1alpha1_api import AuditregistrationV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuditregistrationV1alpha1Api(unittest.TestCase): - """AuditregistrationV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.auditregistration_v1alpha1_api.AuditregistrationV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_audit_sink(self): - """Test case for create_audit_sink - - """ - pass - - def test_delete_audit_sink(self): - """Test case for delete_audit_sink - - """ - pass - - def test_delete_collection_audit_sink(self): - """Test case for delete_collection_audit_sink - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_audit_sink(self): - """Test case for list_audit_sink - - """ - pass - - def test_patch_audit_sink(self): - """Test case for patch_audit_sink - - """ - pass - - def test_read_audit_sink(self): - """Test case for read_audit_sink - - """ - pass - - def test_replace_audit_sink(self): - """Test case for replace_audit_sink - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authentication_api.py b/kubernetes/test/test_authentication_api.py deleted file mode 100644 index 9c61dcf285..0000000000 --- a/kubernetes/test/test_authentication_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authentication_api import AuthenticationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthenticationApi(unittest.TestCase): - """AuthenticationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authentication_api.AuthenticationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authentication_v1_api.py b/kubernetes/test/test_authentication_v1_api.py deleted file mode 100644 index ea743ae5b4..0000000000 --- a/kubernetes/test/test_authentication_v1_api.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authentication_v1_api import AuthenticationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthenticationV1Api(unittest.TestCase): - """AuthenticationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authentication_v1_api.AuthenticationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_token_review(self): - """Test case for create_token_review - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authentication_v1beta1_api.py b/kubernetes/test/test_authentication_v1beta1_api.py deleted file mode 100644 index 9f9b1432c8..0000000000 --- a/kubernetes/test/test_authentication_v1beta1_api.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authentication_v1beta1_api import AuthenticationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthenticationV1beta1Api(unittest.TestCase): - """AuthenticationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authentication_v1beta1_api.AuthenticationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_token_review(self): - """Test case for create_token_review - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authorization_api.py b/kubernetes/test/test_authorization_api.py deleted file mode 100644 index ae905ab73f..0000000000 --- a/kubernetes/test/test_authorization_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authorization_api import AuthorizationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthorizationApi(unittest.TestCase): - """AuthorizationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authorization_api.AuthorizationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authorization_v1_api.py b/kubernetes/test/test_authorization_v1_api.py deleted file mode 100644 index ac99b7a1fa..0000000000 --- a/kubernetes/test/test_authorization_v1_api.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authorization_v1_api import AuthorizationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthorizationV1Api(unittest.TestCase): - """AuthorizationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authorization_v1_api.AuthorizationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_local_subject_access_review(self): - """Test case for create_namespaced_local_subject_access_review - - """ - pass - - def test_create_self_subject_access_review(self): - """Test case for create_self_subject_access_review - - """ - pass - - def test_create_self_subject_rules_review(self): - """Test case for create_self_subject_rules_review - - """ - pass - - def test_create_subject_access_review(self): - """Test case for create_subject_access_review - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_authorization_v1beta1_api.py b/kubernetes/test/test_authorization_v1beta1_api.py deleted file mode 100644 index 70d4c7d01d..0000000000 --- a/kubernetes/test/test_authorization_v1beta1_api.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.authorization_v1beta1_api import AuthorizationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAuthorizationV1beta1Api(unittest.TestCase): - """AuthorizationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.authorization_v1beta1_api.AuthorizationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_local_subject_access_review(self): - """Test case for create_namespaced_local_subject_access_review - - """ - pass - - def test_create_self_subject_access_review(self): - """Test case for create_self_subject_access_review - - """ - pass - - def test_create_self_subject_rules_review(self): - """Test case for create_self_subject_rules_review - - """ - pass - - def test_create_subject_access_review(self): - """Test case for create_subject_access_review - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_autoscaling_api.py b/kubernetes/test/test_autoscaling_api.py deleted file mode 100644 index eb33ba47ff..0000000000 --- a/kubernetes/test/test_autoscaling_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.autoscaling_api import AutoscalingApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAutoscalingApi(unittest.TestCase): - """AutoscalingApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.autoscaling_api.AutoscalingApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_autoscaling_v1_api.py b/kubernetes/test/test_autoscaling_v1_api.py deleted file mode 100644 index 7ae6c0d2fb..0000000000 --- a/kubernetes/test/test_autoscaling_v1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.autoscaling_v1_api import AutoscalingV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAutoscalingV1Api(unittest.TestCase): - """AutoscalingV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.autoscaling_v1_api.AutoscalingV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_horizontal_pod_autoscaler(self): - """Test case for create_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_collection_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): - """Test case for list_horizontal_pod_autoscaler_for_all_namespaces - - """ - pass - - def test_list_namespaced_horizontal_pod_autoscaler(self): - """Test case for list_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler(self): - """Test case for read_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for read_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_autoscaling_v2beta1_api.py b/kubernetes/test/test_autoscaling_v2beta1_api.py deleted file mode 100644 index 5604659640..0000000000 --- a/kubernetes/test/test_autoscaling_v2beta1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.autoscaling_v2beta1_api import AutoscalingV2beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAutoscalingV2beta1Api(unittest.TestCase): - """AutoscalingV2beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.autoscaling_v2beta1_api.AutoscalingV2beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_horizontal_pod_autoscaler(self): - """Test case for create_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_collection_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): - """Test case for list_horizontal_pod_autoscaler_for_all_namespaces - - """ - pass - - def test_list_namespaced_horizontal_pod_autoscaler(self): - """Test case for list_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler(self): - """Test case for read_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for read_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_autoscaling_v2beta2_api.py b/kubernetes/test/test_autoscaling_v2beta2_api.py deleted file mode 100644 index 95b7a027c3..0000000000 --- a/kubernetes/test/test_autoscaling_v2beta2_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.autoscaling_v2beta2_api import AutoscalingV2beta2Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestAutoscalingV2beta2Api(unittest.TestCase): - """AutoscalingV2beta2Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.autoscaling_v2beta2_api.AutoscalingV2beta2Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_horizontal_pod_autoscaler(self): - """Test case for create_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_collection_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_collection_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_delete_namespaced_horizontal_pod_autoscaler(self): - """Test case for delete_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_horizontal_pod_autoscaler_for_all_namespaces(self): - """Test case for list_horizontal_pod_autoscaler_for_all_namespaces - - """ - pass - - def test_list_namespaced_horizontal_pod_autoscaler(self): - """Test case for list_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_patch_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for patch_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler(self): - """Test case for read_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_read_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for read_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler - - """ - pass - - def test_replace_namespaced_horizontal_pod_autoscaler_status(self): - """Test case for replace_namespaced_horizontal_pod_autoscaler_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_batch_api.py b/kubernetes/test/test_batch_api.py deleted file mode 100644 index ef15f12c5c..0000000000 --- a/kubernetes/test/test_batch_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.batch_api import BatchApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestBatchApi(unittest.TestCase): - """BatchApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.batch_api.BatchApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_batch_v1_api.py b/kubernetes/test/test_batch_v1_api.py deleted file mode 100644 index c0e2f63596..0000000000 --- a/kubernetes/test/test_batch_v1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.batch_v1_api import BatchV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestBatchV1Api(unittest.TestCase): - """BatchV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.batch_v1_api.BatchV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_job(self): - """Test case for create_namespaced_job - - """ - pass - - def test_delete_collection_namespaced_job(self): - """Test case for delete_collection_namespaced_job - - """ - pass - - def test_delete_namespaced_job(self): - """Test case for delete_namespaced_job - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_job_for_all_namespaces(self): - """Test case for list_job_for_all_namespaces - - """ - pass - - def test_list_namespaced_job(self): - """Test case for list_namespaced_job - - """ - pass - - def test_patch_namespaced_job(self): - """Test case for patch_namespaced_job - - """ - pass - - def test_patch_namespaced_job_status(self): - """Test case for patch_namespaced_job_status - - """ - pass - - def test_read_namespaced_job(self): - """Test case for read_namespaced_job - - """ - pass - - def test_read_namespaced_job_status(self): - """Test case for read_namespaced_job_status - - """ - pass - - def test_replace_namespaced_job(self): - """Test case for replace_namespaced_job - - """ - pass - - def test_replace_namespaced_job_status(self): - """Test case for replace_namespaced_job_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_batch_v1beta1_api.py b/kubernetes/test/test_batch_v1beta1_api.py deleted file mode 100644 index 6e3616df6b..0000000000 --- a/kubernetes/test/test_batch_v1beta1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.batch_v1beta1_api import BatchV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestBatchV1beta1Api(unittest.TestCase): - """BatchV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.batch_v1beta1_api.BatchV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_cron_job(self): - """Test case for create_namespaced_cron_job - - """ - pass - - def test_delete_collection_namespaced_cron_job(self): - """Test case for delete_collection_namespaced_cron_job - - """ - pass - - def test_delete_namespaced_cron_job(self): - """Test case for delete_namespaced_cron_job - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cron_job_for_all_namespaces(self): - """Test case for list_cron_job_for_all_namespaces - - """ - pass - - def test_list_namespaced_cron_job(self): - """Test case for list_namespaced_cron_job - - """ - pass - - def test_patch_namespaced_cron_job(self): - """Test case for patch_namespaced_cron_job - - """ - pass - - def test_patch_namespaced_cron_job_status(self): - """Test case for patch_namespaced_cron_job_status - - """ - pass - - def test_read_namespaced_cron_job(self): - """Test case for read_namespaced_cron_job - - """ - pass - - def test_read_namespaced_cron_job_status(self): - """Test case for read_namespaced_cron_job_status - - """ - pass - - def test_replace_namespaced_cron_job(self): - """Test case for replace_namespaced_cron_job - - """ - pass - - def test_replace_namespaced_cron_job_status(self): - """Test case for replace_namespaced_cron_job_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_batch_v2alpha1_api.py b/kubernetes/test/test_batch_v2alpha1_api.py deleted file mode 100644 index a09dab8d7a..0000000000 --- a/kubernetes/test/test_batch_v2alpha1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.batch_v2alpha1_api import BatchV2alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestBatchV2alpha1Api(unittest.TestCase): - """BatchV2alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.batch_v2alpha1_api.BatchV2alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_cron_job(self): - """Test case for create_namespaced_cron_job - - """ - pass - - def test_delete_collection_namespaced_cron_job(self): - """Test case for delete_collection_namespaced_cron_job - - """ - pass - - def test_delete_namespaced_cron_job(self): - """Test case for delete_namespaced_cron_job - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cron_job_for_all_namespaces(self): - """Test case for list_cron_job_for_all_namespaces - - """ - pass - - def test_list_namespaced_cron_job(self): - """Test case for list_namespaced_cron_job - - """ - pass - - def test_patch_namespaced_cron_job(self): - """Test case for patch_namespaced_cron_job - - """ - pass - - def test_patch_namespaced_cron_job_status(self): - """Test case for patch_namespaced_cron_job_status - - """ - pass - - def test_read_namespaced_cron_job(self): - """Test case for read_namespaced_cron_job - - """ - pass - - def test_read_namespaced_cron_job_status(self): - """Test case for read_namespaced_cron_job_status - - """ - pass - - def test_replace_namespaced_cron_job(self): - """Test case for replace_namespaced_cron_job - - """ - pass - - def test_replace_namespaced_cron_job_status(self): - """Test case for replace_namespaced_cron_job_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_certificates_api.py b/kubernetes/test/test_certificates_api.py deleted file mode 100644 index 3cfecc5d7b..0000000000 --- a/kubernetes/test/test_certificates_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.certificates_api import CertificatesApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCertificatesApi(unittest.TestCase): - """CertificatesApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.certificates_api.CertificatesApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_certificates_v1beta1_api.py b/kubernetes/test/test_certificates_v1beta1_api.py deleted file mode 100644 index 0750d64c06..0000000000 --- a/kubernetes/test/test_certificates_v1beta1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.certificates_v1beta1_api import CertificatesV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCertificatesV1beta1Api(unittest.TestCase): - """CertificatesV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.certificates_v1beta1_api.CertificatesV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_certificate_signing_request(self): - """Test case for create_certificate_signing_request - - """ - pass - - def test_delete_certificate_signing_request(self): - """Test case for delete_certificate_signing_request - - """ - pass - - def test_delete_collection_certificate_signing_request(self): - """Test case for delete_collection_certificate_signing_request - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_certificate_signing_request(self): - """Test case for list_certificate_signing_request - - """ - pass - - def test_patch_certificate_signing_request(self): - """Test case for patch_certificate_signing_request - - """ - pass - - def test_patch_certificate_signing_request_status(self): - """Test case for patch_certificate_signing_request_status - - """ - pass - - def test_read_certificate_signing_request(self): - """Test case for read_certificate_signing_request - - """ - pass - - def test_read_certificate_signing_request_status(self): - """Test case for read_certificate_signing_request_status - - """ - pass - - def test_replace_certificate_signing_request(self): - """Test case for replace_certificate_signing_request - - """ - pass - - def test_replace_certificate_signing_request_approval(self): - """Test case for replace_certificate_signing_request_approval - - """ - pass - - def test_replace_certificate_signing_request_status(self): - """Test case for replace_certificate_signing_request_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_coordination_api.py b/kubernetes/test/test_coordination_api.py deleted file mode 100644 index a7c393534e..0000000000 --- a/kubernetes/test/test_coordination_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.coordination_api import CoordinationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoordinationApi(unittest.TestCase): - """CoordinationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.coordination_api.CoordinationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_coordination_v1_api.py b/kubernetes/test/test_coordination_v1_api.py deleted file mode 100644 index 4b8f3feb14..0000000000 --- a/kubernetes/test/test_coordination_v1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.coordination_v1_api import CoordinationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoordinationV1Api(unittest.TestCase): - """CoordinationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.coordination_v1_api.CoordinationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_lease(self): - """Test case for create_namespaced_lease - - """ - pass - - def test_delete_collection_namespaced_lease(self): - """Test case for delete_collection_namespaced_lease - - """ - pass - - def test_delete_namespaced_lease(self): - """Test case for delete_namespaced_lease - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_lease_for_all_namespaces(self): - """Test case for list_lease_for_all_namespaces - - """ - pass - - def test_list_namespaced_lease(self): - """Test case for list_namespaced_lease - - """ - pass - - def test_patch_namespaced_lease(self): - """Test case for patch_namespaced_lease - - """ - pass - - def test_read_namespaced_lease(self): - """Test case for read_namespaced_lease - - """ - pass - - def test_replace_namespaced_lease(self): - """Test case for replace_namespaced_lease - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_coordination_v1beta1_api.py b/kubernetes/test/test_coordination_v1beta1_api.py deleted file mode 100644 index 5a22960aff..0000000000 --- a/kubernetes/test/test_coordination_v1beta1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.coordination_v1beta1_api import CoordinationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoordinationV1beta1Api(unittest.TestCase): - """CoordinationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.coordination_v1beta1_api.CoordinationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_lease(self): - """Test case for create_namespaced_lease - - """ - pass - - def test_delete_collection_namespaced_lease(self): - """Test case for delete_collection_namespaced_lease - - """ - pass - - def test_delete_namespaced_lease(self): - """Test case for delete_namespaced_lease - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_lease_for_all_namespaces(self): - """Test case for list_lease_for_all_namespaces - - """ - pass - - def test_list_namespaced_lease(self): - """Test case for list_namespaced_lease - - """ - pass - - def test_patch_namespaced_lease(self): - """Test case for patch_namespaced_lease - - """ - pass - - def test_read_namespaced_lease(self): - """Test case for read_namespaced_lease - - """ - pass - - def test_replace_namespaced_lease(self): - """Test case for replace_namespaced_lease - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_core_api.py b/kubernetes/test/test_core_api.py deleted file mode 100644 index 58f9dec0d9..0000000000 --- a/kubernetes/test/test_core_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.core_api import CoreApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoreApi(unittest.TestCase): - """CoreApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.core_api.CoreApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_versions(self): - """Test case for get_api_versions - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_core_v1_api.py b/kubernetes/test/test_core_v1_api.py deleted file mode 100644 index 90c8e424ea..0000000000 --- a/kubernetes/test/test_core_v1_api.py +++ /dev/null @@ -1,1227 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.core_v1_api import CoreV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCoreV1Api(unittest.TestCase): - """CoreV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.core_v1_api.CoreV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_connect_delete_namespaced_pod_proxy(self): - """Test case for connect_delete_namespaced_pod_proxy - - """ - pass - - def test_connect_delete_namespaced_pod_proxy_with_path(self): - """Test case for connect_delete_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_delete_namespaced_service_proxy(self): - """Test case for connect_delete_namespaced_service_proxy - - """ - pass - - def test_connect_delete_namespaced_service_proxy_with_path(self): - """Test case for connect_delete_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_delete_node_proxy(self): - """Test case for connect_delete_node_proxy - - """ - pass - - def test_connect_delete_node_proxy_with_path(self): - """Test case for connect_delete_node_proxy_with_path - - """ - pass - - def test_connect_get_namespaced_pod_attach(self): - """Test case for connect_get_namespaced_pod_attach - - """ - pass - - def test_connect_get_namespaced_pod_exec(self): - """Test case for connect_get_namespaced_pod_exec - - """ - pass - - def test_connect_get_namespaced_pod_portforward(self): - """Test case for connect_get_namespaced_pod_portforward - - """ - pass - - def test_connect_get_namespaced_pod_proxy(self): - """Test case for connect_get_namespaced_pod_proxy - - """ - pass - - def test_connect_get_namespaced_pod_proxy_with_path(self): - """Test case for connect_get_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_get_namespaced_service_proxy(self): - """Test case for connect_get_namespaced_service_proxy - - """ - pass - - def test_connect_get_namespaced_service_proxy_with_path(self): - """Test case for connect_get_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_get_node_proxy(self): - """Test case for connect_get_node_proxy - - """ - pass - - def test_connect_get_node_proxy_with_path(self): - """Test case for connect_get_node_proxy_with_path - - """ - pass - - def test_connect_head_namespaced_pod_proxy(self): - """Test case for connect_head_namespaced_pod_proxy - - """ - pass - - def test_connect_head_namespaced_pod_proxy_with_path(self): - """Test case for connect_head_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_head_namespaced_service_proxy(self): - """Test case for connect_head_namespaced_service_proxy - - """ - pass - - def test_connect_head_namespaced_service_proxy_with_path(self): - """Test case for connect_head_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_head_node_proxy(self): - """Test case for connect_head_node_proxy - - """ - pass - - def test_connect_head_node_proxy_with_path(self): - """Test case for connect_head_node_proxy_with_path - - """ - pass - - def test_connect_options_namespaced_pod_proxy(self): - """Test case for connect_options_namespaced_pod_proxy - - """ - pass - - def test_connect_options_namespaced_pod_proxy_with_path(self): - """Test case for connect_options_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_options_namespaced_service_proxy(self): - """Test case for connect_options_namespaced_service_proxy - - """ - pass - - def test_connect_options_namespaced_service_proxy_with_path(self): - """Test case for connect_options_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_options_node_proxy(self): - """Test case for connect_options_node_proxy - - """ - pass - - def test_connect_options_node_proxy_with_path(self): - """Test case for connect_options_node_proxy_with_path - - """ - pass - - def test_connect_patch_namespaced_pod_proxy(self): - """Test case for connect_patch_namespaced_pod_proxy - - """ - pass - - def test_connect_patch_namespaced_pod_proxy_with_path(self): - """Test case for connect_patch_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_patch_namespaced_service_proxy(self): - """Test case for connect_patch_namespaced_service_proxy - - """ - pass - - def test_connect_patch_namespaced_service_proxy_with_path(self): - """Test case for connect_patch_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_patch_node_proxy(self): - """Test case for connect_patch_node_proxy - - """ - pass - - def test_connect_patch_node_proxy_with_path(self): - """Test case for connect_patch_node_proxy_with_path - - """ - pass - - def test_connect_post_namespaced_pod_attach(self): - """Test case for connect_post_namespaced_pod_attach - - """ - pass - - def test_connect_post_namespaced_pod_exec(self): - """Test case for connect_post_namespaced_pod_exec - - """ - pass - - def test_connect_post_namespaced_pod_portforward(self): - """Test case for connect_post_namespaced_pod_portforward - - """ - pass - - def test_connect_post_namespaced_pod_proxy(self): - """Test case for connect_post_namespaced_pod_proxy - - """ - pass - - def test_connect_post_namespaced_pod_proxy_with_path(self): - """Test case for connect_post_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_post_namespaced_service_proxy(self): - """Test case for connect_post_namespaced_service_proxy - - """ - pass - - def test_connect_post_namespaced_service_proxy_with_path(self): - """Test case for connect_post_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_post_node_proxy(self): - """Test case for connect_post_node_proxy - - """ - pass - - def test_connect_post_node_proxy_with_path(self): - """Test case for connect_post_node_proxy_with_path - - """ - pass - - def test_connect_put_namespaced_pod_proxy(self): - """Test case for connect_put_namespaced_pod_proxy - - """ - pass - - def test_connect_put_namespaced_pod_proxy_with_path(self): - """Test case for connect_put_namespaced_pod_proxy_with_path - - """ - pass - - def test_connect_put_namespaced_service_proxy(self): - """Test case for connect_put_namespaced_service_proxy - - """ - pass - - def test_connect_put_namespaced_service_proxy_with_path(self): - """Test case for connect_put_namespaced_service_proxy_with_path - - """ - pass - - def test_connect_put_node_proxy(self): - """Test case for connect_put_node_proxy - - """ - pass - - def test_connect_put_node_proxy_with_path(self): - """Test case for connect_put_node_proxy_with_path - - """ - pass - - def test_create_namespace(self): - """Test case for create_namespace - - """ - pass - - def test_create_namespaced_binding(self): - """Test case for create_namespaced_binding - - """ - pass - - def test_create_namespaced_config_map(self): - """Test case for create_namespaced_config_map - - """ - pass - - def test_create_namespaced_endpoints(self): - """Test case for create_namespaced_endpoints - - """ - pass - - def test_create_namespaced_event(self): - """Test case for create_namespaced_event - - """ - pass - - def test_create_namespaced_limit_range(self): - """Test case for create_namespaced_limit_range - - """ - pass - - def test_create_namespaced_persistent_volume_claim(self): - """Test case for create_namespaced_persistent_volume_claim - - """ - pass - - def test_create_namespaced_pod(self): - """Test case for create_namespaced_pod - - """ - pass - - def test_create_namespaced_pod_binding(self): - """Test case for create_namespaced_pod_binding - - """ - pass - - def test_create_namespaced_pod_eviction(self): - """Test case for create_namespaced_pod_eviction - - """ - pass - - def test_create_namespaced_pod_template(self): - """Test case for create_namespaced_pod_template - - """ - pass - - def test_create_namespaced_replication_controller(self): - """Test case for create_namespaced_replication_controller - - """ - pass - - def test_create_namespaced_resource_quota(self): - """Test case for create_namespaced_resource_quota - - """ - pass - - def test_create_namespaced_secret(self): - """Test case for create_namespaced_secret - - """ - pass - - def test_create_namespaced_service(self): - """Test case for create_namespaced_service - - """ - pass - - def test_create_namespaced_service_account(self): - """Test case for create_namespaced_service_account - - """ - pass - - def test_create_namespaced_service_account_token(self): - """Test case for create_namespaced_service_account_token - - """ - pass - - def test_create_node(self): - """Test case for create_node - - """ - pass - - def test_create_persistent_volume(self): - """Test case for create_persistent_volume - - """ - pass - - def test_delete_collection_namespaced_config_map(self): - """Test case for delete_collection_namespaced_config_map - - """ - pass - - def test_delete_collection_namespaced_endpoints(self): - """Test case for delete_collection_namespaced_endpoints - - """ - pass - - def test_delete_collection_namespaced_event(self): - """Test case for delete_collection_namespaced_event - - """ - pass - - def test_delete_collection_namespaced_limit_range(self): - """Test case for delete_collection_namespaced_limit_range - - """ - pass - - def test_delete_collection_namespaced_persistent_volume_claim(self): - """Test case for delete_collection_namespaced_persistent_volume_claim - - """ - pass - - def test_delete_collection_namespaced_pod(self): - """Test case for delete_collection_namespaced_pod - - """ - pass - - def test_delete_collection_namespaced_pod_template(self): - """Test case for delete_collection_namespaced_pod_template - - """ - pass - - def test_delete_collection_namespaced_replication_controller(self): - """Test case for delete_collection_namespaced_replication_controller - - """ - pass - - def test_delete_collection_namespaced_resource_quota(self): - """Test case for delete_collection_namespaced_resource_quota - - """ - pass - - def test_delete_collection_namespaced_secret(self): - """Test case for delete_collection_namespaced_secret - - """ - pass - - def test_delete_collection_namespaced_service_account(self): - """Test case for delete_collection_namespaced_service_account - - """ - pass - - def test_delete_collection_node(self): - """Test case for delete_collection_node - - """ - pass - - def test_delete_collection_persistent_volume(self): - """Test case for delete_collection_persistent_volume - - """ - pass - - def test_delete_namespace(self): - """Test case for delete_namespace - - """ - pass - - def test_delete_namespaced_config_map(self): - """Test case for delete_namespaced_config_map - - """ - pass - - def test_delete_namespaced_endpoints(self): - """Test case for delete_namespaced_endpoints - - """ - pass - - def test_delete_namespaced_event(self): - """Test case for delete_namespaced_event - - """ - pass - - def test_delete_namespaced_limit_range(self): - """Test case for delete_namespaced_limit_range - - """ - pass - - def test_delete_namespaced_persistent_volume_claim(self): - """Test case for delete_namespaced_persistent_volume_claim - - """ - pass - - def test_delete_namespaced_pod(self): - """Test case for delete_namespaced_pod - - """ - pass - - def test_delete_namespaced_pod_template(self): - """Test case for delete_namespaced_pod_template - - """ - pass - - def test_delete_namespaced_replication_controller(self): - """Test case for delete_namespaced_replication_controller - - """ - pass - - def test_delete_namespaced_resource_quota(self): - """Test case for delete_namespaced_resource_quota - - """ - pass - - def test_delete_namespaced_secret(self): - """Test case for delete_namespaced_secret - - """ - pass - - def test_delete_namespaced_service(self): - """Test case for delete_namespaced_service - - """ - pass - - def test_delete_namespaced_service_account(self): - """Test case for delete_namespaced_service_account - - """ - pass - - def test_delete_node(self): - """Test case for delete_node - - """ - pass - - def test_delete_persistent_volume(self): - """Test case for delete_persistent_volume - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_component_status(self): - """Test case for list_component_status - - """ - pass - - def test_list_config_map_for_all_namespaces(self): - """Test case for list_config_map_for_all_namespaces - - """ - pass - - def test_list_endpoints_for_all_namespaces(self): - """Test case for list_endpoints_for_all_namespaces - - """ - pass - - def test_list_event_for_all_namespaces(self): - """Test case for list_event_for_all_namespaces - - """ - pass - - def test_list_limit_range_for_all_namespaces(self): - """Test case for list_limit_range_for_all_namespaces - - """ - pass - - def test_list_namespace(self): - """Test case for list_namespace - - """ - pass - - def test_list_namespaced_config_map(self): - """Test case for list_namespaced_config_map - - """ - pass - - def test_list_namespaced_endpoints(self): - """Test case for list_namespaced_endpoints - - """ - pass - - def test_list_namespaced_event(self): - """Test case for list_namespaced_event - - """ - pass - - def test_list_namespaced_limit_range(self): - """Test case for list_namespaced_limit_range - - """ - pass - - def test_list_namespaced_persistent_volume_claim(self): - """Test case for list_namespaced_persistent_volume_claim - - """ - pass - - def test_list_namespaced_pod(self): - """Test case for list_namespaced_pod - - """ - pass - - def test_list_namespaced_pod_template(self): - """Test case for list_namespaced_pod_template - - """ - pass - - def test_list_namespaced_replication_controller(self): - """Test case for list_namespaced_replication_controller - - """ - pass - - def test_list_namespaced_resource_quota(self): - """Test case for list_namespaced_resource_quota - - """ - pass - - def test_list_namespaced_secret(self): - """Test case for list_namespaced_secret - - """ - pass - - def test_list_namespaced_service(self): - """Test case for list_namespaced_service - - """ - pass - - def test_list_namespaced_service_account(self): - """Test case for list_namespaced_service_account - - """ - pass - - def test_list_node(self): - """Test case for list_node - - """ - pass - - def test_list_persistent_volume(self): - """Test case for list_persistent_volume - - """ - pass - - def test_list_persistent_volume_claim_for_all_namespaces(self): - """Test case for list_persistent_volume_claim_for_all_namespaces - - """ - pass - - def test_list_pod_for_all_namespaces(self): - """Test case for list_pod_for_all_namespaces - - """ - pass - - def test_list_pod_template_for_all_namespaces(self): - """Test case for list_pod_template_for_all_namespaces - - """ - pass - - def test_list_replication_controller_for_all_namespaces(self): - """Test case for list_replication_controller_for_all_namespaces - - """ - pass - - def test_list_resource_quota_for_all_namespaces(self): - """Test case for list_resource_quota_for_all_namespaces - - """ - pass - - def test_list_secret_for_all_namespaces(self): - """Test case for list_secret_for_all_namespaces - - """ - pass - - def test_list_service_account_for_all_namespaces(self): - """Test case for list_service_account_for_all_namespaces - - """ - pass - - def test_list_service_for_all_namespaces(self): - """Test case for list_service_for_all_namespaces - - """ - pass - - def test_patch_namespace(self): - """Test case for patch_namespace - - """ - pass - - def test_patch_namespace_status(self): - """Test case for patch_namespace_status - - """ - pass - - def test_patch_namespaced_config_map(self): - """Test case for patch_namespaced_config_map - - """ - pass - - def test_patch_namespaced_endpoints(self): - """Test case for patch_namespaced_endpoints - - """ - pass - - def test_patch_namespaced_event(self): - """Test case for patch_namespaced_event - - """ - pass - - def test_patch_namespaced_limit_range(self): - """Test case for patch_namespaced_limit_range - - """ - pass - - def test_patch_namespaced_persistent_volume_claim(self): - """Test case for patch_namespaced_persistent_volume_claim - - """ - pass - - def test_patch_namespaced_persistent_volume_claim_status(self): - """Test case for patch_namespaced_persistent_volume_claim_status - - """ - pass - - def test_patch_namespaced_pod(self): - """Test case for patch_namespaced_pod - - """ - pass - - def test_patch_namespaced_pod_status(self): - """Test case for patch_namespaced_pod_status - - """ - pass - - def test_patch_namespaced_pod_template(self): - """Test case for patch_namespaced_pod_template - - """ - pass - - def test_patch_namespaced_replication_controller(self): - """Test case for patch_namespaced_replication_controller - - """ - pass - - def test_patch_namespaced_replication_controller_scale(self): - """Test case for patch_namespaced_replication_controller_scale - - """ - pass - - def test_patch_namespaced_replication_controller_status(self): - """Test case for patch_namespaced_replication_controller_status - - """ - pass - - def test_patch_namespaced_resource_quota(self): - """Test case for patch_namespaced_resource_quota - - """ - pass - - def test_patch_namespaced_resource_quota_status(self): - """Test case for patch_namespaced_resource_quota_status - - """ - pass - - def test_patch_namespaced_secret(self): - """Test case for patch_namespaced_secret - - """ - pass - - def test_patch_namespaced_service(self): - """Test case for patch_namespaced_service - - """ - pass - - def test_patch_namespaced_service_account(self): - """Test case for patch_namespaced_service_account - - """ - pass - - def test_patch_namespaced_service_status(self): - """Test case for patch_namespaced_service_status - - """ - pass - - def test_patch_node(self): - """Test case for patch_node - - """ - pass - - def test_patch_node_status(self): - """Test case for patch_node_status - - """ - pass - - def test_patch_persistent_volume(self): - """Test case for patch_persistent_volume - - """ - pass - - def test_patch_persistent_volume_status(self): - """Test case for patch_persistent_volume_status - - """ - pass - - def test_read_component_status(self): - """Test case for read_component_status - - """ - pass - - def test_read_namespace(self): - """Test case for read_namespace - - """ - pass - - def test_read_namespace_status(self): - """Test case for read_namespace_status - - """ - pass - - def test_read_namespaced_config_map(self): - """Test case for read_namespaced_config_map - - """ - pass - - def test_read_namespaced_endpoints(self): - """Test case for read_namespaced_endpoints - - """ - pass - - def test_read_namespaced_event(self): - """Test case for read_namespaced_event - - """ - pass - - def test_read_namespaced_limit_range(self): - """Test case for read_namespaced_limit_range - - """ - pass - - def test_read_namespaced_persistent_volume_claim(self): - """Test case for read_namespaced_persistent_volume_claim - - """ - pass - - def test_read_namespaced_persistent_volume_claim_status(self): - """Test case for read_namespaced_persistent_volume_claim_status - - """ - pass - - def test_read_namespaced_pod(self): - """Test case for read_namespaced_pod - - """ - pass - - def test_read_namespaced_pod_log(self): - """Test case for read_namespaced_pod_log - - """ - pass - - def test_read_namespaced_pod_status(self): - """Test case for read_namespaced_pod_status - - """ - pass - - def test_read_namespaced_pod_template(self): - """Test case for read_namespaced_pod_template - - """ - pass - - def test_read_namespaced_replication_controller(self): - """Test case for read_namespaced_replication_controller - - """ - pass - - def test_read_namespaced_replication_controller_scale(self): - """Test case for read_namespaced_replication_controller_scale - - """ - pass - - def test_read_namespaced_replication_controller_status(self): - """Test case for read_namespaced_replication_controller_status - - """ - pass - - def test_read_namespaced_resource_quota(self): - """Test case for read_namespaced_resource_quota - - """ - pass - - def test_read_namespaced_resource_quota_status(self): - """Test case for read_namespaced_resource_quota_status - - """ - pass - - def test_read_namespaced_secret(self): - """Test case for read_namespaced_secret - - """ - pass - - def test_read_namespaced_service(self): - """Test case for read_namespaced_service - - """ - pass - - def test_read_namespaced_service_account(self): - """Test case for read_namespaced_service_account - - """ - pass - - def test_read_namespaced_service_status(self): - """Test case for read_namespaced_service_status - - """ - pass - - def test_read_node(self): - """Test case for read_node - - """ - pass - - def test_read_node_status(self): - """Test case for read_node_status - - """ - pass - - def test_read_persistent_volume(self): - """Test case for read_persistent_volume - - """ - pass - - def test_read_persistent_volume_status(self): - """Test case for read_persistent_volume_status - - """ - pass - - def test_replace_namespace(self): - """Test case for replace_namespace - - """ - pass - - def test_replace_namespace_finalize(self): - """Test case for replace_namespace_finalize - - """ - pass - - def test_replace_namespace_status(self): - """Test case for replace_namespace_status - - """ - pass - - def test_replace_namespaced_config_map(self): - """Test case for replace_namespaced_config_map - - """ - pass - - def test_replace_namespaced_endpoints(self): - """Test case for replace_namespaced_endpoints - - """ - pass - - def test_replace_namespaced_event(self): - """Test case for replace_namespaced_event - - """ - pass - - def test_replace_namespaced_limit_range(self): - """Test case for replace_namespaced_limit_range - - """ - pass - - def test_replace_namespaced_persistent_volume_claim(self): - """Test case for replace_namespaced_persistent_volume_claim - - """ - pass - - def test_replace_namespaced_persistent_volume_claim_status(self): - """Test case for replace_namespaced_persistent_volume_claim_status - - """ - pass - - def test_replace_namespaced_pod(self): - """Test case for replace_namespaced_pod - - """ - pass - - def test_replace_namespaced_pod_status(self): - """Test case for replace_namespaced_pod_status - - """ - pass - - def test_replace_namespaced_pod_template(self): - """Test case for replace_namespaced_pod_template - - """ - pass - - def test_replace_namespaced_replication_controller(self): - """Test case for replace_namespaced_replication_controller - - """ - pass - - def test_replace_namespaced_replication_controller_scale(self): - """Test case for replace_namespaced_replication_controller_scale - - """ - pass - - def test_replace_namespaced_replication_controller_status(self): - """Test case for replace_namespaced_replication_controller_status - - """ - pass - - def test_replace_namespaced_resource_quota(self): - """Test case for replace_namespaced_resource_quota - - """ - pass - - def test_replace_namespaced_resource_quota_status(self): - """Test case for replace_namespaced_resource_quota_status - - """ - pass - - def test_replace_namespaced_secret(self): - """Test case for replace_namespaced_secret - - """ - pass - - def test_replace_namespaced_service(self): - """Test case for replace_namespaced_service - - """ - pass - - def test_replace_namespaced_service_account(self): - """Test case for replace_namespaced_service_account - - """ - pass - - def test_replace_namespaced_service_status(self): - """Test case for replace_namespaced_service_status - - """ - pass - - def test_replace_node(self): - """Test case for replace_node - - """ - pass - - def test_replace_node_status(self): - """Test case for replace_node_status - - """ - pass - - def test_replace_persistent_volume(self): - """Test case for replace_persistent_volume - - """ - pass - - def test_replace_persistent_volume_status(self): - """Test case for replace_persistent_volume_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_custom_objects_api.py b/kubernetes/test/test_custom_objects_api.py deleted file mode 100644 index 7851ec7258..0000000000 --- a/kubernetes/test/test_custom_objects_api.py +++ /dev/null @@ -1,189 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.custom_objects_api import CustomObjectsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestCustomObjectsApi(unittest.TestCase): - """CustomObjectsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.custom_objects_api.CustomObjectsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_create_cluster_custom_object(self): - """Test case for create_cluster_custom_object - - """ - pass - - def test_create_namespaced_custom_object(self): - """Test case for create_namespaced_custom_object - - """ - pass - - def test_delete_cluster_custom_object(self): - """Test case for delete_cluster_custom_object - - """ - pass - - def test_delete_collection_cluster_custom_object(self): - """Test case for delete_collection_cluster_custom_object - - """ - pass - - def test_delete_collection_namespaced_custom_object(self): - """Test case for delete_collection_namespaced_custom_object - - """ - pass - - def test_delete_namespaced_custom_object(self): - """Test case for delete_namespaced_custom_object - - """ - pass - - def test_get_cluster_custom_object(self): - """Test case for get_cluster_custom_object - - """ - pass - - def test_get_cluster_custom_object_scale(self): - """Test case for get_cluster_custom_object_scale - - """ - pass - - def test_get_cluster_custom_object_status(self): - """Test case for get_cluster_custom_object_status - - """ - pass - - def test_get_namespaced_custom_object(self): - """Test case for get_namespaced_custom_object - - """ - pass - - def test_get_namespaced_custom_object_scale(self): - """Test case for get_namespaced_custom_object_scale - - """ - pass - - def test_get_namespaced_custom_object_status(self): - """Test case for get_namespaced_custom_object_status - - """ - pass - - def test_list_cluster_custom_object(self): - """Test case for list_cluster_custom_object - - """ - pass - - def test_list_namespaced_custom_object(self): - """Test case for list_namespaced_custom_object - - """ - pass - - def test_patch_cluster_custom_object(self): - """Test case for patch_cluster_custom_object - - """ - pass - - def test_patch_cluster_custom_object_scale(self): - """Test case for patch_cluster_custom_object_scale - - """ - pass - - def test_patch_cluster_custom_object_status(self): - """Test case for patch_cluster_custom_object_status - - """ - pass - - def test_patch_namespaced_custom_object(self): - """Test case for patch_namespaced_custom_object - - """ - pass - - def test_patch_namespaced_custom_object_scale(self): - """Test case for patch_namespaced_custom_object_scale - - """ - pass - - def test_patch_namespaced_custom_object_status(self): - """Test case for patch_namespaced_custom_object_status - - """ - pass - - def test_replace_cluster_custom_object(self): - """Test case for replace_cluster_custom_object - - """ - pass - - def test_replace_cluster_custom_object_scale(self): - """Test case for replace_cluster_custom_object_scale - - """ - pass - - def test_replace_cluster_custom_object_status(self): - """Test case for replace_cluster_custom_object_status - - """ - pass - - def test_replace_namespaced_custom_object(self): - """Test case for replace_namespaced_custom_object - - """ - pass - - def test_replace_namespaced_custom_object_scale(self): - """Test case for replace_namespaced_custom_object_scale - - """ - pass - - def test_replace_namespaced_custom_object_status(self): - """Test case for replace_namespaced_custom_object_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_discovery_api.py b/kubernetes/test/test_discovery_api.py deleted file mode 100644 index 11aa9f34cc..0000000000 --- a/kubernetes/test/test_discovery_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.discovery_api import DiscoveryApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestDiscoveryApi(unittest.TestCase): - """DiscoveryApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.discovery_api.DiscoveryApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_discovery_v1beta1_api.py b/kubernetes/test/test_discovery_v1beta1_api.py deleted file mode 100644 index d859727e6c..0000000000 --- a/kubernetes/test/test_discovery_v1beta1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.discovery_v1beta1_api import DiscoveryV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestDiscoveryV1beta1Api(unittest.TestCase): - """DiscoveryV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.discovery_v1beta1_api.DiscoveryV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_endpoint_slice(self): - """Test case for create_namespaced_endpoint_slice - - """ - pass - - def test_delete_collection_namespaced_endpoint_slice(self): - """Test case for delete_collection_namespaced_endpoint_slice - - """ - pass - - def test_delete_namespaced_endpoint_slice(self): - """Test case for delete_namespaced_endpoint_slice - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_endpoint_slice_for_all_namespaces(self): - """Test case for list_endpoint_slice_for_all_namespaces - - """ - pass - - def test_list_namespaced_endpoint_slice(self): - """Test case for list_namespaced_endpoint_slice - - """ - pass - - def test_patch_namespaced_endpoint_slice(self): - """Test case for patch_namespaced_endpoint_slice - - """ - pass - - def test_read_namespaced_endpoint_slice(self): - """Test case for read_namespaced_endpoint_slice - - """ - pass - - def test_replace_namespaced_endpoint_slice(self): - """Test case for replace_namespaced_endpoint_slice - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_events_api.py b/kubernetes/test/test_events_api.py deleted file mode 100644 index cde6b9fb43..0000000000 --- a/kubernetes/test/test_events_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.events_api import EventsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestEventsApi(unittest.TestCase): - """EventsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.events_api.EventsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_events_v1beta1_api.py b/kubernetes/test/test_events_v1beta1_api.py deleted file mode 100644 index 714547f36a..0000000000 --- a/kubernetes/test/test_events_v1beta1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.events_v1beta1_api import EventsV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestEventsV1beta1Api(unittest.TestCase): - """EventsV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.events_v1beta1_api.EventsV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_event(self): - """Test case for create_namespaced_event - - """ - pass - - def test_delete_collection_namespaced_event(self): - """Test case for delete_collection_namespaced_event - - """ - pass - - def test_delete_namespaced_event(self): - """Test case for delete_namespaced_event - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_event_for_all_namespaces(self): - """Test case for list_event_for_all_namespaces - - """ - pass - - def test_list_namespaced_event(self): - """Test case for list_namespaced_event - - """ - pass - - def test_patch_namespaced_event(self): - """Test case for patch_namespaced_event - - """ - pass - - def test_read_namespaced_event(self): - """Test case for read_namespaced_event - - """ - pass - - def test_replace_namespaced_event(self): - """Test case for replace_namespaced_event - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_api.py b/kubernetes/test/test_extensions_api.py deleted file mode 100644 index 62eafe0405..0000000000 --- a/kubernetes/test/test_extensions_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.extensions_api import ExtensionsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestExtensionsApi(unittest.TestCase): - """ExtensionsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.extensions_api.ExtensionsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py b/kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py deleted file mode 100644 index 06fdcfdd76..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_allowed_csi_driver.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_allowed_csi_driver import ExtensionsV1beta1AllowedCSIDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1AllowedCSIDriver(unittest.TestCase): - """ExtensionsV1beta1AllowedCSIDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1AllowedCSIDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_allowed_csi_driver.ExtensionsV1beta1AllowedCSIDriver() # noqa: E501 - if include_optional : - return ExtensionsV1beta1AllowedCSIDriver( - name = '0' - ) - else : - return ExtensionsV1beta1AllowedCSIDriver( - name = '0', - ) - - def testExtensionsV1beta1AllowedCSIDriver(self): - """Test ExtensionsV1beta1AllowedCSIDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py deleted file mode 100644 index a6502b6c7d..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_allowed_flex_volume.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_allowed_flex_volume import ExtensionsV1beta1AllowedFlexVolume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1AllowedFlexVolume(unittest.TestCase): - """ExtensionsV1beta1AllowedFlexVolume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1AllowedFlexVolume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_allowed_flex_volume.ExtensionsV1beta1AllowedFlexVolume() # noqa: E501 - if include_optional : - return ExtensionsV1beta1AllowedFlexVolume( - driver = '0' - ) - else : - return ExtensionsV1beta1AllowedFlexVolume( - driver = '0', - ) - - def testExtensionsV1beta1AllowedFlexVolume(self): - """Test ExtensionsV1beta1AllowedFlexVolume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py b/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py deleted file mode 100644 index a452c6f709..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_allowed_host_path.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_allowed_host_path import ExtensionsV1beta1AllowedHostPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1AllowedHostPath(unittest.TestCase): - """ExtensionsV1beta1AllowedHostPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1AllowedHostPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_allowed_host_path.ExtensionsV1beta1AllowedHostPath() # noqa: E501 - if include_optional : - return ExtensionsV1beta1AllowedHostPath( - path_prefix = '0', - read_only = True - ) - else : - return ExtensionsV1beta1AllowedHostPath( - ) - - def testExtensionsV1beta1AllowedHostPath(self): - """Test ExtensionsV1beta1AllowedHostPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_api.py b/kubernetes/test/test_extensions_v1beta1_api.py deleted file mode 100644 index 3f0e88dd7d..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_api.py +++ /dev/null @@ -1,453 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.extensions_v1beta1_api import ExtensionsV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestExtensionsV1beta1Api(unittest.TestCase): - """ExtensionsV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.extensions_v1beta1_api.ExtensionsV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_daemon_set(self): - """Test case for create_namespaced_daemon_set - - """ - pass - - def test_create_namespaced_deployment(self): - """Test case for create_namespaced_deployment - - """ - pass - - def test_create_namespaced_deployment_rollback(self): - """Test case for create_namespaced_deployment_rollback - - """ - pass - - def test_create_namespaced_ingress(self): - """Test case for create_namespaced_ingress - - """ - pass - - def test_create_namespaced_network_policy(self): - """Test case for create_namespaced_network_policy - - """ - pass - - def test_create_namespaced_replica_set(self): - """Test case for create_namespaced_replica_set - - """ - pass - - def test_create_pod_security_policy(self): - """Test case for create_pod_security_policy - - """ - pass - - def test_delete_collection_namespaced_daemon_set(self): - """Test case for delete_collection_namespaced_daemon_set - - """ - pass - - def test_delete_collection_namespaced_deployment(self): - """Test case for delete_collection_namespaced_deployment - - """ - pass - - def test_delete_collection_namespaced_ingress(self): - """Test case for delete_collection_namespaced_ingress - - """ - pass - - def test_delete_collection_namespaced_network_policy(self): - """Test case for delete_collection_namespaced_network_policy - - """ - pass - - def test_delete_collection_namespaced_replica_set(self): - """Test case for delete_collection_namespaced_replica_set - - """ - pass - - def test_delete_collection_pod_security_policy(self): - """Test case for delete_collection_pod_security_policy - - """ - pass - - def test_delete_namespaced_daemon_set(self): - """Test case for delete_namespaced_daemon_set - - """ - pass - - def test_delete_namespaced_deployment(self): - """Test case for delete_namespaced_deployment - - """ - pass - - def test_delete_namespaced_ingress(self): - """Test case for delete_namespaced_ingress - - """ - pass - - def test_delete_namespaced_network_policy(self): - """Test case for delete_namespaced_network_policy - - """ - pass - - def test_delete_namespaced_replica_set(self): - """Test case for delete_namespaced_replica_set - - """ - pass - - def test_delete_pod_security_policy(self): - """Test case for delete_pod_security_policy - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_daemon_set_for_all_namespaces(self): - """Test case for list_daemon_set_for_all_namespaces - - """ - pass - - def test_list_deployment_for_all_namespaces(self): - """Test case for list_deployment_for_all_namespaces - - """ - pass - - def test_list_ingress_for_all_namespaces(self): - """Test case for list_ingress_for_all_namespaces - - """ - pass - - def test_list_namespaced_daemon_set(self): - """Test case for list_namespaced_daemon_set - - """ - pass - - def test_list_namespaced_deployment(self): - """Test case for list_namespaced_deployment - - """ - pass - - def test_list_namespaced_ingress(self): - """Test case for list_namespaced_ingress - - """ - pass - - def test_list_namespaced_network_policy(self): - """Test case for list_namespaced_network_policy - - """ - pass - - def test_list_namespaced_replica_set(self): - """Test case for list_namespaced_replica_set - - """ - pass - - def test_list_network_policy_for_all_namespaces(self): - """Test case for list_network_policy_for_all_namespaces - - """ - pass - - def test_list_pod_security_policy(self): - """Test case for list_pod_security_policy - - """ - pass - - def test_list_replica_set_for_all_namespaces(self): - """Test case for list_replica_set_for_all_namespaces - - """ - pass - - def test_patch_namespaced_daemon_set(self): - """Test case for patch_namespaced_daemon_set - - """ - pass - - def test_patch_namespaced_daemon_set_status(self): - """Test case for patch_namespaced_daemon_set_status - - """ - pass - - def test_patch_namespaced_deployment(self): - """Test case for patch_namespaced_deployment - - """ - pass - - def test_patch_namespaced_deployment_scale(self): - """Test case for patch_namespaced_deployment_scale - - """ - pass - - def test_patch_namespaced_deployment_status(self): - """Test case for patch_namespaced_deployment_status - - """ - pass - - def test_patch_namespaced_ingress(self): - """Test case for patch_namespaced_ingress - - """ - pass - - def test_patch_namespaced_ingress_status(self): - """Test case for patch_namespaced_ingress_status - - """ - pass - - def test_patch_namespaced_network_policy(self): - """Test case for patch_namespaced_network_policy - - """ - pass - - def test_patch_namespaced_replica_set(self): - """Test case for patch_namespaced_replica_set - - """ - pass - - def test_patch_namespaced_replica_set_scale(self): - """Test case for patch_namespaced_replica_set_scale - - """ - pass - - def test_patch_namespaced_replica_set_status(self): - """Test case for patch_namespaced_replica_set_status - - """ - pass - - def test_patch_namespaced_replication_controller_dummy_scale(self): - """Test case for patch_namespaced_replication_controller_dummy_scale - - """ - pass - - def test_patch_pod_security_policy(self): - """Test case for patch_pod_security_policy - - """ - pass - - def test_read_namespaced_daemon_set(self): - """Test case for read_namespaced_daemon_set - - """ - pass - - def test_read_namespaced_daemon_set_status(self): - """Test case for read_namespaced_daemon_set_status - - """ - pass - - def test_read_namespaced_deployment(self): - """Test case for read_namespaced_deployment - - """ - pass - - def test_read_namespaced_deployment_scale(self): - """Test case for read_namespaced_deployment_scale - - """ - pass - - def test_read_namespaced_deployment_status(self): - """Test case for read_namespaced_deployment_status - - """ - pass - - def test_read_namespaced_ingress(self): - """Test case for read_namespaced_ingress - - """ - pass - - def test_read_namespaced_ingress_status(self): - """Test case for read_namespaced_ingress_status - - """ - pass - - def test_read_namespaced_network_policy(self): - """Test case for read_namespaced_network_policy - - """ - pass - - def test_read_namespaced_replica_set(self): - """Test case for read_namespaced_replica_set - - """ - pass - - def test_read_namespaced_replica_set_scale(self): - """Test case for read_namespaced_replica_set_scale - - """ - pass - - def test_read_namespaced_replica_set_status(self): - """Test case for read_namespaced_replica_set_status - - """ - pass - - def test_read_namespaced_replication_controller_dummy_scale(self): - """Test case for read_namespaced_replication_controller_dummy_scale - - """ - pass - - def test_read_pod_security_policy(self): - """Test case for read_pod_security_policy - - """ - pass - - def test_replace_namespaced_daemon_set(self): - """Test case for replace_namespaced_daemon_set - - """ - pass - - def test_replace_namespaced_daemon_set_status(self): - """Test case for replace_namespaced_daemon_set_status - - """ - pass - - def test_replace_namespaced_deployment(self): - """Test case for replace_namespaced_deployment - - """ - pass - - def test_replace_namespaced_deployment_scale(self): - """Test case for replace_namespaced_deployment_scale - - """ - pass - - def test_replace_namespaced_deployment_status(self): - """Test case for replace_namespaced_deployment_status - - """ - pass - - def test_replace_namespaced_ingress(self): - """Test case for replace_namespaced_ingress - - """ - pass - - def test_replace_namespaced_ingress_status(self): - """Test case for replace_namespaced_ingress_status - - """ - pass - - def test_replace_namespaced_network_policy(self): - """Test case for replace_namespaced_network_policy - - """ - pass - - def test_replace_namespaced_replica_set(self): - """Test case for replace_namespaced_replica_set - - """ - pass - - def test_replace_namespaced_replica_set_scale(self): - """Test case for replace_namespaced_replica_set_scale - - """ - pass - - def test_replace_namespaced_replica_set_status(self): - """Test case for replace_namespaced_replica_set_status - - """ - pass - - def test_replace_namespaced_replication_controller_dummy_scale(self): - """Test case for replace_namespaced_replication_controller_dummy_scale - - """ - pass - - def test_replace_pod_security_policy(self): - """Test case for replace_pod_security_policy - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment.py b/kubernetes/test/test_extensions_v1beta1_deployment.py deleted file mode 100644 index 02b3146355..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment.py +++ /dev/null @@ -1,607 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment import ExtensionsV1beta1Deployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1Deployment(unittest.TestCase): - """ExtensionsV1beta1Deployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1Deployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment.ExtensionsV1beta1Deployment() # noqa: E501 - if include_optional : - return ExtensionsV1beta1Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ) - ) - else : - return ExtensionsV1beta1Deployment( - ) - - def testExtensionsV1beta1Deployment(self): - """Test ExtensionsV1beta1Deployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py b/kubernetes/test/test_extensions_v1beta1_deployment_condition.py deleted file mode 100644 index f664d74729..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_condition import ExtensionsV1beta1DeploymentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentCondition(unittest.TestCase): - """ExtensionsV1beta1DeploymentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_condition.ExtensionsV1beta1DeploymentCondition() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return ExtensionsV1beta1DeploymentCondition( - status = '0', - type = '0', - ) - - def testExtensionsV1beta1DeploymentCondition(self): - """Test ExtensionsV1beta1DeploymentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_list.py b/kubernetes/test/test_extensions_v1beta1_deployment_list.py deleted file mode 100644 index 3134c602c2..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_list.py +++ /dev/null @@ -1,232 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_list import ExtensionsV1beta1DeploymentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentList(unittest.TestCase): - """ExtensionsV1beta1DeploymentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_list.ExtensionsV1beta1DeploymentList() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentList( - api_version = '0', - items = [ - kubernetes.client.models.extensions/v1beta1/deployment.extensions.v1beta1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return ExtensionsV1beta1DeploymentList( - items = [ - kubernetes.client.models.extensions/v1beta1/deployment.extensions.v1beta1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/deployment_spec.extensions.v1beta1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.extensions/v1beta1/deployment_status.extensions.v1beta1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - ) - - def testExtensionsV1beta1DeploymentList(self): - """Test ExtensionsV1beta1DeploymentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py b/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py deleted file mode 100644 index 0596ee0c21..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_rollback.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_rollback import ExtensionsV1beta1DeploymentRollback # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentRollback(unittest.TestCase): - """ExtensionsV1beta1DeploymentRollback unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentRollback - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_rollback.ExtensionsV1beta1DeploymentRollback() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentRollback( - api_version = '0', - kind = '0', - name = '0', - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - updated_annotations = { - 'key' : '0' - } - ) - else : - return ExtensionsV1beta1DeploymentRollback( - name = '0', - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - ) - - def testExtensionsV1beta1DeploymentRollback(self): - """Test ExtensionsV1beta1DeploymentRollback""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py b/kubernetes/test/test_extensions_v1beta1_deployment_spec.py deleted file mode 100644 index 2164c1d4fa..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_spec.py +++ /dev/null @@ -1,1043 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_spec import ExtensionsV1beta1DeploymentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentSpec(unittest.TestCase): - """ExtensionsV1beta1DeploymentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_spec.ExtensionsV1beta1DeploymentSpec() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - rollback_to = kubernetes.client.models.extensions/v1beta1/rollback_config.extensions.v1beta1.RollbackConfig( - revision = 56, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.extensions/v1beta1/deployment_strategy.extensions.v1beta1.DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return ExtensionsV1beta1DeploymentSpec( - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testExtensionsV1beta1DeploymentSpec(self): - """Test ExtensionsV1beta1DeploymentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_status.py b/kubernetes/test/test_extensions_v1beta1_deployment_status.py deleted file mode 100644 index 14ec417deb..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_status import ExtensionsV1beta1DeploymentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentStatus(unittest.TestCase): - """ExtensionsV1beta1DeploymentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_status.ExtensionsV1beta1DeploymentStatus() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.extensions/v1beta1/deployment_condition.extensions.v1beta1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56 - ) - else : - return ExtensionsV1beta1DeploymentStatus( - ) - - def testExtensionsV1beta1DeploymentStatus(self): - """Test ExtensionsV1beta1DeploymentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py b/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py deleted file mode 100644 index 54b855b9e5..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_deployment_strategy.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_deployment_strategy import ExtensionsV1beta1DeploymentStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1DeploymentStrategy(unittest.TestCase): - """ExtensionsV1beta1DeploymentStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1DeploymentStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_deployment_strategy.ExtensionsV1beta1DeploymentStrategy() # noqa: E501 - if include_optional : - return ExtensionsV1beta1DeploymentStrategy( - rolling_update = kubernetes.client.models.extensions/v1beta1/rolling_update_deployment.extensions.v1beta1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return ExtensionsV1beta1DeploymentStrategy( - ) - - def testExtensionsV1beta1DeploymentStrategy(self): - """Test ExtensionsV1beta1DeploymentStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py deleted file mode 100644 index b2288e3939..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_fs_group_strategy_options.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_fs_group_strategy_options import ExtensionsV1beta1FSGroupStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1FSGroupStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1FSGroupStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1FSGroupStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_fs_group_strategy_options.ExtensionsV1beta1FSGroupStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return ExtensionsV1beta1FSGroupStrategyOptions( - ) - - def testExtensionsV1beta1FSGroupStrategyOptions(self): - """Test ExtensionsV1beta1FSGroupStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_host_port_range.py b/kubernetes/test/test_extensions_v1beta1_host_port_range.py deleted file mode 100644 index 8941ad9f51..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_host_port_range.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_host_port_range import ExtensionsV1beta1HostPortRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1HostPortRange(unittest.TestCase): - """ExtensionsV1beta1HostPortRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1HostPortRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_host_port_range.ExtensionsV1beta1HostPortRange() # noqa: E501 - if include_optional : - return ExtensionsV1beta1HostPortRange( - max = 56, - min = 56 - ) - else : - return ExtensionsV1beta1HostPortRange( - max = 56, - min = 56, - ) - - def testExtensionsV1beta1HostPortRange(self): - """Test ExtensionsV1beta1HostPortRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py b/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py deleted file mode 100644 index 2f601c7361..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_http_ingress_path.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_http_ingress_path import ExtensionsV1beta1HTTPIngressPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1HTTPIngressPath(unittest.TestCase): - """ExtensionsV1beta1HTTPIngressPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1HTTPIngressPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_http_ingress_path.ExtensionsV1beta1HTTPIngressPath() # noqa: E501 - if include_optional : - return ExtensionsV1beta1HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0' - ) - else : - return ExtensionsV1beta1HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - ) - - def testExtensionsV1beta1HTTPIngressPath(self): - """Test ExtensionsV1beta1HTTPIngressPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py deleted file mode 100644 index 7a4c0bf025..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_http_ingress_rule_value.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_http_ingress_rule_value import ExtensionsV1beta1HTTPIngressRuleValue # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1HTTPIngressRuleValue(unittest.TestCase): - """ExtensionsV1beta1HTTPIngressRuleValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1HTTPIngressRuleValue - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_http_ingress_rule_value.ExtensionsV1beta1HTTPIngressRuleValue() # noqa: E501 - if include_optional : - return ExtensionsV1beta1HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ] - ) - else : - return ExtensionsV1beta1HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], - ) - - def testExtensionsV1beta1HTTPIngressRuleValue(self): - """Test ExtensionsV1beta1HTTPIngressRuleValue""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_id_range.py b/kubernetes/test/test_extensions_v1beta1_id_range.py deleted file mode 100644 index 91deeefb43..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_id_range.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_id_range import ExtensionsV1beta1IDRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IDRange(unittest.TestCase): - """ExtensionsV1beta1IDRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IDRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_id_range.ExtensionsV1beta1IDRange() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IDRange( - max = 56, - min = 56 - ) - else : - return ExtensionsV1beta1IDRange( - max = 56, - min = 56, - ) - - def testExtensionsV1beta1IDRange(self): - """Test ExtensionsV1beta1IDRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress.py b/kubernetes/test/test_extensions_v1beta1_ingress.py deleted file mode 100644 index adc5fb6b42..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress import ExtensionsV1beta1Ingress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1Ingress(unittest.TestCase): - """ExtensionsV1beta1Ingress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1Ingress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress.ExtensionsV1beta1Ingress() # noqa: E501 - if include_optional : - return ExtensionsV1beta1Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ) - ) - else : - return ExtensionsV1beta1Ingress( - ) - - def testExtensionsV1beta1Ingress(self): - """Test ExtensionsV1beta1Ingress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_backend.py b/kubernetes/test/test_extensions_v1beta1_ingress_backend.py deleted file mode 100644 index c86739fa83..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_backend.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_backend import ExtensionsV1beta1IngressBackend # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressBackend(unittest.TestCase): - """ExtensionsV1beta1IngressBackend unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressBackend - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_backend.ExtensionsV1beta1IngressBackend() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort() - ) - else : - return ExtensionsV1beta1IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), - ) - - def testExtensionsV1beta1IngressBackend(self): - """Test ExtensionsV1beta1IngressBackend""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_list.py b/kubernetes/test/test_extensions_v1beta1_ingress_list.py deleted file mode 100644 index 98ae53768b..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_list import ExtensionsV1beta1IngressList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressList(unittest.TestCase): - """ExtensionsV1beta1IngressList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_list.ExtensionsV1beta1IngressList() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressList( - api_version = '0', - items = [ - kubernetes.client.models.extensions/v1beta1/ingress.extensions.v1beta1.Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return ExtensionsV1beta1IngressList( - items = [ - kubernetes.client.models.extensions/v1beta1/ingress.extensions.v1beta1.Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/ingress_spec.extensions.v1beta1.IngressSpec( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.extensions/v1beta1/ingress_status.extensions.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - ) - - def testExtensionsV1beta1IngressList(self): - """Test ExtensionsV1beta1IngressList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_rule.py b/kubernetes/test/test_extensions_v1beta1_ingress_rule.py deleted file mode 100644 index 45309bf637..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_rule.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_rule import ExtensionsV1beta1IngressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressRule(unittest.TestCase): - """ExtensionsV1beta1IngressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_rule.ExtensionsV1beta1IngressRule() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ) - ) - else : - return ExtensionsV1beta1IngressRule( - ) - - def testExtensionsV1beta1IngressRule(self): - """Test ExtensionsV1beta1IngressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_spec.py b/kubernetes/test/test_extensions_v1beta1_ingress_spec.py deleted file mode 100644 index f24c9b0daf..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_spec.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_spec import ExtensionsV1beta1IngressSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressSpec(unittest.TestCase): - """ExtensionsV1beta1IngressSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_spec.ExtensionsV1beta1IngressSpec() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressSpec( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.extensions/v1beta1/ingress_rule.extensions.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.extensions/v1beta1/http_ingress_rule_value.extensions.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.extensions/v1beta1/http_ingress_path.extensions.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.extensions/v1beta1/ingress_backend.extensions.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.extensions/v1beta1/ingress_tls.extensions.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ] - ) - else : - return ExtensionsV1beta1IngressSpec( - ) - - def testExtensionsV1beta1IngressSpec(self): - """Test ExtensionsV1beta1IngressSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_status.py b/kubernetes/test/test_extensions_v1beta1_ingress_status.py deleted file mode 100644 index 6ea5c11661..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_status import ExtensionsV1beta1IngressStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressStatus(unittest.TestCase): - """ExtensionsV1beta1IngressStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_status.ExtensionsV1beta1IngressStatus() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ) - ) - else : - return ExtensionsV1beta1IngressStatus( - ) - - def testExtensionsV1beta1IngressStatus(self): - """Test ExtensionsV1beta1IngressStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_ingress_tls.py b/kubernetes/test/test_extensions_v1beta1_ingress_tls.py deleted file mode 100644 index 72ce55f12f..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_ingress_tls.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_ingress_tls import ExtensionsV1beta1IngressTLS # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1IngressTLS(unittest.TestCase): - """ExtensionsV1beta1IngressTLS unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1IngressTLS - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_ingress_tls.ExtensionsV1beta1IngressTLS() # noqa: E501 - if include_optional : - return ExtensionsV1beta1IngressTLS( - hosts = [ - '0' - ], - secret_name = '0' - ) - else : - return ExtensionsV1beta1IngressTLS( - ) - - def testExtensionsV1beta1IngressTLS(self): - """Test ExtensionsV1beta1IngressTLS""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py deleted file mode 100644 index 9574ad5186..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_pod_security_policy import ExtensionsV1beta1PodSecurityPolicy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1PodSecurityPolicy(unittest.TestCase): - """ExtensionsV1beta1PodSecurityPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1PodSecurityPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy.ExtensionsV1beta1PodSecurityPolicy() # noqa: E501 - if include_optional : - return ExtensionsV1beta1PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ) - ) - else : - return ExtensionsV1beta1PodSecurityPolicy( - ) - - def testExtensionsV1beta1PodSecurityPolicy(self): - """Test ExtensionsV1beta1PodSecurityPolicy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py deleted file mode 100644 index 52890bd49f..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_list.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_pod_security_policy_list import ExtensionsV1beta1PodSecurityPolicyList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1PodSecurityPolicyList(unittest.TestCase): - """ExtensionsV1beta1PodSecurityPolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1PodSecurityPolicyList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy_list.ExtensionsV1beta1PodSecurityPolicyList() # noqa: E501 - if include_optional : - return ExtensionsV1beta1PodSecurityPolicyList( - api_version = '0', - items = [ - kubernetes.client.models.extensions/v1beta1/pod_security_policy.extensions.v1beta1.PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return ExtensionsV1beta1PodSecurityPolicyList( - items = [ - kubernetes.client.models.extensions/v1beta1/pod_security_policy.extensions.v1beta1.PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/pod_security_policy_spec.extensions.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ), ) - ], - ) - - def testExtensionsV1beta1PodSecurityPolicyList(self): - """Test ExtensionsV1beta1PodSecurityPolicyList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py deleted file mode 100644 index 2cb6567956..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_pod_security_policy_spec.py +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_pod_security_policy_spec import ExtensionsV1beta1PodSecurityPolicySpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1PodSecurityPolicySpec(unittest.TestCase): - """ExtensionsV1beta1PodSecurityPolicySpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1PodSecurityPolicySpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_pod_security_policy_spec.ExtensionsV1beta1PodSecurityPolicySpec() # noqa: E501 - if include_optional : - return ExtensionsV1beta1PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.extensions/v1beta1/allowed_csi_driver.extensions.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.extensions/v1beta1/allowed_flex_volume.extensions.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.extensions/v1beta1/allowed_host_path.extensions.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.extensions/v1beta1/host_port_range.extensions.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.extensions/v1beta1/run_as_group_strategy_options.extensions.v1beta1.RunAsGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - runtime_class = kubernetes.client.models.extensions/v1beta1/runtime_class_strategy_options.extensions.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - volumes = [ - '0' - ] - ) - else : - return ExtensionsV1beta1PodSecurityPolicySpec( - fs_group = kubernetes.client.models.extensions/v1beta1/fs_group_strategy_options.extensions.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - run_as_user = kubernetes.client.models.extensions/v1beta1/run_as_user_strategy_options.extensions.v1beta1.RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - se_linux = kubernetes.client.models.extensions/v1beta1/se_linux_strategy_options.extensions.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.extensions/v1beta1/supplemental_groups_strategy_options.extensions.v1beta1.SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - ) - - def testExtensionsV1beta1PodSecurityPolicySpec(self): - """Test ExtensionsV1beta1PodSecurityPolicySpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_rollback_config.py b/kubernetes/test/test_extensions_v1beta1_rollback_config.py deleted file mode 100644 index 81f23e2817..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_rollback_config.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_rollback_config import ExtensionsV1beta1RollbackConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RollbackConfig(unittest.TestCase): - """ExtensionsV1beta1RollbackConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RollbackConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_rollback_config.ExtensionsV1beta1RollbackConfig() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RollbackConfig( - revision = 56 - ) - else : - return ExtensionsV1beta1RollbackConfig( - ) - - def testExtensionsV1beta1RollbackConfig(self): - """Test ExtensionsV1beta1RollbackConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py deleted file mode 100644 index 297643885e..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_rolling_update_deployment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_rolling_update_deployment import ExtensionsV1beta1RollingUpdateDeployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RollingUpdateDeployment(unittest.TestCase): - """ExtensionsV1beta1RollingUpdateDeployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RollingUpdateDeployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_rolling_update_deployment.ExtensionsV1beta1RollingUpdateDeployment() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return ExtensionsV1beta1RollingUpdateDeployment( - ) - - def testExtensionsV1beta1RollingUpdateDeployment(self): - """Test ExtensionsV1beta1RollingUpdateDeployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py deleted file mode 100644 index 09ebc7494a..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_run_as_group_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_run_as_group_strategy_options import ExtensionsV1beta1RunAsGroupStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RunAsGroupStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1RunAsGroupStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RunAsGroupStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_run_as_group_strategy_options.ExtensionsV1beta1RunAsGroupStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RunAsGroupStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return ExtensionsV1beta1RunAsGroupStrategyOptions( - rule = '0', - ) - - def testExtensionsV1beta1RunAsGroupStrategyOptions(self): - """Test ExtensionsV1beta1RunAsGroupStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py deleted file mode 100644 index 4ddbf9287d..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_run_as_user_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_run_as_user_strategy_options import ExtensionsV1beta1RunAsUserStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RunAsUserStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1RunAsUserStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RunAsUserStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_run_as_user_strategy_options.ExtensionsV1beta1RunAsUserStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return ExtensionsV1beta1RunAsUserStrategyOptions( - rule = '0', - ) - - def testExtensionsV1beta1RunAsUserStrategyOptions(self): - """Test ExtensionsV1beta1RunAsUserStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py deleted file mode 100644 index 22be08bd87..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_runtime_class_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_runtime_class_strategy_options import ExtensionsV1beta1RuntimeClassStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1RuntimeClassStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1RuntimeClassStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1RuntimeClassStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_runtime_class_strategy_options.ExtensionsV1beta1RuntimeClassStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0' - ) - else : - return ExtensionsV1beta1RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - ) - - def testExtensionsV1beta1RuntimeClassStrategyOptions(self): - """Test ExtensionsV1beta1RuntimeClassStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale.py b/kubernetes/test/test_extensions_v1beta1_scale.py deleted file mode 100644 index 5d30f1ab3b..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_scale.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_scale import ExtensionsV1beta1Scale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1Scale(unittest.TestCase): - """ExtensionsV1beta1Scale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1Scale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_scale.ExtensionsV1beta1Scale() # noqa: E501 - if include_optional : - return ExtensionsV1beta1Scale( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.extensions/v1beta1/scale_spec.extensions.v1beta1.ScaleSpec( - replicas = 56, ), - status = kubernetes.client.models.extensions/v1beta1/scale_status.extensions.v1beta1.ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0', ) - ) - else : - return ExtensionsV1beta1Scale( - ) - - def testExtensionsV1beta1Scale(self): - """Test ExtensionsV1beta1Scale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale_spec.py b/kubernetes/test/test_extensions_v1beta1_scale_spec.py deleted file mode 100644 index 0dca5049f6..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_scale_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_scale_spec import ExtensionsV1beta1ScaleSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1ScaleSpec(unittest.TestCase): - """ExtensionsV1beta1ScaleSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1ScaleSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_scale_spec.ExtensionsV1beta1ScaleSpec() # noqa: E501 - if include_optional : - return ExtensionsV1beta1ScaleSpec( - replicas = 56 - ) - else : - return ExtensionsV1beta1ScaleSpec( - ) - - def testExtensionsV1beta1ScaleSpec(self): - """Test ExtensionsV1beta1ScaleSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_scale_status.py b/kubernetes/test/test_extensions_v1beta1_scale_status.py deleted file mode 100644 index 6553cbc65b..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_scale_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_scale_status import ExtensionsV1beta1ScaleStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1ScaleStatus(unittest.TestCase): - """ExtensionsV1beta1ScaleStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1ScaleStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_scale_status.ExtensionsV1beta1ScaleStatus() # noqa: E501 - if include_optional : - return ExtensionsV1beta1ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0' - ) - else : - return ExtensionsV1beta1ScaleStatus( - replicas = 56, - ) - - def testExtensionsV1beta1ScaleStatus(self): - """Test ExtensionsV1beta1ScaleStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py deleted file mode 100644 index 2db5ae9f00..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_se_linux_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_se_linux_strategy_options import ExtensionsV1beta1SELinuxStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1SELinuxStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1SELinuxStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1SELinuxStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_se_linux_strategy_options.ExtensionsV1beta1SELinuxStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ) - ) - else : - return ExtensionsV1beta1SELinuxStrategyOptions( - rule = '0', - ) - - def testExtensionsV1beta1SELinuxStrategyOptions(self): - """Test ExtensionsV1beta1SELinuxStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py deleted file mode 100644 index fbdacce64d..0000000000 --- a/kubernetes/test/test_extensions_v1beta1_supplemental_groups_strategy_options.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.extensions_v1beta1_supplemental_groups_strategy_options import ExtensionsV1beta1SupplementalGroupsStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestExtensionsV1beta1SupplementalGroupsStrategyOptions(unittest.TestCase): - """ExtensionsV1beta1SupplementalGroupsStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test ExtensionsV1beta1SupplementalGroupsStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.extensions_v1beta1_supplemental_groups_strategy_options.ExtensionsV1beta1SupplementalGroupsStrategyOptions() # noqa: E501 - if include_optional : - return ExtensionsV1beta1SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.extensions/v1beta1/id_range.extensions.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return ExtensionsV1beta1SupplementalGroupsStrategyOptions( - ) - - def testExtensionsV1beta1SupplementalGroupsStrategyOptions(self): - """Test ExtensionsV1beta1SupplementalGroupsStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_flowcontrol_apiserver_api.py b/kubernetes/test/test_flowcontrol_apiserver_api.py deleted file mode 100644 index b58ce1cfe3..0000000000 --- a/kubernetes/test/test_flowcontrol_apiserver_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestFlowcontrolApiserverApi(unittest.TestCase): - """FlowcontrolApiserverApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.flowcontrol_apiserver_api.FlowcontrolApiserverApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_flowcontrol_apiserver_v1alpha1_api.py b/kubernetes/test/test_flowcontrol_apiserver_v1alpha1_api.py deleted file mode 100644 index 603b0836f3..0000000000 --- a/kubernetes/test/test_flowcontrol_apiserver_v1alpha1_api.py +++ /dev/null @@ -1,159 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.flowcontrol_apiserver_v1alpha1_api import FlowcontrolApiserverV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestFlowcontrolApiserverV1alpha1Api(unittest.TestCase): - """FlowcontrolApiserverV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.flowcontrol_apiserver_v1alpha1_api.FlowcontrolApiserverV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_flow_schema(self): - """Test case for create_flow_schema - - """ - pass - - def test_create_priority_level_configuration(self): - """Test case for create_priority_level_configuration - - """ - pass - - def test_delete_collection_flow_schema(self): - """Test case for delete_collection_flow_schema - - """ - pass - - def test_delete_collection_priority_level_configuration(self): - """Test case for delete_collection_priority_level_configuration - - """ - pass - - def test_delete_flow_schema(self): - """Test case for delete_flow_schema - - """ - pass - - def test_delete_priority_level_configuration(self): - """Test case for delete_priority_level_configuration - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_flow_schema(self): - """Test case for list_flow_schema - - """ - pass - - def test_list_priority_level_configuration(self): - """Test case for list_priority_level_configuration - - """ - pass - - def test_patch_flow_schema(self): - """Test case for patch_flow_schema - - """ - pass - - def test_patch_flow_schema_status(self): - """Test case for patch_flow_schema_status - - """ - pass - - def test_patch_priority_level_configuration(self): - """Test case for patch_priority_level_configuration - - """ - pass - - def test_patch_priority_level_configuration_status(self): - """Test case for patch_priority_level_configuration_status - - """ - pass - - def test_read_flow_schema(self): - """Test case for read_flow_schema - - """ - pass - - def test_read_flow_schema_status(self): - """Test case for read_flow_schema_status - - """ - pass - - def test_read_priority_level_configuration(self): - """Test case for read_priority_level_configuration - - """ - pass - - def test_read_priority_level_configuration_status(self): - """Test case for read_priority_level_configuration_status - - """ - pass - - def test_replace_flow_schema(self): - """Test case for replace_flow_schema - - """ - pass - - def test_replace_flow_schema_status(self): - """Test case for replace_flow_schema_status - - """ - pass - - def test_replace_priority_level_configuration(self): - """Test case for replace_priority_level_configuration - - """ - pass - - def test_replace_priority_level_configuration_status(self): - """Test case for replace_priority_level_configuration_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_flowcontrol_v1alpha1_subject.py b/kubernetes/test/test_flowcontrol_v1alpha1_subject.py deleted file mode 100644 index a6f1884b54..0000000000 --- a/kubernetes/test/test_flowcontrol_v1alpha1_subject.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.flowcontrol_v1alpha1_subject import FlowcontrolV1alpha1Subject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestFlowcontrolV1alpha1Subject(unittest.TestCase): - """FlowcontrolV1alpha1Subject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test FlowcontrolV1alpha1Subject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.flowcontrol_v1alpha1_subject.FlowcontrolV1alpha1Subject() # noqa: E501 - if include_optional : - return FlowcontrolV1alpha1Subject( - group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( - name = '0', ), - kind = '0', - service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( - name = '0', - namespace = '0', ), - user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( - name = '0', ) - ) - else : - return FlowcontrolV1alpha1Subject( - kind = '0', - ) - - def testFlowcontrolV1alpha1Subject(self): - """Test FlowcontrolV1alpha1Subject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_logs_api.py b/kubernetes/test/test_logs_api.py deleted file mode 100644 index d40e6b2e5a..0000000000 --- a/kubernetes/test/test_logs_api.py +++ /dev/null @@ -1,45 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.logs_api import LogsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestLogsApi(unittest.TestCase): - """LogsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.logs_api.LogsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_log_file_handler(self): - """Test case for log_file_handler - - """ - pass - - def test_log_file_list_handler(self): - """Test case for log_file_list_handler - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_api.py b/kubernetes/test/test_networking_api.py deleted file mode 100644 index 5ac1421615..0000000000 --- a/kubernetes/test/test_networking_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.networking_api import NetworkingApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNetworkingApi(unittest.TestCase): - """NetworkingApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.networking_api.NetworkingApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1_api.py b/kubernetes/test/test_networking_v1_api.py deleted file mode 100644 index 50a6e2e87e..0000000000 --- a/kubernetes/test/test_networking_v1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.networking_v1_api import NetworkingV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNetworkingV1Api(unittest.TestCase): - """NetworkingV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.networking_v1_api.NetworkingV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_network_policy(self): - """Test case for create_namespaced_network_policy - - """ - pass - - def test_delete_collection_namespaced_network_policy(self): - """Test case for delete_collection_namespaced_network_policy - - """ - pass - - def test_delete_namespaced_network_policy(self): - """Test case for delete_namespaced_network_policy - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_namespaced_network_policy(self): - """Test case for list_namespaced_network_policy - - """ - pass - - def test_list_network_policy_for_all_namespaces(self): - """Test case for list_network_policy_for_all_namespaces - - """ - pass - - def test_patch_namespaced_network_policy(self): - """Test case for patch_namespaced_network_policy - - """ - pass - - def test_read_namespaced_network_policy(self): - """Test case for read_namespaced_network_policy - - """ - pass - - def test_replace_namespaced_network_policy(self): - """Test case for replace_namespaced_network_policy - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_api.py b/kubernetes/test/test_networking_v1beta1_api.py deleted file mode 100644 index 832a6721f0..0000000000 --- a/kubernetes/test/test_networking_v1beta1_api.py +++ /dev/null @@ -1,105 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.networking_v1beta1_api import NetworkingV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNetworkingV1beta1Api(unittest.TestCase): - """NetworkingV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.networking_v1beta1_api.NetworkingV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_ingress(self): - """Test case for create_namespaced_ingress - - """ - pass - - def test_delete_collection_namespaced_ingress(self): - """Test case for delete_collection_namespaced_ingress - - """ - pass - - def test_delete_namespaced_ingress(self): - """Test case for delete_namespaced_ingress - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_ingress_for_all_namespaces(self): - """Test case for list_ingress_for_all_namespaces - - """ - pass - - def test_list_namespaced_ingress(self): - """Test case for list_namespaced_ingress - - """ - pass - - def test_patch_namespaced_ingress(self): - """Test case for patch_namespaced_ingress - - """ - pass - - def test_patch_namespaced_ingress_status(self): - """Test case for patch_namespaced_ingress_status - - """ - pass - - def test_read_namespaced_ingress(self): - """Test case for read_namespaced_ingress - - """ - pass - - def test_read_namespaced_ingress_status(self): - """Test case for read_namespaced_ingress_status - - """ - pass - - def test_replace_namespaced_ingress(self): - """Test case for replace_namespaced_ingress - - """ - pass - - def test_replace_namespaced_ingress_status(self): - """Test case for replace_namespaced_ingress_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_http_ingress_path.py b/kubernetes/test/test_networking_v1beta1_http_ingress_path.py deleted file mode 100644 index 4cb36312b7..0000000000 --- a/kubernetes/test/test_networking_v1beta1_http_ingress_path.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_http_ingress_path import NetworkingV1beta1HTTPIngressPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1HTTPIngressPath(unittest.TestCase): - """NetworkingV1beta1HTTPIngressPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1HTTPIngressPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_http_ingress_path.NetworkingV1beta1HTTPIngressPath() # noqa: E501 - if include_optional : - return NetworkingV1beta1HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0' - ) - else : - return NetworkingV1beta1HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - ) - - def testNetworkingV1beta1HTTPIngressPath(self): - """Test NetworkingV1beta1HTTPIngressPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py deleted file mode 100644 index ad0f966f32..0000000000 --- a/kubernetes/test/test_networking_v1beta1_http_ingress_rule_value.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_http_ingress_rule_value import NetworkingV1beta1HTTPIngressRuleValue # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1HTTPIngressRuleValue(unittest.TestCase): - """NetworkingV1beta1HTTPIngressRuleValue unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1HTTPIngressRuleValue - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_http_ingress_rule_value.NetworkingV1beta1HTTPIngressRuleValue() # noqa: E501 - if include_optional : - return NetworkingV1beta1HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ] - ) - else : - return NetworkingV1beta1HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], - ) - - def testNetworkingV1beta1HTTPIngressRuleValue(self): - """Test NetworkingV1beta1HTTPIngressRuleValue""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress.py b/kubernetes/test/test_networking_v1beta1_ingress.py deleted file mode 100644 index 959c394b16..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress.py +++ /dev/null @@ -1,122 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress import NetworkingV1beta1Ingress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1Ingress(unittest.TestCase): - """NetworkingV1beta1Ingress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1Ingress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress.NetworkingV1beta1Ingress() # noqa: E501 - if include_optional : - return NetworkingV1beta1Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ) - ) - else : - return NetworkingV1beta1Ingress( - ) - - def testNetworkingV1beta1Ingress(self): - """Test NetworkingV1beta1Ingress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_backend.py b/kubernetes/test/test_networking_v1beta1_ingress_backend.py deleted file mode 100644 index 91aec4dbb9..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_backend.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_backend import NetworkingV1beta1IngressBackend # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressBackend(unittest.TestCase): - """NetworkingV1beta1IngressBackend unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressBackend - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_backend.NetworkingV1beta1IngressBackend() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort() - ) - else : - return NetworkingV1beta1IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), - ) - - def testNetworkingV1beta1IngressBackend(self): - """Test NetworkingV1beta1IngressBackend""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_list.py b/kubernetes/test/test_networking_v1beta1_ingress_list.py deleted file mode 100644 index a6cd9167b3..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_list import NetworkingV1beta1IngressList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressList(unittest.TestCase): - """NetworkingV1beta1IngressList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_list.NetworkingV1beta1IngressList() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressList( - api_version = '0', - items = [ - kubernetes.client.models.networking/v1beta1/ingress.networking.v1beta1.Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return NetworkingV1beta1IngressList( - items = [ - kubernetes.client.models.networking/v1beta1/ingress.networking.v1beta1.Ingress( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.networking/v1beta1/ingress_spec.networking.v1beta1.IngressSpec( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ], ), - status = kubernetes.client.models.networking/v1beta1/ingress_status.networking.v1beta1.IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - ) - - def testNetworkingV1beta1IngressList(self): - """Test NetworkingV1beta1IngressList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_rule.py b/kubernetes/test/test_networking_v1beta1_ingress_rule.py deleted file mode 100644 index 082aa25a33..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_rule.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_rule import NetworkingV1beta1IngressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressRule(unittest.TestCase): - """NetworkingV1beta1IngressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_rule.NetworkingV1beta1IngressRule() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ) - ) - else : - return NetworkingV1beta1IngressRule( - ) - - def testNetworkingV1beta1IngressRule(self): - """Test NetworkingV1beta1IngressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_spec.py b/kubernetes/test/test_networking_v1beta1_ingress_spec.py deleted file mode 100644 index 38aa2ee5d7..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_spec.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_spec import NetworkingV1beta1IngressSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressSpec(unittest.TestCase): - """NetworkingV1beta1IngressSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_spec.NetworkingV1beta1IngressSpec() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressSpec( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - rules = [ - kubernetes.client.models.networking/v1beta1/ingress_rule.networking.v1beta1.IngressRule( - host = '0', - http = kubernetes.client.models.networking/v1beta1/http_ingress_rule_value.networking.v1beta1.HTTPIngressRuleValue( - paths = [ - kubernetes.client.models.networking/v1beta1/http_ingress_path.networking.v1beta1.HTTPIngressPath( - backend = kubernetes.client.models.networking/v1beta1/ingress_backend.networking.v1beta1.IngressBackend( - service_name = '0', - service_port = kubernetes.client.models.service_port.servicePort(), ), - path = '0', ) - ], ), ) - ], - tls = [ - kubernetes.client.models.networking/v1beta1/ingress_tls.networking.v1beta1.IngressTLS( - hosts = [ - '0' - ], - secret_name = '0', ) - ] - ) - else : - return NetworkingV1beta1IngressSpec( - ) - - def testNetworkingV1beta1IngressSpec(self): - """Test NetworkingV1beta1IngressSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_status.py b/kubernetes/test/test_networking_v1beta1_ingress_status.py deleted file mode 100644 index 8d2b12cfd2..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_status import NetworkingV1beta1IngressStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressStatus(unittest.TestCase): - """NetworkingV1beta1IngressStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_status.NetworkingV1beta1IngressStatus() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ) - ) - else : - return NetworkingV1beta1IngressStatus( - ) - - def testNetworkingV1beta1IngressStatus(self): - """Test NetworkingV1beta1IngressStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_networking_v1beta1_ingress_tls.py b/kubernetes/test/test_networking_v1beta1_ingress_tls.py deleted file mode 100644 index 81c558fa70..0000000000 --- a/kubernetes/test/test_networking_v1beta1_ingress_tls.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.networking_v1beta1_ingress_tls import NetworkingV1beta1IngressTLS # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestNetworkingV1beta1IngressTLS(unittest.TestCase): - """NetworkingV1beta1IngressTLS unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test NetworkingV1beta1IngressTLS - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.networking_v1beta1_ingress_tls.NetworkingV1beta1IngressTLS() # noqa: E501 - if include_optional : - return NetworkingV1beta1IngressTLS( - hosts = [ - '0' - ], - secret_name = '0' - ) - else : - return NetworkingV1beta1IngressTLS( - ) - - def testNetworkingV1beta1IngressTLS(self): - """Test NetworkingV1beta1IngressTLS""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_node_api.py b/kubernetes/test/test_node_api.py deleted file mode 100644 index d00fbeca33..0000000000 --- a/kubernetes/test/test_node_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.node_api import NodeApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNodeApi(unittest.TestCase): - """NodeApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.node_api.NodeApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_node_v1alpha1_api.py b/kubernetes/test/test_node_v1alpha1_api.py deleted file mode 100644 index ed2d3b4578..0000000000 --- a/kubernetes/test/test_node_v1alpha1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.node_v1alpha1_api import NodeV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNodeV1alpha1Api(unittest.TestCase): - """NodeV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.node_v1alpha1_api.NodeV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_runtime_class(self): - """Test case for create_runtime_class - - """ - pass - - def test_delete_collection_runtime_class(self): - """Test case for delete_collection_runtime_class - - """ - pass - - def test_delete_runtime_class(self): - """Test case for delete_runtime_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_runtime_class(self): - """Test case for list_runtime_class - - """ - pass - - def test_patch_runtime_class(self): - """Test case for patch_runtime_class - - """ - pass - - def test_read_runtime_class(self): - """Test case for read_runtime_class - - """ - pass - - def test_replace_runtime_class(self): - """Test case for replace_runtime_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_node_v1beta1_api.py b/kubernetes/test/test_node_v1beta1_api.py deleted file mode 100644 index df76fc390c..0000000000 --- a/kubernetes/test/test_node_v1beta1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.node_v1beta1_api import NodeV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestNodeV1beta1Api(unittest.TestCase): - """NodeV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.node_v1beta1_api.NodeV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_runtime_class(self): - """Test case for create_runtime_class - - """ - pass - - def test_delete_collection_runtime_class(self): - """Test case for delete_collection_runtime_class - - """ - pass - - def test_delete_runtime_class(self): - """Test case for delete_runtime_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_runtime_class(self): - """Test case for list_runtime_class - - """ - pass - - def test_patch_runtime_class(self): - """Test case for patch_runtime_class - - """ - pass - - def test_read_runtime_class(self): - """Test case for read_runtime_class - - """ - pass - - def test_replace_runtime_class(self): - """Test case for replace_runtime_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_api.py b/kubernetes/test/test_policy_api.py deleted file mode 100644 index 23dbdce32c..0000000000 --- a/kubernetes/test/test_policy_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.policy_api import PolicyApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestPolicyApi(unittest.TestCase): - """PolicyApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.policy_api.PolicyApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py b/kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py deleted file mode 100644 index 2f08beab26..0000000000 --- a/kubernetes/test/test_policy_v1beta1_allowed_csi_driver.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_allowed_csi_driver import PolicyV1beta1AllowedCSIDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1AllowedCSIDriver(unittest.TestCase): - """PolicyV1beta1AllowedCSIDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1AllowedCSIDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_allowed_csi_driver.PolicyV1beta1AllowedCSIDriver() # noqa: E501 - if include_optional : - return PolicyV1beta1AllowedCSIDriver( - name = '0' - ) - else : - return PolicyV1beta1AllowedCSIDriver( - name = '0', - ) - - def testPolicyV1beta1AllowedCSIDriver(self): - """Test PolicyV1beta1AllowedCSIDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py b/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py deleted file mode 100644 index 46c6693904..0000000000 --- a/kubernetes/test/test_policy_v1beta1_allowed_flex_volume.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_allowed_flex_volume import PolicyV1beta1AllowedFlexVolume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1AllowedFlexVolume(unittest.TestCase): - """PolicyV1beta1AllowedFlexVolume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1AllowedFlexVolume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_allowed_flex_volume.PolicyV1beta1AllowedFlexVolume() # noqa: E501 - if include_optional : - return PolicyV1beta1AllowedFlexVolume( - driver = '0' - ) - else : - return PolicyV1beta1AllowedFlexVolume( - driver = '0', - ) - - def testPolicyV1beta1AllowedFlexVolume(self): - """Test PolicyV1beta1AllowedFlexVolume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py b/kubernetes/test/test_policy_v1beta1_allowed_host_path.py deleted file mode 100644 index f8d592ee6e..0000000000 --- a/kubernetes/test/test_policy_v1beta1_allowed_host_path.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_allowed_host_path import PolicyV1beta1AllowedHostPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1AllowedHostPath(unittest.TestCase): - """PolicyV1beta1AllowedHostPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1AllowedHostPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_allowed_host_path.PolicyV1beta1AllowedHostPath() # noqa: E501 - if include_optional : - return PolicyV1beta1AllowedHostPath( - path_prefix = '0', - read_only = True - ) - else : - return PolicyV1beta1AllowedHostPath( - ) - - def testPolicyV1beta1AllowedHostPath(self): - """Test PolicyV1beta1AllowedHostPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_api.py b/kubernetes/test/test_policy_v1beta1_api.py deleted file mode 100644 index cc8bda5d89..0000000000 --- a/kubernetes/test/test_policy_v1beta1_api.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.policy_v1beta1_api import PolicyV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestPolicyV1beta1Api(unittest.TestCase): - """PolicyV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.policy_v1beta1_api.PolicyV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_pod_disruption_budget(self): - """Test case for create_namespaced_pod_disruption_budget - - """ - pass - - def test_create_pod_security_policy(self): - """Test case for create_pod_security_policy - - """ - pass - - def test_delete_collection_namespaced_pod_disruption_budget(self): - """Test case for delete_collection_namespaced_pod_disruption_budget - - """ - pass - - def test_delete_collection_pod_security_policy(self): - """Test case for delete_collection_pod_security_policy - - """ - pass - - def test_delete_namespaced_pod_disruption_budget(self): - """Test case for delete_namespaced_pod_disruption_budget - - """ - pass - - def test_delete_pod_security_policy(self): - """Test case for delete_pod_security_policy - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_namespaced_pod_disruption_budget(self): - """Test case for list_namespaced_pod_disruption_budget - - """ - pass - - def test_list_pod_disruption_budget_for_all_namespaces(self): - """Test case for list_pod_disruption_budget_for_all_namespaces - - """ - pass - - def test_list_pod_security_policy(self): - """Test case for list_pod_security_policy - - """ - pass - - def test_patch_namespaced_pod_disruption_budget(self): - """Test case for patch_namespaced_pod_disruption_budget - - """ - pass - - def test_patch_namespaced_pod_disruption_budget_status(self): - """Test case for patch_namespaced_pod_disruption_budget_status - - """ - pass - - def test_patch_pod_security_policy(self): - """Test case for patch_pod_security_policy - - """ - pass - - def test_read_namespaced_pod_disruption_budget(self): - """Test case for read_namespaced_pod_disruption_budget - - """ - pass - - def test_read_namespaced_pod_disruption_budget_status(self): - """Test case for read_namespaced_pod_disruption_budget_status - - """ - pass - - def test_read_pod_security_policy(self): - """Test case for read_pod_security_policy - - """ - pass - - def test_replace_namespaced_pod_disruption_budget(self): - """Test case for replace_namespaced_pod_disruption_budget - - """ - pass - - def test_replace_namespaced_pod_disruption_budget_status(self): - """Test case for replace_namespaced_pod_disruption_budget_status - - """ - pass - - def test_replace_pod_security_policy(self): - """Test case for replace_pod_security_policy - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py b/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py deleted file mode 100644 index aa62b6ceb1..0000000000 --- a/kubernetes/test/test_policy_v1beta1_fs_group_strategy_options.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_fs_group_strategy_options import PolicyV1beta1FSGroupStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1FSGroupStrategyOptions(unittest.TestCase): - """PolicyV1beta1FSGroupStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1FSGroupStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_fs_group_strategy_options.PolicyV1beta1FSGroupStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return PolicyV1beta1FSGroupStrategyOptions( - ) - - def testPolicyV1beta1FSGroupStrategyOptions(self): - """Test PolicyV1beta1FSGroupStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_host_port_range.py b/kubernetes/test/test_policy_v1beta1_host_port_range.py deleted file mode 100644 index 7bcb864fca..0000000000 --- a/kubernetes/test/test_policy_v1beta1_host_port_range.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_host_port_range import PolicyV1beta1HostPortRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1HostPortRange(unittest.TestCase): - """PolicyV1beta1HostPortRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1HostPortRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_host_port_range.PolicyV1beta1HostPortRange() # noqa: E501 - if include_optional : - return PolicyV1beta1HostPortRange( - max = 56, - min = 56 - ) - else : - return PolicyV1beta1HostPortRange( - max = 56, - min = 56, - ) - - def testPolicyV1beta1HostPortRange(self): - """Test PolicyV1beta1HostPortRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_id_range.py b/kubernetes/test/test_policy_v1beta1_id_range.py deleted file mode 100644 index 8488083c43..0000000000 --- a/kubernetes/test/test_policy_v1beta1_id_range.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_id_range import PolicyV1beta1IDRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1IDRange(unittest.TestCase): - """PolicyV1beta1IDRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1IDRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_id_range.PolicyV1beta1IDRange() # noqa: E501 - if include_optional : - return PolicyV1beta1IDRange( - max = 56, - min = 56 - ) - else : - return PolicyV1beta1IDRange( - max = 56, - min = 56, - ) - - def testPolicyV1beta1IDRange(self): - """Test PolicyV1beta1IDRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy.py deleted file mode 100644 index 02917514d8..0000000000 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_pod_security_policy import PolicyV1beta1PodSecurityPolicy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1PodSecurityPolicy(unittest.TestCase): - """PolicyV1beta1PodSecurityPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1PodSecurityPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_pod_security_policy.PolicyV1beta1PodSecurityPolicy() # noqa: E501 - if include_optional : - return PolicyV1beta1PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ) - ) - else : - return PolicyV1beta1PodSecurityPolicy( - ) - - def testPolicyV1beta1PodSecurityPolicy(self): - """Test PolicyV1beta1PodSecurityPolicy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py deleted file mode 100644 index 6c26408ea6..0000000000 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy_list.py +++ /dev/null @@ -1,290 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_pod_security_policy_list import PolicyV1beta1PodSecurityPolicyList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1PodSecurityPolicyList(unittest.TestCase): - """PolicyV1beta1PodSecurityPolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1PodSecurityPolicyList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_pod_security_policy_list.PolicyV1beta1PodSecurityPolicyList() # noqa: E501 - if include_optional : - return PolicyV1beta1PodSecurityPolicyList( - api_version = '0', - items = [ - kubernetes.client.models.policy/v1beta1/pod_security_policy.policy.v1beta1.PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return PolicyV1beta1PodSecurityPolicyList( - items = [ - kubernetes.client.models.policy/v1beta1/pod_security_policy.policy.v1beta1.PodSecurityPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.policy/v1beta1/pod_security_policy_spec.policy.v1beta1.PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - rule = '0', ), - runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - rule = '0', ), - volumes = [ - '0' - ], ), ) - ], - ) - - def testPolicyV1beta1PodSecurityPolicyList(self): - """Test PolicyV1beta1PodSecurityPolicyList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py b/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py deleted file mode 100644 index fdec25b323..0000000000 --- a/kubernetes/test/test_policy_v1beta1_pod_security_policy_spec.py +++ /dev/null @@ -1,165 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_pod_security_policy_spec import PolicyV1beta1PodSecurityPolicySpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1PodSecurityPolicySpec(unittest.TestCase): - """PolicyV1beta1PodSecurityPolicySpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1PodSecurityPolicySpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_pod_security_policy_spec.PolicyV1beta1PodSecurityPolicySpec() # noqa: E501 - if include_optional : - return PolicyV1beta1PodSecurityPolicySpec( - allow_privilege_escalation = True, - allowed_csi_drivers = [ - kubernetes.client.models.policy/v1beta1/allowed_csi_driver.policy.v1beta1.AllowedCSIDriver( - name = '0', ) - ], - allowed_capabilities = [ - '0' - ], - allowed_flex_volumes = [ - kubernetes.client.models.policy/v1beta1/allowed_flex_volume.policy.v1beta1.AllowedFlexVolume( - driver = '0', ) - ], - allowed_host_paths = [ - kubernetes.client.models.policy/v1beta1/allowed_host_path.policy.v1beta1.AllowedHostPath( - path_prefix = '0', - read_only = True, ) - ], - allowed_proc_mount_types = [ - '0' - ], - allowed_unsafe_sysctls = [ - '0' - ], - default_add_capabilities = [ - '0' - ], - default_allow_privilege_escalation = True, - forbidden_sysctls = [ - '0' - ], - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - host_ipc = True, - host_network = True, - host_pid = True, - host_ports = [ - kubernetes.client.models.policy/v1beta1/host_port_range.policy.v1beta1.HostPortRange( - max = 56, - min = 56, ) - ], - privileged = True, - read_only_root_filesystem = True, - required_drop_capabilities = [ - '0' - ], - run_as_group = kubernetes.client.models.policy/v1beta1/run_as_group_strategy_options.policy.v1beta1.RunAsGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - runtime_class = kubernetes.client.models.policy/v1beta1/runtime_class_strategy_options.policy.v1beta1.RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - volumes = [ - '0' - ] - ) - else : - return PolicyV1beta1PodSecurityPolicySpec( - fs_group = kubernetes.client.models.policy/v1beta1/fs_group_strategy_options.policy.v1beta1.FSGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - run_as_user = kubernetes.client.models.policy/v1beta1/run_as_user_strategy_options.policy.v1beta1.RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - se_linux = kubernetes.client.models.policy/v1beta1/se_linux_strategy_options.policy.v1beta1.SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), ), - supplemental_groups = kubernetes.client.models.policy/v1beta1/supplemental_groups_strategy_options.policy.v1beta1.SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0', ), - ) - - def testPolicyV1beta1PodSecurityPolicySpec(self): - """Test PolicyV1beta1PodSecurityPolicySpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py b/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py deleted file mode 100644 index 709d48626a..0000000000 --- a/kubernetes/test/test_policy_v1beta1_run_as_group_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_run_as_group_strategy_options import PolicyV1beta1RunAsGroupStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1RunAsGroupStrategyOptions(unittest.TestCase): - """PolicyV1beta1RunAsGroupStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1RunAsGroupStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_run_as_group_strategy_options.PolicyV1beta1RunAsGroupStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1RunAsGroupStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return PolicyV1beta1RunAsGroupStrategyOptions( - rule = '0', - ) - - def testPolicyV1beta1RunAsGroupStrategyOptions(self): - """Test PolicyV1beta1RunAsGroupStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py b/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py deleted file mode 100644 index 92c14a8ba3..0000000000 --- a/kubernetes/test/test_policy_v1beta1_run_as_user_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_run_as_user_strategy_options import PolicyV1beta1RunAsUserStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1RunAsUserStrategyOptions(unittest.TestCase): - """PolicyV1beta1RunAsUserStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1RunAsUserStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_run_as_user_strategy_options.PolicyV1beta1RunAsUserStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1RunAsUserStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return PolicyV1beta1RunAsUserStrategyOptions( - rule = '0', - ) - - def testPolicyV1beta1RunAsUserStrategyOptions(self): - """Test PolicyV1beta1RunAsUserStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py b/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py deleted file mode 100644 index 710f0056b8..0000000000 --- a/kubernetes/test/test_policy_v1beta1_runtime_class_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_runtime_class_strategy_options import PolicyV1beta1RuntimeClassStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1RuntimeClassStrategyOptions(unittest.TestCase): - """PolicyV1beta1RuntimeClassStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1RuntimeClassStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_runtime_class_strategy_options.PolicyV1beta1RuntimeClassStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - default_runtime_class_name = '0' - ) - else : - return PolicyV1beta1RuntimeClassStrategyOptions( - allowed_runtime_class_names = [ - '0' - ], - ) - - def testPolicyV1beta1RuntimeClassStrategyOptions(self): - """Test PolicyV1beta1RuntimeClassStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py b/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py deleted file mode 100644 index 3c6594cd59..0000000000 --- a/kubernetes/test/test_policy_v1beta1_se_linux_strategy_options.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_se_linux_strategy_options import PolicyV1beta1SELinuxStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1SELinuxStrategyOptions(unittest.TestCase): - """PolicyV1beta1SELinuxStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1SELinuxStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_se_linux_strategy_options.PolicyV1beta1SELinuxStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1SELinuxStrategyOptions( - rule = '0', - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ) - ) - else : - return PolicyV1beta1SELinuxStrategyOptions( - rule = '0', - ) - - def testPolicyV1beta1SELinuxStrategyOptions(self): - """Test PolicyV1beta1SELinuxStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py b/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py deleted file mode 100644 index af762d5afb..0000000000 --- a/kubernetes/test/test_policy_v1beta1_supplemental_groups_strategy_options.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.policy_v1beta1_supplemental_groups_strategy_options import PolicyV1beta1SupplementalGroupsStrategyOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestPolicyV1beta1SupplementalGroupsStrategyOptions(unittest.TestCase): - """PolicyV1beta1SupplementalGroupsStrategyOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test PolicyV1beta1SupplementalGroupsStrategyOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.policy_v1beta1_supplemental_groups_strategy_options.PolicyV1beta1SupplementalGroupsStrategyOptions() # noqa: E501 - if include_optional : - return PolicyV1beta1SupplementalGroupsStrategyOptions( - ranges = [ - kubernetes.client.models.policy/v1beta1/id_range.policy.v1beta1.IDRange( - max = 56, - min = 56, ) - ], - rule = '0' - ) - else : - return PolicyV1beta1SupplementalGroupsStrategyOptions( - ) - - def testPolicyV1beta1SupplementalGroupsStrategyOptions(self): - """Test PolicyV1beta1SupplementalGroupsStrategyOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_api.py b/kubernetes/test/test_rbac_authorization_api.py deleted file mode 100644 index 0a78e86327..0000000000 --- a/kubernetes/test/test_rbac_authorization_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.rbac_authorization_api import RbacAuthorizationApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestRbacAuthorizationApi(unittest.TestCase): - """RbacAuthorizationApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.rbac_authorization_api.RbacAuthorizationApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_v1_api.py b/kubernetes/test/test_rbac_authorization_v1_api.py deleted file mode 100644 index 88e79638f0..0000000000 --- a/kubernetes/test/test_rbac_authorization_v1_api.py +++ /dev/null @@ -1,219 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestRbacAuthorizationV1Api(unittest.TestCase): - """RbacAuthorizationV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.rbac_authorization_v1_api.RbacAuthorizationV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_cluster_role(self): - """Test case for create_cluster_role - - """ - pass - - def test_create_cluster_role_binding(self): - """Test case for create_cluster_role_binding - - """ - pass - - def test_create_namespaced_role(self): - """Test case for create_namespaced_role - - """ - pass - - def test_create_namespaced_role_binding(self): - """Test case for create_namespaced_role_binding - - """ - pass - - def test_delete_cluster_role(self): - """Test case for delete_cluster_role - - """ - pass - - def test_delete_cluster_role_binding(self): - """Test case for delete_cluster_role_binding - - """ - pass - - def test_delete_collection_cluster_role(self): - """Test case for delete_collection_cluster_role - - """ - pass - - def test_delete_collection_cluster_role_binding(self): - """Test case for delete_collection_cluster_role_binding - - """ - pass - - def test_delete_collection_namespaced_role(self): - """Test case for delete_collection_namespaced_role - - """ - pass - - def test_delete_collection_namespaced_role_binding(self): - """Test case for delete_collection_namespaced_role_binding - - """ - pass - - def test_delete_namespaced_role(self): - """Test case for delete_namespaced_role - - """ - pass - - def test_delete_namespaced_role_binding(self): - """Test case for delete_namespaced_role_binding - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cluster_role(self): - """Test case for list_cluster_role - - """ - pass - - def test_list_cluster_role_binding(self): - """Test case for list_cluster_role_binding - - """ - pass - - def test_list_namespaced_role(self): - """Test case for list_namespaced_role - - """ - pass - - def test_list_namespaced_role_binding(self): - """Test case for list_namespaced_role_binding - - """ - pass - - def test_list_role_binding_for_all_namespaces(self): - """Test case for list_role_binding_for_all_namespaces - - """ - pass - - def test_list_role_for_all_namespaces(self): - """Test case for list_role_for_all_namespaces - - """ - pass - - def test_patch_cluster_role(self): - """Test case for patch_cluster_role - - """ - pass - - def test_patch_cluster_role_binding(self): - """Test case for patch_cluster_role_binding - - """ - pass - - def test_patch_namespaced_role(self): - """Test case for patch_namespaced_role - - """ - pass - - def test_patch_namespaced_role_binding(self): - """Test case for patch_namespaced_role_binding - - """ - pass - - def test_read_cluster_role(self): - """Test case for read_cluster_role - - """ - pass - - def test_read_cluster_role_binding(self): - """Test case for read_cluster_role_binding - - """ - pass - - def test_read_namespaced_role(self): - """Test case for read_namespaced_role - - """ - pass - - def test_read_namespaced_role_binding(self): - """Test case for read_namespaced_role_binding - - """ - pass - - def test_replace_cluster_role(self): - """Test case for replace_cluster_role - - """ - pass - - def test_replace_cluster_role_binding(self): - """Test case for replace_cluster_role_binding - - """ - pass - - def test_replace_namespaced_role(self): - """Test case for replace_namespaced_role - - """ - pass - - def test_replace_namespaced_role_binding(self): - """Test case for replace_namespaced_role_binding - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py deleted file mode 100644 index a405799c2a..0000000000 --- a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py +++ /dev/null @@ -1,219 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.rbac_authorization_v1alpha1_api import RbacAuthorizationV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestRbacAuthorizationV1alpha1Api(unittest.TestCase): - """RbacAuthorizationV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.rbac_authorization_v1alpha1_api.RbacAuthorizationV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_cluster_role(self): - """Test case for create_cluster_role - - """ - pass - - def test_create_cluster_role_binding(self): - """Test case for create_cluster_role_binding - - """ - pass - - def test_create_namespaced_role(self): - """Test case for create_namespaced_role - - """ - pass - - def test_create_namespaced_role_binding(self): - """Test case for create_namespaced_role_binding - - """ - pass - - def test_delete_cluster_role(self): - """Test case for delete_cluster_role - - """ - pass - - def test_delete_cluster_role_binding(self): - """Test case for delete_cluster_role_binding - - """ - pass - - def test_delete_collection_cluster_role(self): - """Test case for delete_collection_cluster_role - - """ - pass - - def test_delete_collection_cluster_role_binding(self): - """Test case for delete_collection_cluster_role_binding - - """ - pass - - def test_delete_collection_namespaced_role(self): - """Test case for delete_collection_namespaced_role - - """ - pass - - def test_delete_collection_namespaced_role_binding(self): - """Test case for delete_collection_namespaced_role_binding - - """ - pass - - def test_delete_namespaced_role(self): - """Test case for delete_namespaced_role - - """ - pass - - def test_delete_namespaced_role_binding(self): - """Test case for delete_namespaced_role_binding - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cluster_role(self): - """Test case for list_cluster_role - - """ - pass - - def test_list_cluster_role_binding(self): - """Test case for list_cluster_role_binding - - """ - pass - - def test_list_namespaced_role(self): - """Test case for list_namespaced_role - - """ - pass - - def test_list_namespaced_role_binding(self): - """Test case for list_namespaced_role_binding - - """ - pass - - def test_list_role_binding_for_all_namespaces(self): - """Test case for list_role_binding_for_all_namespaces - - """ - pass - - def test_list_role_for_all_namespaces(self): - """Test case for list_role_for_all_namespaces - - """ - pass - - def test_patch_cluster_role(self): - """Test case for patch_cluster_role - - """ - pass - - def test_patch_cluster_role_binding(self): - """Test case for patch_cluster_role_binding - - """ - pass - - def test_patch_namespaced_role(self): - """Test case for patch_namespaced_role - - """ - pass - - def test_patch_namespaced_role_binding(self): - """Test case for patch_namespaced_role_binding - - """ - pass - - def test_read_cluster_role(self): - """Test case for read_cluster_role - - """ - pass - - def test_read_cluster_role_binding(self): - """Test case for read_cluster_role_binding - - """ - pass - - def test_read_namespaced_role(self): - """Test case for read_namespaced_role - - """ - pass - - def test_read_namespaced_role_binding(self): - """Test case for read_namespaced_role_binding - - """ - pass - - def test_replace_cluster_role(self): - """Test case for replace_cluster_role - - """ - pass - - def test_replace_cluster_role_binding(self): - """Test case for replace_cluster_role_binding - - """ - pass - - def test_replace_namespaced_role(self): - """Test case for replace_namespaced_role - - """ - pass - - def test_replace_namespaced_role_binding(self): - """Test case for replace_namespaced_role_binding - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_rbac_authorization_v1beta1_api.py b/kubernetes/test/test_rbac_authorization_v1beta1_api.py deleted file mode 100644 index 4e2c15cadd..0000000000 --- a/kubernetes/test/test_rbac_authorization_v1beta1_api.py +++ /dev/null @@ -1,219 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.rbac_authorization_v1beta1_api import RbacAuthorizationV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestRbacAuthorizationV1beta1Api(unittest.TestCase): - """RbacAuthorizationV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.rbac_authorization_v1beta1_api.RbacAuthorizationV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_cluster_role(self): - """Test case for create_cluster_role - - """ - pass - - def test_create_cluster_role_binding(self): - """Test case for create_cluster_role_binding - - """ - pass - - def test_create_namespaced_role(self): - """Test case for create_namespaced_role - - """ - pass - - def test_create_namespaced_role_binding(self): - """Test case for create_namespaced_role_binding - - """ - pass - - def test_delete_cluster_role(self): - """Test case for delete_cluster_role - - """ - pass - - def test_delete_cluster_role_binding(self): - """Test case for delete_cluster_role_binding - - """ - pass - - def test_delete_collection_cluster_role(self): - """Test case for delete_collection_cluster_role - - """ - pass - - def test_delete_collection_cluster_role_binding(self): - """Test case for delete_collection_cluster_role_binding - - """ - pass - - def test_delete_collection_namespaced_role(self): - """Test case for delete_collection_namespaced_role - - """ - pass - - def test_delete_collection_namespaced_role_binding(self): - """Test case for delete_collection_namespaced_role_binding - - """ - pass - - def test_delete_namespaced_role(self): - """Test case for delete_namespaced_role - - """ - pass - - def test_delete_namespaced_role_binding(self): - """Test case for delete_namespaced_role_binding - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_cluster_role(self): - """Test case for list_cluster_role - - """ - pass - - def test_list_cluster_role_binding(self): - """Test case for list_cluster_role_binding - - """ - pass - - def test_list_namespaced_role(self): - """Test case for list_namespaced_role - - """ - pass - - def test_list_namespaced_role_binding(self): - """Test case for list_namespaced_role_binding - - """ - pass - - def test_list_role_binding_for_all_namespaces(self): - """Test case for list_role_binding_for_all_namespaces - - """ - pass - - def test_list_role_for_all_namespaces(self): - """Test case for list_role_for_all_namespaces - - """ - pass - - def test_patch_cluster_role(self): - """Test case for patch_cluster_role - - """ - pass - - def test_patch_cluster_role_binding(self): - """Test case for patch_cluster_role_binding - - """ - pass - - def test_patch_namespaced_role(self): - """Test case for patch_namespaced_role - - """ - pass - - def test_patch_namespaced_role_binding(self): - """Test case for patch_namespaced_role_binding - - """ - pass - - def test_read_cluster_role(self): - """Test case for read_cluster_role - - """ - pass - - def test_read_cluster_role_binding(self): - """Test case for read_cluster_role_binding - - """ - pass - - def test_read_namespaced_role(self): - """Test case for read_namespaced_role - - """ - pass - - def test_read_namespaced_role_binding(self): - """Test case for read_namespaced_role_binding - - """ - pass - - def test_replace_cluster_role(self): - """Test case for replace_cluster_role - - """ - pass - - def test_replace_cluster_role_binding(self): - """Test case for replace_cluster_role_binding - - """ - pass - - def test_replace_namespaced_role(self): - """Test case for replace_namespaced_role - - """ - pass - - def test_replace_namespaced_role_binding(self): - """Test case for replace_namespaced_role_binding - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_rbac_v1alpha1_subject.py b/kubernetes/test/test_rbac_v1alpha1_subject.py deleted file mode 100644 index f468332e2e..0000000000 --- a/kubernetes/test/test_rbac_v1alpha1_subject.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.rbac_v1alpha1_subject import RbacV1alpha1Subject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestRbacV1alpha1Subject(unittest.TestCase): - """RbacV1alpha1Subject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test RbacV1alpha1Subject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.rbac_v1alpha1_subject.RbacV1alpha1Subject() # noqa: E501 - if include_optional : - return RbacV1alpha1Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0' - ) - else : - return RbacV1alpha1Subject( - kind = '0', - name = '0', - ) - - def testRbacV1alpha1Subject(self): - """Test RbacV1alpha1Subject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_scheduling_api.py b/kubernetes/test/test_scheduling_api.py deleted file mode 100644 index 135ef0902f..0000000000 --- a/kubernetes/test/test_scheduling_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.scheduling_api import SchedulingApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSchedulingApi(unittest.TestCase): - """SchedulingApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.scheduling_api.SchedulingApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_scheduling_v1_api.py b/kubernetes/test/test_scheduling_v1_api.py deleted file mode 100644 index 6c6a9680cd..0000000000 --- a/kubernetes/test/test_scheduling_v1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.scheduling_v1_api import SchedulingV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSchedulingV1Api(unittest.TestCase): - """SchedulingV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.scheduling_v1_api.SchedulingV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_priority_class(self): - """Test case for create_priority_class - - """ - pass - - def test_delete_collection_priority_class(self): - """Test case for delete_collection_priority_class - - """ - pass - - def test_delete_priority_class(self): - """Test case for delete_priority_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_priority_class(self): - """Test case for list_priority_class - - """ - pass - - def test_patch_priority_class(self): - """Test case for patch_priority_class - - """ - pass - - def test_read_priority_class(self): - """Test case for read_priority_class - - """ - pass - - def test_replace_priority_class(self): - """Test case for replace_priority_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_scheduling_v1alpha1_api.py b/kubernetes/test/test_scheduling_v1alpha1_api.py deleted file mode 100644 index d1e429039e..0000000000 --- a/kubernetes/test/test_scheduling_v1alpha1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.scheduling_v1alpha1_api import SchedulingV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSchedulingV1alpha1Api(unittest.TestCase): - """SchedulingV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.scheduling_v1alpha1_api.SchedulingV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_priority_class(self): - """Test case for create_priority_class - - """ - pass - - def test_delete_collection_priority_class(self): - """Test case for delete_collection_priority_class - - """ - pass - - def test_delete_priority_class(self): - """Test case for delete_priority_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_priority_class(self): - """Test case for list_priority_class - - """ - pass - - def test_patch_priority_class(self): - """Test case for patch_priority_class - - """ - pass - - def test_read_priority_class(self): - """Test case for read_priority_class - - """ - pass - - def test_replace_priority_class(self): - """Test case for replace_priority_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_scheduling_v1beta1_api.py b/kubernetes/test/test_scheduling_v1beta1_api.py deleted file mode 100644 index 03539e83f7..0000000000 --- a/kubernetes/test/test_scheduling_v1beta1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.scheduling_v1beta1_api import SchedulingV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSchedulingV1beta1Api(unittest.TestCase): - """SchedulingV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.scheduling_v1beta1_api.SchedulingV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_priority_class(self): - """Test case for create_priority_class - - """ - pass - - def test_delete_collection_priority_class(self): - """Test case for delete_collection_priority_class - - """ - pass - - def test_delete_priority_class(self): - """Test case for delete_priority_class - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_priority_class(self): - """Test case for list_priority_class - - """ - pass - - def test_patch_priority_class(self): - """Test case for patch_priority_class - - """ - pass - - def test_read_priority_class(self): - """Test case for read_priority_class - - """ - pass - - def test_replace_priority_class(self): - """Test case for replace_priority_class - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_settings_api.py b/kubernetes/test/test_settings_api.py deleted file mode 100644 index ba1ab948da..0000000000 --- a/kubernetes/test/test_settings_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.settings_api import SettingsApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSettingsApi(unittest.TestCase): - """SettingsApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.settings_api.SettingsApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_settings_v1alpha1_api.py b/kubernetes/test/test_settings_v1alpha1_api.py deleted file mode 100644 index 44db5a640c..0000000000 --- a/kubernetes/test/test_settings_v1alpha1_api.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.settings_v1alpha1_api import SettingsV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestSettingsV1alpha1Api(unittest.TestCase): - """SettingsV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.settings_v1alpha1_api.SettingsV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_namespaced_pod_preset(self): - """Test case for create_namespaced_pod_preset - - """ - pass - - def test_delete_collection_namespaced_pod_preset(self): - """Test case for delete_collection_namespaced_pod_preset - - """ - pass - - def test_delete_namespaced_pod_preset(self): - """Test case for delete_namespaced_pod_preset - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_namespaced_pod_preset(self): - """Test case for list_namespaced_pod_preset - - """ - pass - - def test_list_pod_preset_for_all_namespaces(self): - """Test case for list_pod_preset_for_all_namespaces - - """ - pass - - def test_patch_namespaced_pod_preset(self): - """Test case for patch_namespaced_pod_preset - - """ - pass - - def test_read_namespaced_pod_preset(self): - """Test case for read_namespaced_pod_preset - - """ - pass - - def test_replace_namespaced_pod_preset(self): - """Test case for replace_namespaced_pod_preset - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_storage_api.py b/kubernetes/test/test_storage_api.py deleted file mode 100644 index 23e6fa894c..0000000000 --- a/kubernetes/test/test_storage_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.storage_api import StorageApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestStorageApi(unittest.TestCase): - """StorageApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.storage_api.StorageApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_api_group(self): - """Test case for get_api_group - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_storage_v1_api.py b/kubernetes/test/test_storage_v1_api.py deleted file mode 100644 index 916c89e52b..0000000000 --- a/kubernetes/test/test_storage_v1_api.py +++ /dev/null @@ -1,183 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.storage_v1_api import StorageV1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestStorageV1Api(unittest.TestCase): - """StorageV1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.storage_v1_api.StorageV1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_csi_node(self): - """Test case for create_csi_node - - """ - pass - - def test_create_storage_class(self): - """Test case for create_storage_class - - """ - pass - - def test_create_volume_attachment(self): - """Test case for create_volume_attachment - - """ - pass - - def test_delete_collection_csi_node(self): - """Test case for delete_collection_csi_node - - """ - pass - - def test_delete_collection_storage_class(self): - """Test case for delete_collection_storage_class - - """ - pass - - def test_delete_collection_volume_attachment(self): - """Test case for delete_collection_volume_attachment - - """ - pass - - def test_delete_csi_node(self): - """Test case for delete_csi_node - - """ - pass - - def test_delete_storage_class(self): - """Test case for delete_storage_class - - """ - pass - - def test_delete_volume_attachment(self): - """Test case for delete_volume_attachment - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_csi_node(self): - """Test case for list_csi_node - - """ - pass - - def test_list_storage_class(self): - """Test case for list_storage_class - - """ - pass - - def test_list_volume_attachment(self): - """Test case for list_volume_attachment - - """ - pass - - def test_patch_csi_node(self): - """Test case for patch_csi_node - - """ - pass - - def test_patch_storage_class(self): - """Test case for patch_storage_class - - """ - pass - - def test_patch_volume_attachment(self): - """Test case for patch_volume_attachment - - """ - pass - - def test_patch_volume_attachment_status(self): - """Test case for patch_volume_attachment_status - - """ - pass - - def test_read_csi_node(self): - """Test case for read_csi_node - - """ - pass - - def test_read_storage_class(self): - """Test case for read_storage_class - - """ - pass - - def test_read_volume_attachment(self): - """Test case for read_volume_attachment - - """ - pass - - def test_read_volume_attachment_status(self): - """Test case for read_volume_attachment_status - - """ - pass - - def test_replace_csi_node(self): - """Test case for replace_csi_node - - """ - pass - - def test_replace_storage_class(self): - """Test case for replace_storage_class - - """ - pass - - def test_replace_volume_attachment(self): - """Test case for replace_volume_attachment - - """ - pass - - def test_replace_volume_attachment_status(self): - """Test case for replace_volume_attachment_status - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_storage_v1alpha1_api.py b/kubernetes/test/test_storage_v1alpha1_api.py deleted file mode 100644 index 76cffc3134..0000000000 --- a/kubernetes/test/test_storage_v1alpha1_api.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.storage_v1alpha1_api import StorageV1alpha1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestStorageV1alpha1Api(unittest.TestCase): - """StorageV1alpha1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.storage_v1alpha1_api.StorageV1alpha1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_volume_attachment(self): - """Test case for create_volume_attachment - - """ - pass - - def test_delete_collection_volume_attachment(self): - """Test case for delete_collection_volume_attachment - - """ - pass - - def test_delete_volume_attachment(self): - """Test case for delete_volume_attachment - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_volume_attachment(self): - """Test case for list_volume_attachment - - """ - pass - - def test_patch_volume_attachment(self): - """Test case for patch_volume_attachment - - """ - pass - - def test_read_volume_attachment(self): - """Test case for read_volume_attachment - - """ - pass - - def test_replace_volume_attachment(self): - """Test case for replace_volume_attachment - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_storage_v1beta1_api.py b/kubernetes/test/test_storage_v1beta1_api.py deleted file mode 100644 index acbccc3b4b..0000000000 --- a/kubernetes/test/test_storage_v1beta1_api.py +++ /dev/null @@ -1,207 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.storage_v1beta1_api import StorageV1beta1Api # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestStorageV1beta1Api(unittest.TestCase): - """StorageV1beta1Api unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.storage_v1beta1_api.StorageV1beta1Api() # noqa: E501 - - def tearDown(self): - pass - - def test_create_csi_driver(self): - """Test case for create_csi_driver - - """ - pass - - def test_create_csi_node(self): - """Test case for create_csi_node - - """ - pass - - def test_create_storage_class(self): - """Test case for create_storage_class - - """ - pass - - def test_create_volume_attachment(self): - """Test case for create_volume_attachment - - """ - pass - - def test_delete_collection_csi_driver(self): - """Test case for delete_collection_csi_driver - - """ - pass - - def test_delete_collection_csi_node(self): - """Test case for delete_collection_csi_node - - """ - pass - - def test_delete_collection_storage_class(self): - """Test case for delete_collection_storage_class - - """ - pass - - def test_delete_collection_volume_attachment(self): - """Test case for delete_collection_volume_attachment - - """ - pass - - def test_delete_csi_driver(self): - """Test case for delete_csi_driver - - """ - pass - - def test_delete_csi_node(self): - """Test case for delete_csi_node - - """ - pass - - def test_delete_storage_class(self): - """Test case for delete_storage_class - - """ - pass - - def test_delete_volume_attachment(self): - """Test case for delete_volume_attachment - - """ - pass - - def test_get_api_resources(self): - """Test case for get_api_resources - - """ - pass - - def test_list_csi_driver(self): - """Test case for list_csi_driver - - """ - pass - - def test_list_csi_node(self): - """Test case for list_csi_node - - """ - pass - - def test_list_storage_class(self): - """Test case for list_storage_class - - """ - pass - - def test_list_volume_attachment(self): - """Test case for list_volume_attachment - - """ - pass - - def test_patch_csi_driver(self): - """Test case for patch_csi_driver - - """ - pass - - def test_patch_csi_node(self): - """Test case for patch_csi_node - - """ - pass - - def test_patch_storage_class(self): - """Test case for patch_storage_class - - """ - pass - - def test_patch_volume_attachment(self): - """Test case for patch_volume_attachment - - """ - pass - - def test_read_csi_driver(self): - """Test case for read_csi_driver - - """ - pass - - def test_read_csi_node(self): - """Test case for read_csi_node - - """ - pass - - def test_read_storage_class(self): - """Test case for read_storage_class - - """ - pass - - def test_read_volume_attachment(self): - """Test case for read_volume_attachment - - """ - pass - - def test_replace_csi_driver(self): - """Test case for replace_csi_driver - - """ - pass - - def test_replace_csi_node(self): - """Test case for replace_csi_node - - """ - pass - - def test_replace_storage_class(self): - """Test case for replace_storage_class - - """ - pass - - def test_replace_volume_attachment(self): - """Test case for replace_volume_attachment - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_affinity.py b/kubernetes/test/test_v1_affinity.py deleted file mode 100644 index fabefc8ff4..0000000000 --- a/kubernetes/test/test_v1_affinity.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_affinity import V1Affinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Affinity(unittest.TestCase): - """V1Affinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Affinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_affinity.V1Affinity() # noqa: E501 - if include_optional : - return V1Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - topology_key = '0', ) - ], ), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - topology_key = '0', ) - ], ) - ) - else : - return V1Affinity( - ) - - def testV1Affinity(self): - """Test V1Affinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_aggregation_rule.py b/kubernetes/test/test_v1_aggregation_rule.py deleted file mode 100644 index 41cb452cca..0000000000 --- a/kubernetes/test/test_v1_aggregation_rule.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_aggregation_rule import V1AggregationRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AggregationRule(unittest.TestCase): - """V1AggregationRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AggregationRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_aggregation_rule.V1AggregationRule() # noqa: E501 - if include_optional : - return V1AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ] - ) - else : - return V1AggregationRule( - ) - - def testV1AggregationRule(self): - """Test V1AggregationRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_group.py b/kubernetes/test/test_v1_api_group.py deleted file mode 100644 index 0196c56051..0000000000 --- a/kubernetes/test/test_v1_api_group.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_group import V1APIGroup # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIGroup(unittest.TestCase): - """V1APIGroup unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIGroup - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_group.V1APIGroup() # noqa: E501 - if include_optional : - return V1APIGroup( - api_version = '0', - kind = '0', - name = '0', - preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ), - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ) - ] - ) - else : - return V1APIGroup( - name = '0', - versions = [ - kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ) - ], - ) - - def testV1APIGroup(self): - """Test V1APIGroup""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_group_list.py b/kubernetes/test/test_v1_api_group_list.py deleted file mode 100644 index bb716d3371..0000000000 --- a/kubernetes/test/test_v1_api_group_list.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_group_list import V1APIGroupList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIGroupList(unittest.TestCase): - """V1APIGroupList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIGroupList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_group_list.V1APIGroupList() # noqa: E501 - if include_optional : - return V1APIGroupList( - api_version = '0', - groups = [ - kubernetes.client.models.v1/api_group.v1.APIGroup( - api_version = '0', - kind = '0', - name = '0', - preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ), - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ) - ], ) - ], - kind = '0' - ) - else : - return V1APIGroupList( - groups = [ - kubernetes.client.models.v1/api_group.v1.APIGroup( - api_version = '0', - kind = '0', - name = '0', - preferred_version = kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ), - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - kubernetes.client.models.v1/group_version_for_discovery.v1.GroupVersionForDiscovery( - group_version = '0', - version = '0', ) - ], ) - ], - ) - - def testV1APIGroupList(self): - """Test V1APIGroupList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_resource.py b/kubernetes/test/test_v1_api_resource.py deleted file mode 100644 index 15d9a4f059..0000000000 --- a/kubernetes/test/test_v1_api_resource.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_resource import V1APIResource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIResource(unittest.TestCase): - """V1APIResource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIResource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_resource.V1APIResource() # noqa: E501 - if include_optional : - return V1APIResource( - categories = [ - '0' - ], - group = '0', - kind = '0', - name = '0', - namespaced = True, - short_names = [ - '0' - ], - singular_name = '0', - storage_version_hash = '0', - verbs = [ - '0' - ], - version = '0' - ) - else : - return V1APIResource( - kind = '0', - name = '0', - namespaced = True, - singular_name = '0', - verbs = [ - '0' - ], - ) - - def testV1APIResource(self): - """Test V1APIResource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_resource_list.py b/kubernetes/test/test_v1_api_resource_list.py deleted file mode 100644 index 29bfce627f..0000000000 --- a/kubernetes/test/test_v1_api_resource_list.py +++ /dev/null @@ -1,93 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_resource_list import V1APIResourceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIResourceList(unittest.TestCase): - """V1APIResourceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIResourceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_resource_list.V1APIResourceList() # noqa: E501 - if include_optional : - return V1APIResourceList( - api_version = '0', - group_version = '0', - kind = '0', - resources = [ - kubernetes.client.models.v1/api_resource.v1.APIResource( - categories = [ - '0' - ], - group = '0', - kind = '0', - name = '0', - namespaced = True, - short_names = [ - '0' - ], - singular_name = '0', - storage_version_hash = '0', - verbs = [ - '0' - ], - version = '0', ) - ] - ) - else : - return V1APIResourceList( - group_version = '0', - resources = [ - kubernetes.client.models.v1/api_resource.v1.APIResource( - categories = [ - '0' - ], - group = '0', - kind = '0', - name = '0', - namespaced = True, - short_names = [ - '0' - ], - singular_name = '0', - storage_version_hash = '0', - verbs = [ - '0' - ], - version = '0', ) - ], - ) - - def testV1APIResourceList(self): - """Test V1APIResourceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service.py b/kubernetes/test/test_v1_api_service.py deleted file mode 100644 index f877d82988..0000000000 --- a/kubernetes/test/test_v1_api_service.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service import V1APIService # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIService(unittest.TestCase): - """V1APIService unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIService - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service.V1APIService() # noqa: E501 - if include_optional : - return V1APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ) - ) - else : - return V1APIService( - ) - - def testV1APIService(self): - """Test V1APIService""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service_condition.py b/kubernetes/test/test_v1_api_service_condition.py deleted file mode 100644 index f5526c0d26..0000000000 --- a/kubernetes/test/test_v1_api_service_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service_condition import V1APIServiceCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIServiceCondition(unittest.TestCase): - """V1APIServiceCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIServiceCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service_condition.V1APIServiceCondition() # noqa: E501 - if include_optional : - return V1APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1APIServiceCondition( - status = '0', - type = '0', - ) - - def testV1APIServiceCondition(self): - """Test V1APIServiceCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service_list.py b/kubernetes/test/test_v1_api_service_list.py deleted file mode 100644 index 8b960f4aac..0000000000 --- a/kubernetes/test/test_v1_api_service_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service_list import V1APIServiceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIServiceList(unittest.TestCase): - """V1APIServiceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIServiceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service_list.V1APIServiceList() # noqa: E501 - if include_optional : - return V1APIServiceList( - api_version = '0', - items = [ - kubernetes.client.models.v1/api_service.v1.APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1APIServiceList( - items = [ - kubernetes.client.models.v1/api_service.v1.APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/api_service_spec.v1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1/api_service_status.v1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ), ) - ], - ) - - def testV1APIServiceList(self): - """Test V1APIServiceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service_spec.py b/kubernetes/test/test_v1_api_service_spec.py deleted file mode 100644 index f1831fe435..0000000000 --- a/kubernetes/test/test_v1_api_service_spec.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service_spec import V1APIServiceSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIServiceSpec(unittest.TestCase): - """V1APIServiceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIServiceSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service_spec.V1APIServiceSpec() # noqa: E501 - if include_optional : - return V1APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56 - ) - else : - return V1APIServiceSpec( - group_priority_minimum = 56, - service = kubernetes.client.models.apiregistration/v1/service_reference.apiregistration.v1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version_priority = 56, - ) - - def testV1APIServiceSpec(self): - """Test V1APIServiceSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_service_status.py b/kubernetes/test/test_v1_api_service_status.py deleted file mode 100644 index 64c447b74f..0000000000 --- a/kubernetes/test/test_v1_api_service_status.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_service_status import V1APIServiceStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIServiceStatus(unittest.TestCase): - """V1APIServiceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIServiceStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_service_status.V1APIServiceStatus() # noqa: E501 - if include_optional : - return V1APIServiceStatus( - conditions = [ - kubernetes.client.models.v1/api_service_condition.v1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ] - ) - else : - return V1APIServiceStatus( - ) - - def testV1APIServiceStatus(self): - """Test V1APIServiceStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_api_versions.py b/kubernetes/test/test_v1_api_versions.py deleted file mode 100644 index 5eae4ab586..0000000000 --- a/kubernetes/test/test_v1_api_versions.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_api_versions import V1APIVersions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1APIVersions(unittest.TestCase): - """V1APIVersions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1APIVersions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_api_versions.V1APIVersions() # noqa: E501 - if include_optional : - return V1APIVersions( - api_version = '0', - kind = '0', - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - '0' - ] - ) - else : - return V1APIVersions( - server_address_by_client_cid_rs = [ - kubernetes.client.models.v1/server_address_by_client_cidr.v1.ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', ) - ], - versions = [ - '0' - ], - ) - - def testV1APIVersions(self): - """Test V1APIVersions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_attached_volume.py b/kubernetes/test/test_v1_attached_volume.py deleted file mode 100644 index dda455d88e..0000000000 --- a/kubernetes/test/test_v1_attached_volume.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_attached_volume import V1AttachedVolume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AttachedVolume(unittest.TestCase): - """V1AttachedVolume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AttachedVolume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_attached_volume.V1AttachedVolume() # noqa: E501 - if include_optional : - return V1AttachedVolume( - device_path = '0', - name = '0' - ) - else : - return V1AttachedVolume( - device_path = '0', - name = '0', - ) - - def testV1AttachedVolume(self): - """Test V1AttachedVolume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py deleted file mode 100644 index b9ce3f6c80..0000000000 --- a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AWSElasticBlockStoreVolumeSource(unittest.TestCase): - """V1AWSElasticBlockStoreVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AWSElasticBlockStoreVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_aws_elastic_block_store_volume_source.V1AWSElasticBlockStoreVolumeSource() # noqa: E501 - if include_optional : - return V1AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0' - ) - else : - return V1AWSElasticBlockStoreVolumeSource( - volume_id = '0', - ) - - def testV1AWSElasticBlockStoreVolumeSource(self): - """Test V1AWSElasticBlockStoreVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_azure_disk_volume_source.py b/kubernetes/test/test_v1_azure_disk_volume_source.py deleted file mode 100644 index 730bd5b051..0000000000 --- a/kubernetes/test/test_v1_azure_disk_volume_source.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AzureDiskVolumeSource(unittest.TestCase): - """V1AzureDiskVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AzureDiskVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_azure_disk_volume_source.V1AzureDiskVolumeSource() # noqa: E501 - if include_optional : - return V1AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True - ) - else : - return V1AzureDiskVolumeSource( - disk_name = '0', - disk_uri = '0', - ) - - def testV1AzureDiskVolumeSource(self): - """Test V1AzureDiskVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py b/kubernetes/test/test_v1_azure_file_persistent_volume_source.py deleted file mode 100644 index f671cd076f..0000000000 --- a/kubernetes/test/test_v1_azure_file_persistent_volume_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_azure_file_persistent_volume_source import V1AzureFilePersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AzureFilePersistentVolumeSource(unittest.TestCase): - """V1AzureFilePersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AzureFilePersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_azure_file_persistent_volume_source.V1AzureFilePersistentVolumeSource() # noqa: E501 - if include_optional : - return V1AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0' - ) - else : - return V1AzureFilePersistentVolumeSource( - secret_name = '0', - share_name = '0', - ) - - def testV1AzureFilePersistentVolumeSource(self): - """Test V1AzureFilePersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_azure_file_volume_source.py b/kubernetes/test/test_v1_azure_file_volume_source.py deleted file mode 100644 index e8bbdfc2f0..0000000000 --- a/kubernetes/test/test_v1_azure_file_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_azure_file_volume_source import V1AzureFileVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1AzureFileVolumeSource(unittest.TestCase): - """V1AzureFileVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1AzureFileVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_azure_file_volume_source.V1AzureFileVolumeSource() # noqa: E501 - if include_optional : - return V1AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0' - ) - else : - return V1AzureFileVolumeSource( - secret_name = '0', - share_name = '0', - ) - - def testV1AzureFileVolumeSource(self): - """Test V1AzureFileVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_binding.py b/kubernetes/test/test_v1_binding.py deleted file mode 100644 index cd9e1cc08a..0000000000 --- a/kubernetes/test/test_v1_binding.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_binding import V1Binding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Binding(unittest.TestCase): - """V1Binding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Binding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_binding.V1Binding() # noqa: E501 - if include_optional : - return V1Binding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - target = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ) - else : - return V1Binding( - target = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - ) - - def testV1Binding(self): - """Test V1Binding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_bound_object_reference.py b/kubernetes/test/test_v1_bound_object_reference.py deleted file mode 100644 index 4cbe6e7154..0000000000 --- a/kubernetes/test/test_v1_bound_object_reference.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_bound_object_reference import V1BoundObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1BoundObjectReference(unittest.TestCase): - """V1BoundObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1BoundObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_bound_object_reference.V1BoundObjectReference() # noqa: E501 - if include_optional : - return V1BoundObjectReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0' - ) - else : - return V1BoundObjectReference( - ) - - def testV1BoundObjectReference(self): - """Test V1BoundObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_capabilities.py b/kubernetes/test/test_v1_capabilities.py deleted file mode 100644 index f7b8b90c03..0000000000 --- a/kubernetes/test/test_v1_capabilities.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_capabilities import V1Capabilities # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Capabilities(unittest.TestCase): - """V1Capabilities unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Capabilities - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_capabilities.V1Capabilities() # noqa: E501 - if include_optional : - return V1Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ] - ) - else : - return V1Capabilities( - ) - - def testV1Capabilities(self): - """Test V1Capabilities""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py b/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py deleted file mode 100644 index 96810d3e19..0000000000 --- a/kubernetes/test/test_v1_ceph_fs_persistent_volume_source.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_ceph_fs_persistent_volume_source import V1CephFSPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CephFSPersistentVolumeSource(unittest.TestCase): - """V1CephFSPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CephFSPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_ceph_fs_persistent_volume_source.V1CephFSPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0' - ) - else : - return V1CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - ) - - def testV1CephFSPersistentVolumeSource(self): - """Test V1CephFSPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_ceph_fs_volume_source.py b/kubernetes/test/test_v1_ceph_fs_volume_source.py deleted file mode 100644 index f47b75e9b6..0000000000 --- a/kubernetes/test/test_v1_ceph_fs_volume_source.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_ceph_fs_volume_source import V1CephFSVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CephFSVolumeSource(unittest.TestCase): - """V1CephFSVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CephFSVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_ceph_fs_volume_source.V1CephFSVolumeSource() # noqa: E501 - if include_optional : - return V1CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0' - ) - else : - return V1CephFSVolumeSource( - monitors = [ - '0' - ], - ) - - def testV1CephFSVolumeSource(self): - """Test V1CephFSVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cinder_persistent_volume_source.py b/kubernetes/test/test_v1_cinder_persistent_volume_source.py deleted file mode 100644 index 6fc20b53c4..0000000000 --- a/kubernetes/test/test_v1_cinder_persistent_volume_source.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cinder_persistent_volume_source import V1CinderPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CinderPersistentVolumeSource(unittest.TestCase): - """V1CinderPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CinderPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cinder_persistent_volume_source.V1CinderPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - volume_id = '0' - ) - else : - return V1CinderPersistentVolumeSource( - volume_id = '0', - ) - - def testV1CinderPersistentVolumeSource(self): - """Test V1CinderPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cinder_volume_source.py b/kubernetes/test/test_v1_cinder_volume_source.py deleted file mode 100644 index 33f60f440e..0000000000 --- a/kubernetes/test/test_v1_cinder_volume_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cinder_volume_source import V1CinderVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CinderVolumeSource(unittest.TestCase): - """V1CinderVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CinderVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cinder_volume_source.V1CinderVolumeSource() # noqa: E501 - if include_optional : - return V1CinderVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - volume_id = '0' - ) - else : - return V1CinderVolumeSource( - volume_id = '0', - ) - - def testV1CinderVolumeSource(self): - """Test V1CinderVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_client_ip_config.py b/kubernetes/test/test_v1_client_ip_config.py deleted file mode 100644 index cda6d0b7de..0000000000 --- a/kubernetes/test/test_v1_client_ip_config.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_client_ip_config import V1ClientIPConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClientIPConfig(unittest.TestCase): - """V1ClientIPConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClientIPConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_client_ip_config.V1ClientIPConfig() # noqa: E501 - if include_optional : - return V1ClientIPConfig( - timeout_seconds = 56 - ) - else : - return V1ClientIPConfig( - ) - - def testV1ClientIPConfig(self): - """Test V1ClientIPConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role.py b/kubernetes/test/test_v1_cluster_role.py deleted file mode 100644 index 376ac90a6f..0000000000 --- a/kubernetes/test/test_v1_cluster_role.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cluster_role import V1ClusterRole # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClusterRole(unittest.TestCase): - """V1ClusterRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClusterRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cluster_role.V1ClusterRole() # noqa: E501 - if include_optional : - return V1ClusterRole( - aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1ClusterRole( - ) - - def testV1ClusterRole(self): - """Test V1ClusterRole""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_binding.py b/kubernetes/test/test_v1_cluster_role_binding.py deleted file mode 100644 index 16d34e2377..0000000000 --- a/kubernetes/test/test_v1_cluster_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cluster_role_binding import V1ClusterRoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClusterRoleBinding(unittest.TestCase): - """V1ClusterRoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClusterRoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cluster_role_binding.V1ClusterRoleBinding() # noqa: E501 - if include_optional : - return V1ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1ClusterRoleBinding( - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1ClusterRoleBinding(self): - """Test V1ClusterRoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_binding_list.py b/kubernetes/test/test_v1_cluster_role_binding_list.py deleted file mode 100644 index d52787d106..0000000000 --- a/kubernetes/test/test_v1_cluster_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cluster_role_binding_list import V1ClusterRoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClusterRoleBindingList(unittest.TestCase): - """V1ClusterRoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClusterRoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cluster_role_binding_list.V1ClusterRoleBindingList() # noqa: E501 - if include_optional : - return V1ClusterRoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1/cluster_role_binding.v1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ClusterRoleBindingList( - items = [ - kubernetes.client.models.v1/cluster_role_binding.v1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1ClusterRoleBindingList(self): - """Test V1ClusterRoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cluster_role_list.py b/kubernetes/test/test_v1_cluster_role_list.py deleted file mode 100644 index ad0745296e..0000000000 --- a/kubernetes/test/test_v1_cluster_role_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cluster_role_list import V1ClusterRoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ClusterRoleList(unittest.TestCase): - """V1ClusterRoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ClusterRoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cluster_role_list.V1ClusterRoleList() # noqa: E501 - if include_optional : - return V1ClusterRoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1/cluster_role.v1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ClusterRoleList( - items = [ - kubernetes.client.models.v1/cluster_role.v1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1/aggregation_rule.v1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1ClusterRoleList(self): - """Test V1ClusterRoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_component_condition.py b/kubernetes/test/test_v1_component_condition.py deleted file mode 100644 index 16a59bbc48..0000000000 --- a/kubernetes/test/test_v1_component_condition.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_component_condition import V1ComponentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ComponentCondition(unittest.TestCase): - """V1ComponentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ComponentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_component_condition.V1ComponentCondition() # noqa: E501 - if include_optional : - return V1ComponentCondition( - error = '0', - message = '0', - status = '0', - type = '0' - ) - else : - return V1ComponentCondition( - status = '0', - type = '0', - ) - - def testV1ComponentCondition(self): - """Test V1ComponentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_component_status.py b/kubernetes/test/test_v1_component_status.py deleted file mode 100644 index 005595c187..0000000000 --- a/kubernetes/test/test_v1_component_status.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_component_status import V1ComponentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ComponentStatus(unittest.TestCase): - """V1ComponentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ComponentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_component_status.V1ComponentStatus() # noqa: E501 - if include_optional : - return V1ComponentStatus( - api_version = '0', - conditions = [ - kubernetes.client.models.v1/component_condition.v1.ComponentCondition( - error = '0', - message = '0', - status = '0', - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ) - ) - else : - return V1ComponentStatus( - ) - - def testV1ComponentStatus(self): - """Test V1ComponentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_component_status_list.py b/kubernetes/test/test_v1_component_status_list.py deleted file mode 100644 index 45ac5faa31..0000000000 --- a/kubernetes/test/test_v1_component_status_list.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_component_status_list import V1ComponentStatusList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ComponentStatusList(unittest.TestCase): - """V1ComponentStatusList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ComponentStatusList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_component_status_list.V1ComponentStatusList() # noqa: E501 - if include_optional : - return V1ComponentStatusList( - api_version = '0', - items = [ - kubernetes.client.models.v1/component_status.v1.ComponentStatus( - api_version = '0', - conditions = [ - kubernetes.client.models.v1/component_condition.v1.ComponentCondition( - error = '0', - message = '0', - status = '0', - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ComponentStatusList( - items = [ - kubernetes.client.models.v1/component_status.v1.ComponentStatus( - api_version = '0', - conditions = [ - kubernetes.client.models.v1/component_condition.v1.ComponentCondition( - error = '0', - message = '0', - status = '0', - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ) - ], - ) - - def testV1ComponentStatusList(self): - """Test V1ComponentStatusList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map.py b/kubernetes/test/test_v1_config_map.py deleted file mode 100644 index 8a6bcc58b3..0000000000 --- a/kubernetes/test/test_v1_config_map.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map import V1ConfigMap # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMap(unittest.TestCase): - """V1ConfigMap unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMap - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map.V1ConfigMap() # noqa: E501 - if include_optional : - return V1ConfigMap( - api_version = '0', - binary_data = { - 'key' : 'YQ==' - }, - data = { - 'key' : '0' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ) - ) - else : - return V1ConfigMap( - ) - - def testV1ConfigMap(self): - """Test V1ConfigMap""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_env_source.py b/kubernetes/test/test_v1_config_map_env_source.py deleted file mode 100644 index 4d0e47f546..0000000000 --- a/kubernetes/test/test_v1_config_map_env_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_env_source import V1ConfigMapEnvSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapEnvSource(unittest.TestCase): - """V1ConfigMapEnvSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapEnvSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_env_source.V1ConfigMapEnvSource() # noqa: E501 - if include_optional : - return V1ConfigMapEnvSource( - name = '0', - optional = True - ) - else : - return V1ConfigMapEnvSource( - ) - - def testV1ConfigMapEnvSource(self): - """Test V1ConfigMapEnvSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_key_selector.py b/kubernetes/test/test_v1_config_map_key_selector.py deleted file mode 100644 index 507fd0b6aa..0000000000 --- a/kubernetes/test/test_v1_config_map_key_selector.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_key_selector import V1ConfigMapKeySelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapKeySelector(unittest.TestCase): - """V1ConfigMapKeySelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapKeySelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_key_selector.V1ConfigMapKeySelector() # noqa: E501 - if include_optional : - return V1ConfigMapKeySelector( - key = '0', - name = '0', - optional = True - ) - else : - return V1ConfigMapKeySelector( - key = '0', - ) - - def testV1ConfigMapKeySelector(self): - """Test V1ConfigMapKeySelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_list.py b/kubernetes/test/test_v1_config_map_list.py deleted file mode 100644 index ec2ffb105f..0000000000 --- a/kubernetes/test/test_v1_config_map_list.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_list import V1ConfigMapList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapList(unittest.TestCase): - """V1ConfigMapList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_list.V1ConfigMapList() # noqa: E501 - if include_optional : - return V1ConfigMapList( - api_version = '0', - items = [ - kubernetes.client.models.v1/config_map.v1.ConfigMap( - api_version = '0', - binary_data = { - 'key' : 'YQ==' - }, - data = { - 'key' : '0' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ConfigMapList( - items = [ - kubernetes.client.models.v1/config_map.v1.ConfigMap( - api_version = '0', - binary_data = { - 'key' : 'YQ==' - }, - data = { - 'key' : '0' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ) - ], - ) - - def testV1ConfigMapList(self): - """Test V1ConfigMapList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_node_config_source.py b/kubernetes/test/test_v1_config_map_node_config_source.py deleted file mode 100644 index 62cdcafa3d..0000000000 --- a/kubernetes/test/test_v1_config_map_node_config_source.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_node_config_source import V1ConfigMapNodeConfigSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapNodeConfigSource(unittest.TestCase): - """V1ConfigMapNodeConfigSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapNodeConfigSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_node_config_source.V1ConfigMapNodeConfigSource() # noqa: E501 - if include_optional : - return V1ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0' - ) - else : - return V1ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - ) - - def testV1ConfigMapNodeConfigSource(self): - """Test V1ConfigMapNodeConfigSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_projection.py b/kubernetes/test/test_v1_config_map_projection.py deleted file mode 100644 index f53c905281..0000000000 --- a/kubernetes/test/test_v1_config_map_projection.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_projection import V1ConfigMapProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapProjection(unittest.TestCase): - """V1ConfigMapProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_projection.V1ConfigMapProjection() # noqa: E501 - if include_optional : - return V1ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True - ) - else : - return V1ConfigMapProjection( - ) - - def testV1ConfigMapProjection(self): - """Test V1ConfigMapProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_config_map_volume_source.py b/kubernetes/test/test_v1_config_map_volume_source.py deleted file mode 100644 index b93f33c793..0000000000 --- a/kubernetes/test/test_v1_config_map_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_config_map_volume_source import V1ConfigMapVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ConfigMapVolumeSource(unittest.TestCase): - """V1ConfigMapVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ConfigMapVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_config_map_volume_source.V1ConfigMapVolumeSource() # noqa: E501 - if include_optional : - return V1ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True - ) - else : - return V1ConfigMapVolumeSource( - ) - - def testV1ConfigMapVolumeSource(self): - """Test V1ConfigMapVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container.py b/kubernetes/test/test_v1_container.py deleted file mode 100644 index b8c6646dd4..0000000000 --- a/kubernetes/test/test_v1_container.py +++ /dev/null @@ -1,240 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container import V1Container # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Container(unittest.TestCase): - """V1Container unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Container - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container.V1Container() # noqa: E501 - if include_optional : - return V1Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0' - ) - else : - return V1Container( - name = '0', - ) - - def testV1Container(self): - """Test V1Container""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_image.py b/kubernetes/test/test_v1_container_image.py deleted file mode 100644 index e783150116..0000000000 --- a/kubernetes/test/test_v1_container_image.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_image import V1ContainerImage # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerImage(unittest.TestCase): - """V1ContainerImage unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerImage - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_image.V1ContainerImage() # noqa: E501 - if include_optional : - return V1ContainerImage( - names = [ - '0' - ], - size_bytes = 56 - ) - else : - return V1ContainerImage( - names = [ - '0' - ], - ) - - def testV1ContainerImage(self): - """Test V1ContainerImage""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_port.py b/kubernetes/test/test_v1_container_port.py deleted file mode 100644 index 986f2efded..0000000000 --- a/kubernetes/test/test_v1_container_port.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_port import V1ContainerPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerPort(unittest.TestCase): - """V1ContainerPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_port.V1ContainerPort() # noqa: E501 - if include_optional : - return V1ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0' - ) - else : - return V1ContainerPort( - container_port = 56, - ) - - def testV1ContainerPort(self): - """Test V1ContainerPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_state.py b/kubernetes/test/test_v1_container_state.py deleted file mode 100644 index e42d07a302..0000000000 --- a/kubernetes/test/test_v1_container_state.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_state import V1ContainerState # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerState(unittest.TestCase): - """V1ContainerState unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerState - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_state.V1ContainerState() # noqa: E501 - if include_optional : - return V1ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ) - ) - else : - return V1ContainerState( - ) - - def testV1ContainerState(self): - """Test V1ContainerState""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_state_running.py b/kubernetes/test/test_v1_container_state_running.py deleted file mode 100644 index ea7171bb6b..0000000000 --- a/kubernetes/test/test_v1_container_state_running.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_state_running import V1ContainerStateRunning # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerStateRunning(unittest.TestCase): - """V1ContainerStateRunning unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerStateRunning - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_state_running.V1ContainerStateRunning() # noqa: E501 - if include_optional : - return V1ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1ContainerStateRunning( - ) - - def testV1ContainerStateRunning(self): - """Test V1ContainerStateRunning""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_state_terminated.py b/kubernetes/test/test_v1_container_state_terminated.py deleted file mode 100644 index feee319b10..0000000000 --- a/kubernetes/test/test_v1_container_state_terminated.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_state_terminated import V1ContainerStateTerminated # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerStateTerminated(unittest.TestCase): - """V1ContainerStateTerminated unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerStateTerminated - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_state_terminated.V1ContainerStateTerminated() # noqa: E501 - if include_optional : - return V1ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1ContainerStateTerminated( - exit_code = 56, - ) - - def testV1ContainerStateTerminated(self): - """Test V1ContainerStateTerminated""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_state_waiting.py b/kubernetes/test/test_v1_container_state_waiting.py deleted file mode 100644 index 8e9f603708..0000000000 --- a/kubernetes/test/test_v1_container_state_waiting.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_state_waiting import V1ContainerStateWaiting # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerStateWaiting(unittest.TestCase): - """V1ContainerStateWaiting unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerStateWaiting - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_state_waiting.V1ContainerStateWaiting() # noqa: E501 - if include_optional : - return V1ContainerStateWaiting( - message = '0', - reason = '0' - ) - else : - return V1ContainerStateWaiting( - ) - - def testV1ContainerStateWaiting(self): - """Test V1ContainerStateWaiting""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_container_status.py b/kubernetes/test/test_v1_container_status.py deleted file mode 100644 index b68f6c7b55..0000000000 --- a/kubernetes/test/test_v1_container_status.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_container_status import V1ContainerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ContainerStatus(unittest.TestCase): - """V1ContainerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ContainerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_container_status.V1ContainerStatus() # noqa: E501 - if include_optional : - return V1ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ) - ) - else : - return V1ContainerStatus( - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - ) - - def testV1ContainerStatus(self): - """Test V1ContainerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_controller_revision.py b/kubernetes/test/test_v1_controller_revision.py deleted file mode 100644 index fd73b27c4e..0000000000 --- a/kubernetes/test/test_v1_controller_revision.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_controller_revision import V1ControllerRevision # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ControllerRevision(unittest.TestCase): - """V1ControllerRevision unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ControllerRevision - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_controller_revision.V1ControllerRevision() # noqa: E501 - if include_optional : - return V1ControllerRevision( - api_version = '0', - data = None, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56 - ) - else : - return V1ControllerRevision( - revision = 56, - ) - - def testV1ControllerRevision(self): - """Test V1ControllerRevision""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_controller_revision_list.py b/kubernetes/test/test_v1_controller_revision_list.py deleted file mode 100644 index f5f0a4a7b9..0000000000 --- a/kubernetes/test/test_v1_controller_revision_list.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_controller_revision_list import V1ControllerRevisionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ControllerRevisionList(unittest.TestCase): - """V1ControllerRevisionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ControllerRevisionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_controller_revision_list.V1ControllerRevisionList() # noqa: E501 - if include_optional : - return V1ControllerRevisionList( - api_version = '0', - items = [ - kubernetes.client.models.v1/controller_revision.v1.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ControllerRevisionList( - items = [ - kubernetes.client.models.v1/controller_revision.v1.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - ) - - def testV1ControllerRevisionList(self): - """Test V1ControllerRevisionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_cross_version_object_reference.py b/kubernetes/test/test_v1_cross_version_object_reference.py deleted file mode 100644 index 80c4545be7..0000000000 --- a/kubernetes/test/test_v1_cross_version_object_reference.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_cross_version_object_reference import V1CrossVersionObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CrossVersionObjectReference(unittest.TestCase): - """V1CrossVersionObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CrossVersionObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_cross_version_object_reference.V1CrossVersionObjectReference() # noqa: E501 - if include_optional : - return V1CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0' - ) - else : - return V1CrossVersionObjectReference( - kind = '0', - name = '0', - ) - - def testV1CrossVersionObjectReference(self): - """Test V1CrossVersionObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_csi_node.py b/kubernetes/test/test_v1_csi_node.py deleted file mode 100644 index f018cdbc6c..0000000000 --- a/kubernetes/test/test_v1_csi_node.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_csi_node import V1CSINode # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CSINode(unittest.TestCase): - """V1CSINode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CSINode - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_csi_node.V1CSINode() # noqa: E501 - if include_optional : - return V1CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/csi_node_spec.v1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( - allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ) - ) - else : - return V1CSINode( - spec = kubernetes.client.models.v1/csi_node_spec.v1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( - allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), - ) - - def testV1CSINode(self): - """Test V1CSINode""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_csi_node_driver.py b/kubernetes/test/test_v1_csi_node_driver.py deleted file mode 100644 index d30032b178..0000000000 --- a/kubernetes/test/test_v1_csi_node_driver.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_csi_node_driver import V1CSINodeDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CSINodeDriver(unittest.TestCase): - """V1CSINodeDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CSINodeDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_csi_node_driver.V1CSINodeDriver() # noqa: E501 - if include_optional : - return V1CSINodeDriver( - allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ] - ) - else : - return V1CSINodeDriver( - name = '0', - node_id = '0', - ) - - def testV1CSINodeDriver(self): - """Test V1CSINodeDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_csi_node_list.py b/kubernetes/test/test_v1_csi_node_list.py deleted file mode 100644 index 2071524b19..0000000000 --- a/kubernetes/test/test_v1_csi_node_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_csi_node_list import V1CSINodeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CSINodeList(unittest.TestCase): - """V1CSINodeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CSINodeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_csi_node_list.V1CSINodeList() # noqa: E501 - if include_optional : - return V1CSINodeList( - api_version = '0', - items = [ - kubernetes.client.models.v1/csi_node.v1.CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/csi_node_spec.v1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( - allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1CSINodeList( - items = [ - kubernetes.client.models.v1/csi_node.v1.CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/csi_node_spec.v1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( - allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), ) - ], - ) - - def testV1CSINodeList(self): - """Test V1CSINodeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_csi_node_spec.py b/kubernetes/test/test_v1_csi_node_spec.py deleted file mode 100644 index 4239cc28df..0000000000 --- a/kubernetes/test/test_v1_csi_node_spec.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_csi_node_spec import V1CSINodeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CSINodeSpec(unittest.TestCase): - """V1CSINodeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CSINodeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_csi_node_spec.V1CSINodeSpec() # noqa: E501 - if include_optional : - return V1CSINodeSpec( - drivers = [ - kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( - allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ] - ) - else : - return V1CSINodeSpec( - drivers = [ - kubernetes.client.models.v1/csi_node_driver.v1.CSINodeDriver( - allocatable = kubernetes.client.models.v1/volume_node_resources.v1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], - ) - - def testV1CSINodeSpec(self): - """Test V1CSINodeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_csi_persistent_volume_source.py b/kubernetes/test/test_v1_csi_persistent_volume_source.py deleted file mode 100644 index b8b0c6a491..0000000000 --- a/kubernetes/test/test_v1_csi_persistent_volume_source.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_csi_persistent_volume_source import V1CSIPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CSIPersistentVolumeSource(unittest.TestCase): - """V1CSIPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CSIPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_csi_persistent_volume_source.V1CSIPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0' - ) - else : - return V1CSIPersistentVolumeSource( - driver = '0', - volume_handle = '0', - ) - - def testV1CSIPersistentVolumeSource(self): - """Test V1CSIPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_csi_volume_source.py b/kubernetes/test/test_v1_csi_volume_source.py deleted file mode 100644 index 9d90d79d3d..0000000000 --- a/kubernetes/test/test_v1_csi_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_csi_volume_source import V1CSIVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CSIVolumeSource(unittest.TestCase): - """V1CSIVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CSIVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_csi_volume_source.V1CSIVolumeSource() # noqa: E501 - if include_optional : - return V1CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - } - ) - else : - return V1CSIVolumeSource( - driver = '0', - ) - - def testV1CSIVolumeSource(self): - """Test V1CSIVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_column_definition.py b/kubernetes/test/test_v1_custom_resource_column_definition.py deleted file mode 100644 index eaae80f7ef..0000000000 --- a/kubernetes/test/test_v1_custom_resource_column_definition.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_column_definition import V1CustomResourceColumnDefinition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceColumnDefinition(unittest.TestCase): - """V1CustomResourceColumnDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceColumnDefinition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_column_definition.V1CustomResourceColumnDefinition() # noqa: E501 - if include_optional : - return V1CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0' - ) - else : - return V1CustomResourceColumnDefinition( - json_path = '0', - name = '0', - type = '0', - ) - - def testV1CustomResourceColumnDefinition(self): - """Test V1CustomResourceColumnDefinition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_conversion.py b/kubernetes/test/test_v1_custom_resource_conversion.py deleted file mode 100644 index d91e3c21c2..0000000000 --- a/kubernetes/test/test_v1_custom_resource_conversion.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_conversion import V1CustomResourceConversion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceConversion(unittest.TestCase): - """V1CustomResourceConversion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceConversion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_conversion.V1CustomResourceConversion() # noqa: E501 - if include_optional : - return V1CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ) - ) - else : - return V1CustomResourceConversion( - strategy = '0', - ) - - def testV1CustomResourceConversion(self): - """Test V1CustomResourceConversion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition.py b/kubernetes/test/test_v1_custom_resource_definition.py deleted file mode 100644 index 29c3dfe47c..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition.py +++ /dev/null @@ -1,2337 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition import V1CustomResourceDefinition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinition(unittest.TestCase): - """V1CustomResourceDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition.V1CustomResourceDefinition() # noqa: E501 - if include_optional : - return V1CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], ), - status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - conditions = [ - kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ) - ) - else : - return V1CustomResourceDefinition( - spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], ), - ) - - def testV1CustomResourceDefinition(self): - """Test V1CustomResourceDefinition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_condition.py b/kubernetes/test/test_v1_custom_resource_definition_condition.py deleted file mode 100644 index 3046e7e438..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_condition import V1CustomResourceDefinitionCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionCondition(unittest.TestCase): - """V1CustomResourceDefinitionCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_condition.V1CustomResourceDefinitionCondition() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1CustomResourceDefinitionCondition( - status = '0', - type = '0', - ) - - def testV1CustomResourceDefinitionCondition(self): - """Test V1CustomResourceDefinitionCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_list.py b/kubernetes/test/test_v1_custom_resource_definition_list.py deleted file mode 100644 index 82df904d2f..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_list.py +++ /dev/null @@ -1,2402 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_list import V1CustomResourceDefinitionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionList(unittest.TestCase): - """V1CustomResourceDefinitionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_list.V1CustomResourceDefinitionList() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionList( - api_version = '0', - items = [ - kubernetes.client.models.v1/custom_resource_definition.v1.CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], ), - status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - kind = '0', - list_kind = '0', - plural = '0', - singular = '0', ), - conditions = [ - kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1CustomResourceDefinitionList( - items = [ - kubernetes.client.models.v1/custom_resource_definition.v1.CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/custom_resource_definition_spec.v1.CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], ), - status = kubernetes.client.models.v1/custom_resource_definition_status.v1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - kind = '0', - list_kind = '0', - plural = '0', - singular = '0', ), - conditions = [ - kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ), ) - ], - ) - - def testV1CustomResourceDefinitionList(self): - """Test V1CustomResourceDefinitionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_names.py b/kubernetes/test/test_v1_custom_resource_definition_names.py deleted file mode 100644 index 31fa59646f..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_names.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_names import V1CustomResourceDefinitionNames # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionNames(unittest.TestCase): - """V1CustomResourceDefinitionNames unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionNames - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_names.V1CustomResourceDefinitionNames() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0' - ) - else : - return V1CustomResourceDefinitionNames( - kind = '0', - plural = '0', - ) - - def testV1CustomResourceDefinitionNames(self): - """Test V1CustomResourceDefinitionNames""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_spec.py b/kubernetes/test/test_v1_custom_resource_definition_spec.py deleted file mode 100644 index 63dbfaf306..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_spec.py +++ /dev/null @@ -1,2256 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_spec import V1CustomResourceDefinitionSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionSpec(unittest.TestCase): - """V1CustomResourceDefinitionSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_spec.V1CustomResourceDefinitionSpec() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionSpec( - conversion = kubernetes.client.models.v1/custom_resource_conversion.v1.CustomResourceConversion( - strategy = '0', - webhook = kubernetes.client.models.v1/webhook_conversion.v1.WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ], ), ), - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ] - ) - else : - return V1CustomResourceDefinitionSpec( - group = '0', - names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - scope = '0', - versions = [ - kubernetes.client.models.v1/custom_resource_definition_version.v1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ], - ) - - def testV1CustomResourceDefinitionSpec(self): - """Test V1CustomResourceDefinitionSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_status.py b/kubernetes/test/test_v1_custom_resource_definition_status.py deleted file mode 100644 index 396de0f309..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_status.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_status import V1CustomResourceDefinitionStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionStatus(unittest.TestCase): - """V1CustomResourceDefinitionStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_status.V1CustomResourceDefinitionStatus() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - conditions = [ - kubernetes.client.models.v1/custom_resource_definition_condition.v1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ] - ) - else : - return V1CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1/custom_resource_definition_names.v1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - stored_versions = [ - '0' - ], - ) - - def testV1CustomResourceDefinitionStatus(self): - """Test V1CustomResourceDefinitionStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_definition_version.py b/kubernetes/test/test_v1_custom_resource_definition_version.py deleted file mode 100644 index fad590183f..0000000000 --- a/kubernetes/test/test_v1_custom_resource_definition_version.py +++ /dev/null @@ -1,1133 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_definition_version import V1CustomResourceDefinitionVersion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceDefinitionVersion(unittest.TestCase): - """V1CustomResourceDefinitionVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceDefinitionVersion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_definition_version.V1CustomResourceDefinitionVersion() # noqa: E501 - if include_optional : - return V1CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1/custom_resource_column_definition.v1.CustomResourceColumnDefinition( - description = '0', - format = '0', - json_path = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1/custom_resource_validation.v1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1/custom_resource_subresources.v1.CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ) - ) - else : - return V1CustomResourceDefinitionVersion( - name = '0', - served = True, - storage = True, - ) - - def testV1CustomResourceDefinitionVersion(self): - """Test V1CustomResourceDefinitionVersion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_subresource_scale.py b/kubernetes/test/test_v1_custom_resource_subresource_scale.py deleted file mode 100644 index e1281e9f2f..0000000000 --- a/kubernetes/test/test_v1_custom_resource_subresource_scale.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_subresource_scale import V1CustomResourceSubresourceScale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceSubresourceScale(unittest.TestCase): - """V1CustomResourceSubresourceScale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceSubresourceScale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_subresource_scale.V1CustomResourceSubresourceScale() # noqa: E501 - if include_optional : - return V1CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0' - ) - else : - return V1CustomResourceSubresourceScale( - spec_replicas_path = '0', - status_replicas_path = '0', - ) - - def testV1CustomResourceSubresourceScale(self): - """Test V1CustomResourceSubresourceScale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_subresources.py b/kubernetes/test/test_v1_custom_resource_subresources.py deleted file mode 100644 index 760b8849e2..0000000000 --- a/kubernetes/test/test_v1_custom_resource_subresources.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_subresources import V1CustomResourceSubresources # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceSubresources(unittest.TestCase): - """V1CustomResourceSubresources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceSubresources - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_subresources.V1CustomResourceSubresources() # noqa: E501 - if include_optional : - return V1CustomResourceSubresources( - scale = kubernetes.client.models.v1/custom_resource_subresource_scale.v1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status() - ) - else : - return V1CustomResourceSubresources( - ) - - def testV1CustomResourceSubresources(self): - """Test V1CustomResourceSubresources""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_custom_resource_validation.py b/kubernetes/test/test_v1_custom_resource_validation.py deleted file mode 100644 index 800008fb38..0000000000 --- a/kubernetes/test/test_v1_custom_resource_validation.py +++ /dev/null @@ -1,1111 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_custom_resource_validation import V1CustomResourceValidation # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1CustomResourceValidation(unittest.TestCase): - """V1CustomResourceValidation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1CustomResourceValidation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_custom_resource_validation.V1CustomResourceValidation() # noqa: E501 - if include_optional : - return V1CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ) - else : - return V1CustomResourceValidation( - ) - - def testV1CustomResourceValidation(self): - """Test V1CustomResourceValidation""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_endpoint.py b/kubernetes/test/test_v1_daemon_endpoint.py deleted file mode 100644 index 8cfc8cab41..0000000000 --- a/kubernetes/test/test_v1_daemon_endpoint.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_endpoint import V1DaemonEndpoint # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonEndpoint(unittest.TestCase): - """V1DaemonEndpoint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonEndpoint - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_endpoint.V1DaemonEndpoint() # noqa: E501 - if include_optional : - return V1DaemonEndpoint( - port = 56 - ) - else : - return V1DaemonEndpoint( - port = 56, - ) - - def testV1DaemonEndpoint(self): - """Test V1DaemonEndpoint""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set.py b/kubernetes/test/test_v1_daemon_set.py deleted file mode 100644 index c424e9e2a9..0000000000 --- a/kubernetes/test/test_v1_daemon_set.py +++ /dev/null @@ -1,602 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set import V1DaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSet(unittest.TestCase): - """V1DaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set.V1DaemonSet() # noqa: E501 - if include_optional : - return V1DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ) - ) - else : - return V1DaemonSet( - ) - - def testV1DaemonSet(self): - """Test V1DaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_condition.py b/kubernetes/test/test_v1_daemon_set_condition.py deleted file mode 100644 index 696ecb4851..0000000000 --- a/kubernetes/test/test_v1_daemon_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_condition import V1DaemonSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetCondition(unittest.TestCase): - """V1DaemonSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_condition.V1DaemonSetCondition() # noqa: E501 - if include_optional : - return V1DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1DaemonSetCondition( - status = '0', - type = '0', - ) - - def testV1DaemonSetCondition(self): - """Test V1DaemonSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_list.py b/kubernetes/test/test_v1_daemon_set_list.py deleted file mode 100644 index bcd668e62e..0000000000 --- a/kubernetes/test/test_v1_daemon_set_list.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_list import V1DaemonSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetList(unittest.TestCase): - """V1DaemonSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_list.V1DaemonSetList() # noqa: E501 - if include_optional : - return V1DaemonSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1/daemon_set.v1.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1DaemonSetList( - items = [ - kubernetes.client.models.v1/daemon_set.v1.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/daemon_set_spec.v1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1/daemon_set_status.v1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - ) - - def testV1DaemonSetList(self): - """Test V1DaemonSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_spec.py b/kubernetes/test/test_v1_daemon_set_spec.py deleted file mode 100644 index d4eb708aaf..0000000000 --- a/kubernetes/test/test_v1_daemon_set_spec.py +++ /dev/null @@ -1,1049 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_spec import V1DaemonSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetSpec(unittest.TestCase): - """V1DaemonSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_spec.V1DaemonSetSpec() # noqa: E501 - if include_optional : - return V1DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1/daemon_set_update_strategy.v1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ) - ) - else : - return V1DaemonSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1DaemonSetSpec(self): - """Test V1DaemonSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_status.py b/kubernetes/test/test_v1_daemon_set_status.py deleted file mode 100644 index 7ad21589d7..0000000000 --- a/kubernetes/test/test_v1_daemon_set_status.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_status import V1DaemonSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetStatus(unittest.TestCase): - """V1DaemonSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_status.V1DaemonSetStatus() # noqa: E501 - if include_optional : - return V1DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/daemon_set_condition.v1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56 - ) - else : - return V1DaemonSetStatus( - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_misscheduled = 56, - number_ready = 56, - ) - - def testV1DaemonSetStatus(self): - """Test V1DaemonSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_daemon_set_update_strategy.py b/kubernetes/test/test_v1_daemon_set_update_strategy.py deleted file mode 100644 index 61fdeebe34..0000000000 --- a/kubernetes/test/test_v1_daemon_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_daemon_set_update_strategy import V1DaemonSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DaemonSetUpdateStrategy(unittest.TestCase): - """V1DaemonSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DaemonSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_daemon_set_update_strategy.V1DaemonSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_daemon_set.v1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1DaemonSetUpdateStrategy( - ) - - def testV1DaemonSetUpdateStrategy(self): - """Test V1DaemonSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_delete_options.py b/kubernetes/test/test_v1_delete_options.py deleted file mode 100644 index 4293a6d5e3..0000000000 --- a/kubernetes/test/test_v1_delete_options.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_delete_options import V1DeleteOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeleteOptions(unittest.TestCase): - """V1DeleteOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeleteOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_delete_options.V1DeleteOptions() # noqa: E501 - if include_optional : - return V1DeleteOptions( - api_version = '0', - dry_run = [ - '0' - ], - grace_period_seconds = 56, - kind = '0', - orphan_dependents = True, - preconditions = kubernetes.client.models.v1/preconditions.v1.Preconditions( - resource_version = '0', - uid = '0', ), - propagation_policy = '0' - ) - else : - return V1DeleteOptions( - ) - - def testV1DeleteOptions(self): - """Test V1DeleteOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment.py b/kubernetes/test/test_v1_deployment.py deleted file mode 100644 index a2b0d8f529..0000000000 --- a/kubernetes/test/test_v1_deployment.py +++ /dev/null @@ -1,605 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment import V1Deployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Deployment(unittest.TestCase): - """V1Deployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Deployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment.V1Deployment() # noqa: E501 - if include_optional : - return V1Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ) - ) - else : - return V1Deployment( - ) - - def testV1Deployment(self): - """Test V1Deployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_condition.py b/kubernetes/test/test_v1_deployment_condition.py deleted file mode 100644 index 1ed93d9cd0..0000000000 --- a/kubernetes/test/test_v1_deployment_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_condition import V1DeploymentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentCondition(unittest.TestCase): - """V1DeploymentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_condition.V1DeploymentCondition() # noqa: E501 - if include_optional : - return V1DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1DeploymentCondition( - status = '0', - type = '0', - ) - - def testV1DeploymentCondition(self): - """Test V1DeploymentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_list.py b/kubernetes/test/test_v1_deployment_list.py deleted file mode 100644 index e11b3446c6..0000000000 --- a/kubernetes/test/test_v1_deployment_list.py +++ /dev/null @@ -1,228 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_list import V1DeploymentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentList(unittest.TestCase): - """V1DeploymentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_list.V1DeploymentList() # noqa: E501 - if include_optional : - return V1DeploymentList( - api_version = '0', - items = [ - kubernetes.client.models.v1/deployment.v1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1DeploymentList( - items = [ - kubernetes.client.models.v1/deployment.v1.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/deployment_spec.v1.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/deployment_status.v1.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - ) - - def testV1DeploymentList(self): - """Test V1DeploymentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_spec.py b/kubernetes/test/test_v1_deployment_spec.py deleted file mode 100644 index 6f9b2071b3..0000000000 --- a/kubernetes/test/test_v1_deployment_spec.py +++ /dev/null @@ -1,1053 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_spec import V1DeploymentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentSpec(unittest.TestCase): - """V1DeploymentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_spec.V1DeploymentSpec() # noqa: E501 - if include_optional : - return V1DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1/deployment_strategy.v1.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1DeploymentSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1DeploymentSpec(self): - """Test V1DeploymentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_status.py b/kubernetes/test/test_v1_deployment_status.py deleted file mode 100644 index 760713f020..0000000000 --- a/kubernetes/test/test_v1_deployment_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_status import V1DeploymentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentStatus(unittest.TestCase): - """V1DeploymentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_status.V1DeploymentStatus() # noqa: E501 - if include_optional : - return V1DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/deployment_condition.v1.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56 - ) - else : - return V1DeploymentStatus( - ) - - def testV1DeploymentStatus(self): - """Test V1DeploymentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_deployment_strategy.py b/kubernetes/test/test_v1_deployment_strategy.py deleted file mode 100644 index de9a71b12a..0000000000 --- a/kubernetes/test/test_v1_deployment_strategy.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_deployment_strategy import V1DeploymentStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DeploymentStrategy(unittest.TestCase): - """V1DeploymentStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DeploymentStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_deployment_strategy.V1DeploymentStrategy() # noqa: E501 - if include_optional : - return V1DeploymentStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_deployment.v1.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1DeploymentStrategy( - ) - - def testV1DeploymentStrategy(self): - """Test V1DeploymentStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_projection.py b/kubernetes/test/test_v1_downward_api_projection.py deleted file mode 100644 index c945a3d891..0000000000 --- a/kubernetes/test/test_v1_downward_api_projection.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_downward_api_projection import V1DownwardAPIProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DownwardAPIProjection(unittest.TestCase): - """V1DownwardAPIProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DownwardAPIProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_downward_api_projection.V1DownwardAPIProjection() # noqa: E501 - if include_optional : - return V1DownwardAPIProjection( - items = [ - kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), ) - ] - ) - else : - return V1DownwardAPIProjection( - ) - - def testV1DownwardAPIProjection(self): - """Test V1DownwardAPIProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_volume_file.py b/kubernetes/test/test_v1_downward_api_volume_file.py deleted file mode 100644 index 1f88d2d05a..0000000000 --- a/kubernetes/test/test_v1_downward_api_volume_file.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DownwardAPIVolumeFile(unittest.TestCase): - """V1DownwardAPIVolumeFile unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DownwardAPIVolumeFile - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_downward_api_volume_file.V1DownwardAPIVolumeFile() # noqa: E501 - if include_optional : - return V1DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ) - ) - else : - return V1DownwardAPIVolumeFile( - path = '0', - ) - - def testV1DownwardAPIVolumeFile(self): - """Test V1DownwardAPIVolumeFile""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_downward_api_volume_source.py b/kubernetes/test/test_v1_downward_api_volume_source.py deleted file mode 100644 index 6a929b5766..0000000000 --- a/kubernetes/test/test_v1_downward_api_volume_source.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1DownwardAPIVolumeSource(unittest.TestCase): - """V1DownwardAPIVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1DownwardAPIVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_downward_api_volume_source.V1DownwardAPIVolumeSource() # noqa: E501 - if include_optional : - return V1DownwardAPIVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), ) - ] - ) - else : - return V1DownwardAPIVolumeSource( - ) - - def testV1DownwardAPIVolumeSource(self): - """Test V1DownwardAPIVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_empty_dir_volume_source.py b/kubernetes/test/test_v1_empty_dir_volume_source.py deleted file mode 100644 index 2dc9996a97..0000000000 --- a/kubernetes/test/test_v1_empty_dir_volume_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EmptyDirVolumeSource(unittest.TestCase): - """V1EmptyDirVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EmptyDirVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_empty_dir_volume_source.V1EmptyDirVolumeSource() # noqa: E501 - if include_optional : - return V1EmptyDirVolumeSource( - medium = '0', - size_limit = '0' - ) - else : - return V1EmptyDirVolumeSource( - ) - - def testV1EmptyDirVolumeSource(self): - """Test V1EmptyDirVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_address.py b/kubernetes/test/test_v1_endpoint_address.py deleted file mode 100644 index 62f4e87200..0000000000 --- a/kubernetes/test/test_v1_endpoint_address.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoint_address import V1EndpointAddress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EndpointAddress(unittest.TestCase): - """V1EndpointAddress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EndpointAddress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoint_address.V1EndpointAddress() # noqa: E501 - if include_optional : - return V1EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ) - else : - return V1EndpointAddress( - ip = '0', - ) - - def testV1EndpointAddress(self): - """Test V1EndpointAddress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_port.py b/kubernetes/test/test_v1_endpoint_port.py deleted file mode 100644 index 2bd0d91632..0000000000 --- a/kubernetes/test/test_v1_endpoint_port.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoint_port import V1EndpointPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EndpointPort(unittest.TestCase): - """V1EndpointPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EndpointPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoint_port.V1EndpointPort() # noqa: E501 - if include_optional : - return V1EndpointPort( - name = '0', - port = 56, - protocol = '0' - ) - else : - return V1EndpointPort( - port = 56, - ) - - def testV1EndpointPort(self): - """Test V1EndpointPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoint_subset.py b/kubernetes/test/test_v1_endpoint_subset.py deleted file mode 100644 index ccf0bd43e8..0000000000 --- a/kubernetes/test/test_v1_endpoint_subset.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoint_subset import V1EndpointSubset # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EndpointSubset(unittest.TestCase): - """V1EndpointSubset unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EndpointSubset - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoint_subset.V1EndpointSubset() # noqa: E501 - if include_optional : - return V1EndpointSubset( - addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - not_ready_addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - ports = [ - kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ] - ) - else : - return V1EndpointSubset( - ) - - def testV1EndpointSubset(self): - """Test V1EndpointSubset""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoints.py b/kubernetes/test/test_v1_endpoints.py deleted file mode 100644 index ba9fcabe4b..0000000000 --- a/kubernetes/test/test_v1_endpoints.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoints import V1Endpoints # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Endpoints(unittest.TestCase): - """V1Endpoints unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Endpoints - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoints.V1Endpoints() # noqa: E501 - if include_optional : - return V1Endpoints( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - subsets = [ - kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( - addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - not_ready_addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', ) - ], - ports = [ - kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ], ) - ] - ) - else : - return V1Endpoints( - ) - - def testV1Endpoints(self): - """Test V1Endpoints""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_endpoints_list.py b/kubernetes/test/test_v1_endpoints_list.py deleted file mode 100644 index 2255728843..0000000000 --- a/kubernetes/test/test_v1_endpoints_list.py +++ /dev/null @@ -1,204 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_endpoints_list import V1EndpointsList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EndpointsList(unittest.TestCase): - """V1EndpointsList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EndpointsList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_endpoints_list.V1EndpointsList() # noqa: E501 - if include_optional : - return V1EndpointsList( - api_version = '0', - items = [ - kubernetes.client.models.v1/endpoints.v1.Endpoints( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - subsets = [ - kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( - addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - not_ready_addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', ) - ], - ports = [ - kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1EndpointsList( - items = [ - kubernetes.client.models.v1/endpoints.v1.Endpoints( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - subsets = [ - kubernetes.client.models.v1/endpoint_subset.v1.EndpointSubset( - addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ], - not_ready_addresses = [ - kubernetes.client.models.v1/endpoint_address.v1.EndpointAddress( - hostname = '0', - ip = '0', - node_name = '0', ) - ], - ports = [ - kubernetes.client.models.v1/endpoint_port.v1.EndpointPort( - name = '0', - port = 56, - protocol = '0', ) - ], ) - ], ) - ], - ) - - def testV1EndpointsList(self): - """Test V1EndpointsList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_env_from_source.py b/kubernetes/test/test_v1_env_from_source.py deleted file mode 100644 index 542980f1f2..0000000000 --- a/kubernetes/test/test_v1_env_from_source.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_env_from_source import V1EnvFromSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EnvFromSource(unittest.TestCase): - """V1EnvFromSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EnvFromSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_env_from_source.V1EnvFromSource() # noqa: E501 - if include_optional : - return V1EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ) - ) - else : - return V1EnvFromSource( - ) - - def testV1EnvFromSource(self): - """Test V1EnvFromSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_env_var.py b/kubernetes/test/test_v1_env_var.py deleted file mode 100644 index 5fe28a76ed..0000000000 --- a/kubernetes/test/test_v1_env_var.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_env_var import V1EnvVar # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EnvVar(unittest.TestCase): - """V1EnvVar unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EnvVar - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_env_var.V1EnvVar() # noqa: E501 - if include_optional : - return V1EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ) - ) - else : - return V1EnvVar( - name = '0', - ) - - def testV1EnvVar(self): - """Test V1EnvVar""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_env_var_source.py b/kubernetes/test/test_v1_env_var_source.py deleted file mode 100644 index 61a77c698f..0000000000 --- a/kubernetes/test/test_v1_env_var_source.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_env_var_source import V1EnvVarSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EnvVarSource(unittest.TestCase): - """V1EnvVarSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EnvVarSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_env_var_source.V1EnvVarSource() # noqa: E501 - if include_optional : - return V1EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ) - ) - else : - return V1EnvVarSource( - ) - - def testV1EnvVarSource(self): - """Test V1EnvVarSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_ephemeral_container.py b/kubernetes/test/test_v1_ephemeral_container.py deleted file mode 100644 index 674437953b..0000000000 --- a/kubernetes/test/test_v1_ephemeral_container.py +++ /dev/null @@ -1,241 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_ephemeral_container import V1EphemeralContainer # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EphemeralContainer(unittest.TestCase): - """V1EphemeralContainer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EphemeralContainer - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_ephemeral_container.V1EphemeralContainer() # noqa: E501 - if include_optional : - return V1EphemeralContainer( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0' - ) - else : - return V1EphemeralContainer( - name = '0', - ) - - def testV1EphemeralContainer(self): - """Test V1EphemeralContainer""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_event.py b/kubernetes/test/test_v1_event.py deleted file mode 100644 index c27b9b62b7..0000000000 --- a/kubernetes/test/test_v1_event.py +++ /dev/null @@ -1,172 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_event import V1Event # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Event(unittest.TestCase): - """V1Event unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Event - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_event.V1Event() # noqa: E501 - if include_optional : - return V1Event( - action = '0', - api_version = '0', - count = 56, - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - kind = '0', - last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - reason = '0', - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_component = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1/event_series.v1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - type = '0' - ) - else : - return V1Event( - involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - ) - - def testV1Event(self): - """Test V1Event""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_event_list.py b/kubernetes/test/test_v1_event_list.py deleted file mode 100644 index 6d88ac2665..0000000000 --- a/kubernetes/test/test_v1_event_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_event_list import V1EventList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EventList(unittest.TestCase): - """V1EventList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EventList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_event_list.V1EventList() # noqa: E501 - if include_optional : - return V1EventList( - api_version = '0', - items = [ - kubernetes.client.models.v1/event.v1.Event( - action = '0', - api_version = '0', - count = 56, - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - kind = '0', - last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - reason = '0', - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_component = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1/event_series.v1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1EventList( - items = [ - kubernetes.client.models.v1/event.v1.Event( - action = '0', - api_version = '0', - count = 56, - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - involved_object = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - kind = '0', - last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - reason = '0', - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_component = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1/event_series.v1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - type = '0', ) - ], - ) - - def testV1EventList(self): - """Test V1EventList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_event_series.py b/kubernetes/test/test_v1_event_series.py deleted file mode 100644 index 5943c3a34b..0000000000 --- a/kubernetes/test/test_v1_event_series.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_event_series import V1EventSeries # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EventSeries(unittest.TestCase): - """V1EventSeries unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EventSeries - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_event_series.V1EventSeries() # noqa: E501 - if include_optional : - return V1EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0' - ) - else : - return V1EventSeries( - ) - - def testV1EventSeries(self): - """Test V1EventSeries""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_event_source.py b/kubernetes/test/test_v1_event_source.py deleted file mode 100644 index c834a9e2a7..0000000000 --- a/kubernetes/test/test_v1_event_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_event_source import V1EventSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1EventSource(unittest.TestCase): - """V1EventSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1EventSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_event_source.V1EventSource() # noqa: E501 - if include_optional : - return V1EventSource( - component = '0', - host = '0' - ) - else : - return V1EventSource( - ) - - def testV1EventSource(self): - """Test V1EventSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_exec_action.py b/kubernetes/test/test_v1_exec_action.py deleted file mode 100644 index 2d371c34a6..0000000000 --- a/kubernetes/test/test_v1_exec_action.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_exec_action import V1ExecAction # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ExecAction(unittest.TestCase): - """V1ExecAction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ExecAction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_exec_action.V1ExecAction() # noqa: E501 - if include_optional : - return V1ExecAction( - command = [ - '0' - ] - ) - else : - return V1ExecAction( - ) - - def testV1ExecAction(self): - """Test V1ExecAction""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_external_documentation.py b/kubernetes/test/test_v1_external_documentation.py deleted file mode 100644 index 5c52c2ed6b..0000000000 --- a/kubernetes/test/test_v1_external_documentation.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_external_documentation import V1ExternalDocumentation # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ExternalDocumentation(unittest.TestCase): - """V1ExternalDocumentation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ExternalDocumentation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_external_documentation.V1ExternalDocumentation() # noqa: E501 - if include_optional : - return V1ExternalDocumentation( - description = '0', - url = '0' - ) - else : - return V1ExternalDocumentation( - ) - - def testV1ExternalDocumentation(self): - """Test V1ExternalDocumentation""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_fc_volume_source.py b/kubernetes/test/test_v1_fc_volume_source.py deleted file mode 100644 index e72ca87a89..0000000000 --- a/kubernetes/test/test_v1_fc_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_fc_volume_source import V1FCVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1FCVolumeSource(unittest.TestCase): - """V1FCVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1FCVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_fc_volume_source.V1FCVolumeSource() # noqa: E501 - if include_optional : - return V1FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ] - ) - else : - return V1FCVolumeSource( - ) - - def testV1FCVolumeSource(self): - """Test V1FCVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_flex_persistent_volume_source.py b/kubernetes/test/test_v1_flex_persistent_volume_source.py deleted file mode 100644 index f5c17f4f6d..0000000000 --- a/kubernetes/test/test_v1_flex_persistent_volume_source.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_flex_persistent_volume_source import V1FlexPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1FlexPersistentVolumeSource(unittest.TestCase): - """V1FlexPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1FlexPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_flex_persistent_volume_source.V1FlexPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ) - ) - else : - return V1FlexPersistentVolumeSource( - driver = '0', - ) - - def testV1FlexPersistentVolumeSource(self): - """Test V1FlexPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_flex_volume_source.py b/kubernetes/test/test_v1_flex_volume_source.py deleted file mode 100644 index 7fc6c83cf3..0000000000 --- a/kubernetes/test/test_v1_flex_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1FlexVolumeSource(unittest.TestCase): - """V1FlexVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1FlexVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_flex_volume_source.V1FlexVolumeSource() # noqa: E501 - if include_optional : - return V1FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ) - else : - return V1FlexVolumeSource( - driver = '0', - ) - - def testV1FlexVolumeSource(self): - """Test V1FlexVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_flocker_volume_source.py b/kubernetes/test/test_v1_flocker_volume_source.py deleted file mode 100644 index 0a6851433c..0000000000 --- a/kubernetes/test/test_v1_flocker_volume_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1FlockerVolumeSource(unittest.TestCase): - """V1FlockerVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1FlockerVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_flocker_volume_source.V1FlockerVolumeSource() # noqa: E501 - if include_optional : - return V1FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0' - ) - else : - return V1FlockerVolumeSource( - ) - - def testV1FlockerVolumeSource(self): - """Test V1FlockerVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py deleted file mode 100644 index f2abd36ffb..0000000000 --- a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GCEPersistentDiskVolumeSource(unittest.TestCase): - """V1GCEPersistentDiskVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GCEPersistentDiskVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_gce_persistent_disk_volume_source.V1GCEPersistentDiskVolumeSource() # noqa: E501 - if include_optional : - return V1GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True - ) - else : - return V1GCEPersistentDiskVolumeSource( - pd_name = '0', - ) - - def testV1GCEPersistentDiskVolumeSource(self): - """Test V1GCEPersistentDiskVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_git_repo_volume_source.py b/kubernetes/test/test_v1_git_repo_volume_source.py deleted file mode 100644 index 8bbc81fd56..0000000000 --- a/kubernetes/test/test_v1_git_repo_volume_source.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GitRepoVolumeSource(unittest.TestCase): - """V1GitRepoVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GitRepoVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_git_repo_volume_source.V1GitRepoVolumeSource() # noqa: E501 - if include_optional : - return V1GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0' - ) - else : - return V1GitRepoVolumeSource( - repository = '0', - ) - - def testV1GitRepoVolumeSource(self): - """Test V1GitRepoVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py b/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py deleted file mode 100644 index 9c26bc1f1a..0000000000 --- a/kubernetes/test/test_v1_glusterfs_persistent_volume_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GlusterfsPersistentVolumeSource(unittest.TestCase): - """V1GlusterfsPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GlusterfsPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_glusterfs_persistent_volume_source.V1GlusterfsPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True - ) - else : - return V1GlusterfsPersistentVolumeSource( - endpoints = '0', - path = '0', - ) - - def testV1GlusterfsPersistentVolumeSource(self): - """Test V1GlusterfsPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_glusterfs_volume_source.py b/kubernetes/test/test_v1_glusterfs_volume_source.py deleted file mode 100644 index 879144fd46..0000000000 --- a/kubernetes/test/test_v1_glusterfs_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GlusterfsVolumeSource(unittest.TestCase): - """V1GlusterfsVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GlusterfsVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_glusterfs_volume_source.V1GlusterfsVolumeSource() # noqa: E501 - if include_optional : - return V1GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True - ) - else : - return V1GlusterfsVolumeSource( - endpoints = '0', - path = '0', - ) - - def testV1GlusterfsVolumeSource(self): - """Test V1GlusterfsVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_group_version_for_discovery.py b/kubernetes/test/test_v1_group_version_for_discovery.py deleted file mode 100644 index eaa772fb81..0000000000 --- a/kubernetes/test/test_v1_group_version_for_discovery.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_group_version_for_discovery import V1GroupVersionForDiscovery # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1GroupVersionForDiscovery(unittest.TestCase): - """V1GroupVersionForDiscovery unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1GroupVersionForDiscovery - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_group_version_for_discovery.V1GroupVersionForDiscovery() # noqa: E501 - if include_optional : - return V1GroupVersionForDiscovery( - group_version = '0', - version = '0' - ) - else : - return V1GroupVersionForDiscovery( - group_version = '0', - version = '0', - ) - - def testV1GroupVersionForDiscovery(self): - """Test V1GroupVersionForDiscovery""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_handler.py b/kubernetes/test/test_v1_handler.py deleted file mode 100644 index a125c5b982..0000000000 --- a/kubernetes/test/test_v1_handler.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_handler import V1Handler # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Handler(unittest.TestCase): - """V1Handler unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Handler - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_handler.V1Handler() # noqa: E501 - if include_optional : - return V1Handler( - _exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ) - ) - else : - return V1Handler( - ) - - def testV1Handler(self): - """Test V1Handler""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py deleted file mode 100644 index e1923f0e37..0000000000 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HorizontalPodAutoscaler(unittest.TestCase): - """V1HorizontalPodAutoscaler unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HorizontalPodAutoscaler - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_horizontal_pod_autoscaler.V1HorizontalPodAutoscaler() # noqa: E501 - if include_optional : - return V1HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_cpu_utilization_percentage = 56, ), - status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( - current_cpu_utilization_percentage = 56, - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ) - ) - else : - return V1HorizontalPodAutoscaler( - ) - - def testV1HorizontalPodAutoscaler(self): - """Test V1HorizontalPodAutoscaler""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py deleted file mode 100644 index 566b2974e5..0000000000 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py +++ /dev/null @@ -1,174 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HorizontalPodAutoscalerList(unittest.TestCase): - """V1HorizontalPodAutoscalerList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HorizontalPodAutoscalerList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_list.V1HorizontalPodAutoscalerList() # noqa: E501 - if include_optional : - return V1HorizontalPodAutoscalerList( - api_version = '0', - items = [ - kubernetes.client.models.v1/horizontal_pod_autoscaler.v1.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_cpu_utilization_percentage = 56, ), - status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( - current_cpu_utilization_percentage = 56, - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1HorizontalPodAutoscalerList( - items = [ - kubernetes.client.models.v1/horizontal_pod_autoscaler.v1.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/horizontal_pod_autoscaler_spec.v1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_cpu_utilization_percentage = 56, ), - status = kubernetes.client.models.v1/horizontal_pod_autoscaler_status.v1.HorizontalPodAutoscalerStatus( - current_cpu_utilization_percentage = 56, - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - ) - - def testV1HorizontalPodAutoscalerList(self): - """Test V1HorizontalPodAutoscalerList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py deleted file mode 100644 index 3457b7898c..0000000000 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HorizontalPodAutoscalerSpec(unittest.TestCase): - """V1HorizontalPodAutoscalerSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HorizontalPodAutoscalerSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_spec.V1HorizontalPodAutoscalerSpec() # noqa: E501 - if include_optional : - return V1HorizontalPodAutoscalerSpec( - max_replicas = 56, - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_cpu_utilization_percentage = 56 - ) - else : - return V1HorizontalPodAutoscalerSpec( - max_replicas = 56, - scale_target_ref = kubernetes.client.models.v1/cross_version_object_reference.v1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - ) - - def testV1HorizontalPodAutoscalerSpec(self): - """Test V1HorizontalPodAutoscalerSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py deleted file mode 100644 index 52af3bebd9..0000000000 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HorizontalPodAutoscalerStatus(unittest.TestCase): - """V1HorizontalPodAutoscalerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HorizontalPodAutoscalerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_horizontal_pod_autoscaler_status.V1HorizontalPodAutoscalerStatus() # noqa: E501 - if include_optional : - return V1HorizontalPodAutoscalerStatus( - current_cpu_utilization_percentage = 56, - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56 - ) - else : - return V1HorizontalPodAutoscalerStatus( - current_replicas = 56, - desired_replicas = 56, - ) - - def testV1HorizontalPodAutoscalerStatus(self): - """Test V1HorizontalPodAutoscalerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_host_alias.py b/kubernetes/test/test_v1_host_alias.py deleted file mode 100644 index 24a177cf49..0000000000 --- a/kubernetes/test/test_v1_host_alias.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_host_alias import V1HostAlias # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HostAlias(unittest.TestCase): - """V1HostAlias unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HostAlias - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_host_alias.V1HostAlias() # noqa: E501 - if include_optional : - return V1HostAlias( - hostnames = [ - '0' - ], - ip = '0' - ) - else : - return V1HostAlias( - ) - - def testV1HostAlias(self): - """Test V1HostAlias""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_host_path_volume_source.py b/kubernetes/test/test_v1_host_path_volume_source.py deleted file mode 100644 index a7e39bf3a7..0000000000 --- a/kubernetes/test/test_v1_host_path_volume_source.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_host_path_volume_source import V1HostPathVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HostPathVolumeSource(unittest.TestCase): - """V1HostPathVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HostPathVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_host_path_volume_source.V1HostPathVolumeSource() # noqa: E501 - if include_optional : - return V1HostPathVolumeSource( - path = '0', - type = '0' - ) - else : - return V1HostPathVolumeSource( - path = '0', - ) - - def testV1HostPathVolumeSource(self): - """Test V1HostPathVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_http_get_action.py b/kubernetes/test/test_v1_http_get_action.py deleted file mode 100644 index 0e95b3a5e3..0000000000 --- a/kubernetes/test/test_v1_http_get_action.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_http_get_action import V1HTTPGetAction # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HTTPGetAction(unittest.TestCase): - """V1HTTPGetAction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HTTPGetAction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_http_get_action.V1HTTPGetAction() # noqa: E501 - if include_optional : - return V1HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0' - ) - else : - return V1HTTPGetAction( - port = kubernetes.client.models.port.port(), - ) - - def testV1HTTPGetAction(self): - """Test V1HTTPGetAction""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_http_header.py b/kubernetes/test/test_v1_http_header.py deleted file mode 100644 index 32c79de1e5..0000000000 --- a/kubernetes/test/test_v1_http_header.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_http_header import V1HTTPHeader # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1HTTPHeader(unittest.TestCase): - """V1HTTPHeader unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1HTTPHeader - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_http_header.V1HTTPHeader() # noqa: E501 - if include_optional : - return V1HTTPHeader( - name = '0', - value = '0' - ) - else : - return V1HTTPHeader( - name = '0', - value = '0', - ) - - def testV1HTTPHeader(self): - """Test V1HTTPHeader""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_ip_block.py b/kubernetes/test/test_v1_ip_block.py deleted file mode 100644 index 3acc6fbf87..0000000000 --- a/kubernetes/test/test_v1_ip_block.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_ip_block import V1IPBlock # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1IPBlock(unittest.TestCase): - """V1IPBlock unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1IPBlock - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_ip_block.V1IPBlock() # noqa: E501 - if include_optional : - return V1IPBlock( - cidr = '0', - _except = [ - '0' - ] - ) - else : - return V1IPBlock( - cidr = '0', - ) - - def testV1IPBlock(self): - """Test V1IPBlock""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py b/kubernetes/test/test_v1_iscsi_persistent_volume_source.py deleted file mode 100644 index 7f5eb9e951..0000000000 --- a/kubernetes/test/test_v1_iscsi_persistent_volume_source.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_iscsi_persistent_volume_source import V1ISCSIPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ISCSIPersistentVolumeSource(unittest.TestCase): - """V1ISCSIPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ISCSIPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_iscsi_persistent_volume_source.V1ISCSIPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - target_portal = '0' - ) - else : - return V1ISCSIPersistentVolumeSource( - iqn = '0', - lun = 56, - target_portal = '0', - ) - - def testV1ISCSIPersistentVolumeSource(self): - """Test V1ISCSIPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_iscsi_volume_source.py b/kubernetes/test/test_v1_iscsi_volume_source.py deleted file mode 100644 index f5a9a5b395..0000000000 --- a/kubernetes/test/test_v1_iscsi_volume_source.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_iscsi_volume_source import V1ISCSIVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ISCSIVolumeSource(unittest.TestCase): - """V1ISCSIVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ISCSIVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_iscsi_volume_source.V1ISCSIVolumeSource() # noqa: E501 - if include_optional : - return V1ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - target_portal = '0' - ) - else : - return V1ISCSIVolumeSource( - iqn = '0', - lun = 56, - target_portal = '0', - ) - - def testV1ISCSIVolumeSource(self): - """Test V1ISCSIVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job.py b/kubernetes/test/test_v1_job.py deleted file mode 100644 index a9eaf82366..0000000000 --- a/kubernetes/test/test_v1_job.py +++ /dev/null @@ -1,599 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job import V1Job # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Job(unittest.TestCase): - """V1Job unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Job - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job.V1Job() # noqa: E501 - if include_optional : - return V1Job( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ttl_seconds_after_finished = 56, ), - status = kubernetes.client.models.v1/job_status.v1.JobStatus( - active = 56, - completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - conditions = [ - kubernetes.client.models.v1/job_condition.v1.JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - failed = 56, - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - succeeded = 56, ) - ) - else : - return V1Job( - ) - - def testV1Job(self): - """Test V1Job""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job_condition.py b/kubernetes/test/test_v1_job_condition.py deleted file mode 100644 index 104bab1569..0000000000 --- a/kubernetes/test/test_v1_job_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job_condition import V1JobCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JobCondition(unittest.TestCase): - """V1JobCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JobCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job_condition.V1JobCondition() # noqa: E501 - if include_optional : - return V1JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1JobCondition( - status = '0', - type = '0', - ) - - def testV1JobCondition(self): - """Test V1JobCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job_list.py b/kubernetes/test/test_v1_job_list.py deleted file mode 100644 index 9d12ed7761..0000000000 --- a/kubernetes/test/test_v1_job_list.py +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job_list import V1JobList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JobList(unittest.TestCase): - """V1JobList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JobList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job_list.V1JobList() # noqa: E501 - if include_optional : - return V1JobList( - api_version = '0', - items = [ - kubernetes.client.models.v1/job.v1.Job( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), - status = kubernetes.client.models.v1/job_status.v1.JobStatus( - active = 56, - completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - conditions = [ - kubernetes.client.models.v1/job_condition.v1.JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - failed = 56, - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - succeeded = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1JobList( - items = [ - kubernetes.client.models.v1/job.v1.Job( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), - status = kubernetes.client.models.v1/job_status.v1.JobStatus( - active = 56, - completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - conditions = [ - kubernetes.client.models.v1/job_condition.v1.JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - failed = 56, - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - succeeded = 56, ), ) - ], - ) - - def testV1JobList(self): - """Test V1JobList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job_spec.py b/kubernetes/test/test_v1_job_spec.py deleted file mode 100644 index ddbf9d3213..0000000000 --- a/kubernetes/test/test_v1_job_spec.py +++ /dev/null @@ -1,1037 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job_spec import V1JobSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JobSpec(unittest.TestCase): - """V1JobSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JobSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job_spec.V1JobSpec() # noqa: E501 - if include_optional : - return V1JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ttl_seconds_after_finished = 56 - ) - else : - return V1JobSpec( - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1JobSpec(self): - """Test V1JobSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_job_status.py b/kubernetes/test/test_v1_job_status.py deleted file mode 100644 index 1a99771910..0000000000 --- a/kubernetes/test/test_v1_job_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_job_status import V1JobStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JobStatus(unittest.TestCase): - """V1JobStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JobStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_job_status.V1JobStatus() # noqa: E501 - if include_optional : - return V1JobStatus( - active = 56, - completion_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - conditions = [ - kubernetes.client.models.v1/job_condition.v1.JobCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - failed = 56, - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - succeeded = 56 - ) - else : - return V1JobStatus( - ) - - def testV1JobStatus(self): - """Test V1JobStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_json_schema_props.py b/kubernetes/test/test_v1_json_schema_props.py deleted file mode 100644 index 86f0c6ce27..0000000000 --- a/kubernetes/test/test_v1_json_schema_props.py +++ /dev/null @@ -1,5808 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_json_schema_props import V1JSONSchemaProps # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1JSONSchemaProps(unittest.TestCase): - """V1JSONSchemaProps unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1JSONSchemaProps - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_json_schema_props.V1JSONSchemaProps() # noqa: E501 - if include_optional : - return V1JSONSchemaProps( - ref = '0', - schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - _not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1/external_documentation.v1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1/json_schema_props.v1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True - ) - else : - return V1JSONSchemaProps( - ) - - def testV1JSONSchemaProps(self): - """Test V1JSONSchemaProps""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_key_to_path.py b/kubernetes/test/test_v1_key_to_path.py deleted file mode 100644 index 644ec24df1..0000000000 --- a/kubernetes/test/test_v1_key_to_path.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_key_to_path import V1KeyToPath # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1KeyToPath(unittest.TestCase): - """V1KeyToPath unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1KeyToPath - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_key_to_path.V1KeyToPath() # noqa: E501 - if include_optional : - return V1KeyToPath( - key = '0', - mode = 56, - path = '0' - ) - else : - return V1KeyToPath( - key = '0', - path = '0', - ) - - def testV1KeyToPath(self): - """Test V1KeyToPath""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_label_selector.py b/kubernetes/test/test_v1_label_selector.py deleted file mode 100644 index 556577a6a2..0000000000 --- a/kubernetes/test/test_v1_label_selector.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_label_selector import V1LabelSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LabelSelector(unittest.TestCase): - """V1LabelSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LabelSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_label_selector.V1LabelSelector() # noqa: E501 - if include_optional : - return V1LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - } - ) - else : - return V1LabelSelector( - ) - - def testV1LabelSelector(self): - """Test V1LabelSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_label_selector_requirement.py b/kubernetes/test/test_v1_label_selector_requirement.py deleted file mode 100644 index ffd30d0573..0000000000 --- a/kubernetes/test/test_v1_label_selector_requirement.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_label_selector_requirement import V1LabelSelectorRequirement # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LabelSelectorRequirement(unittest.TestCase): - """V1LabelSelectorRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LabelSelectorRequirement - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_label_selector_requirement.V1LabelSelectorRequirement() # noqa: E501 - if include_optional : - return V1LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ] - ) - else : - return V1LabelSelectorRequirement( - key = '0', - operator = '0', - ) - - def testV1LabelSelectorRequirement(self): - """Test V1LabelSelectorRequirement""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_lease.py b/kubernetes/test/test_v1_lease.py deleted file mode 100644 index 748f11ffe6..0000000000 --- a/kubernetes/test/test_v1_lease.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_lease import V1Lease # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Lease(unittest.TestCase): - """V1Lease unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Lease - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_lease.V1Lease() # noqa: E501 - if include_optional : - return V1Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1Lease( - ) - - def testV1Lease(self): - """Test V1Lease""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_lease_list.py b/kubernetes/test/test_v1_lease_list.py deleted file mode 100644 index 5115a833e1..0000000000 --- a/kubernetes/test/test_v1_lease_list.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_lease_list import V1LeaseList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LeaseList(unittest.TestCase): - """V1LeaseList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LeaseList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_lease_list.V1LeaseList() # noqa: E501 - if include_optional : - return V1LeaseList( - api_version = '0', - items = [ - kubernetes.client.models.v1/lease.v1.Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1LeaseList( - items = [ - kubernetes.client.models.v1/lease.v1.Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/lease_spec.v1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV1LeaseList(self): - """Test V1LeaseList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_lease_spec.py b/kubernetes/test/test_v1_lease_spec.py deleted file mode 100644 index f93c90f80a..0000000000 --- a/kubernetes/test/test_v1_lease_spec.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_lease_spec import V1LeaseSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LeaseSpec(unittest.TestCase): - """V1LeaseSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LeaseSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_lease_spec.V1LeaseSpec() # noqa: E501 - if include_optional : - return V1LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1LeaseSpec( - ) - - def testV1LeaseSpec(self): - """Test V1LeaseSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_lifecycle.py b/kubernetes/test/test_v1_lifecycle.py deleted file mode 100644 index 4d90c6abf3..0000000000 --- a/kubernetes/test/test_v1_lifecycle.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_lifecycle import V1Lifecycle # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Lifecycle(unittest.TestCase): - """V1Lifecycle unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Lifecycle - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_lifecycle.V1Lifecycle() # noqa: E501 - if include_optional : - return V1Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ) - ) - else : - return V1Lifecycle( - ) - - def testV1Lifecycle(self): - """Test V1Lifecycle""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_limit_range.py b/kubernetes/test/test_v1_limit_range.py deleted file mode 100644 index 1cae25e08f..0000000000 --- a/kubernetes/test/test_v1_limit_range.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_limit_range import V1LimitRange # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LimitRange(unittest.TestCase): - """V1LimitRange unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LimitRange - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_limit_range.V1LimitRange() # noqa: E501 - if include_optional : - return V1LimitRange( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ], ) - ) - else : - return V1LimitRange( - ) - - def testV1LimitRange(self): - """Test V1LimitRange""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_item.py b/kubernetes/test/test_v1_limit_range_item.py deleted file mode 100644 index 90f44b647a..0000000000 --- a/kubernetes/test/test_v1_limit_range_item.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_limit_range_item import V1LimitRangeItem # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LimitRangeItem(unittest.TestCase): - """V1LimitRangeItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LimitRangeItem - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_limit_range_item.V1LimitRangeItem() # noqa: E501 - if include_optional : - return V1LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0' - ) - else : - return V1LimitRangeItem( - ) - - def testV1LimitRangeItem(self): - """Test V1LimitRangeItem""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_list.py b/kubernetes/test/test_v1_limit_range_list.py deleted file mode 100644 index d4e0c8bd42..0000000000 --- a/kubernetes/test/test_v1_limit_range_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_limit_range_list import V1LimitRangeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LimitRangeList(unittest.TestCase): - """V1LimitRangeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LimitRangeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_limit_range_list.V1LimitRangeList() # noqa: E501 - if include_optional : - return V1LimitRangeList( - api_version = '0', - items = [ - kubernetes.client.models.v1/limit_range.v1.LimitRange( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1LimitRangeList( - items = [ - kubernetes.client.models.v1/limit_range.v1.LimitRange( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/limit_range_spec.v1.LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ], ), ) - ], - ) - - def testV1LimitRangeList(self): - """Test V1LimitRangeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_limit_range_spec.py b/kubernetes/test/test_v1_limit_range_spec.py deleted file mode 100644 index 9f8e1caf14..0000000000 --- a/kubernetes/test/test_v1_limit_range_spec.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_limit_range_spec import V1LimitRangeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LimitRangeSpec(unittest.TestCase): - """V1LimitRangeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LimitRangeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_limit_range_spec.V1LimitRangeSpec() # noqa: E501 - if include_optional : - return V1LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ] - ) - else : - return V1LimitRangeSpec( - limits = [ - kubernetes.client.models.v1/limit_range_item.v1.LimitRangeItem( - default = { - 'key' : '0' - }, - default_request = { - 'key' : '0' - }, - max = { - 'key' : '0' - }, - max_limit_request_ratio = { - 'key' : '0' - }, - min = { - 'key' : '0' - }, - type = '0', ) - ], - ) - - def testV1LimitRangeSpec(self): - """Test V1LimitRangeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_list_meta.py b/kubernetes/test/test_v1_list_meta.py deleted file mode 100644 index f98b7b2661..0000000000 --- a/kubernetes/test/test_v1_list_meta.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_list_meta import V1ListMeta # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ListMeta(unittest.TestCase): - """V1ListMeta unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ListMeta - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_list_meta.V1ListMeta() # noqa: E501 - if include_optional : - return V1ListMeta( - _continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0' - ) - else : - return V1ListMeta( - ) - - def testV1ListMeta(self): - """Test V1ListMeta""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_load_balancer_ingress.py b/kubernetes/test/test_v1_load_balancer_ingress.py deleted file mode 100644 index aa446767c2..0000000000 --- a/kubernetes/test/test_v1_load_balancer_ingress.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_load_balancer_ingress import V1LoadBalancerIngress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LoadBalancerIngress(unittest.TestCase): - """V1LoadBalancerIngress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LoadBalancerIngress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_load_balancer_ingress.V1LoadBalancerIngress() # noqa: E501 - if include_optional : - return V1LoadBalancerIngress( - hostname = '0', - ip = '0' - ) - else : - return V1LoadBalancerIngress( - ) - - def testV1LoadBalancerIngress(self): - """Test V1LoadBalancerIngress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_load_balancer_status.py b/kubernetes/test/test_v1_load_balancer_status.py deleted file mode 100644 index 53e1f330d9..0000000000 --- a/kubernetes/test/test_v1_load_balancer_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_load_balancer_status import V1LoadBalancerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LoadBalancerStatus(unittest.TestCase): - """V1LoadBalancerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LoadBalancerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_load_balancer_status.V1LoadBalancerStatus() # noqa: E501 - if include_optional : - return V1LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ] - ) - else : - return V1LoadBalancerStatus( - ) - - def testV1LoadBalancerStatus(self): - """Test V1LoadBalancerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_local_object_reference.py b/kubernetes/test/test_v1_local_object_reference.py deleted file mode 100644 index 1b88c47bcd..0000000000 --- a/kubernetes/test/test_v1_local_object_reference.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_local_object_reference import V1LocalObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LocalObjectReference(unittest.TestCase): - """V1LocalObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LocalObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_local_object_reference.V1LocalObjectReference() # noqa: E501 - if include_optional : - return V1LocalObjectReference( - name = '0' - ) - else : - return V1LocalObjectReference( - ) - - def testV1LocalObjectReference(self): - """Test V1LocalObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_local_subject_access_review.py b/kubernetes/test/test_v1_local_subject_access_review.py deleted file mode 100644 index e50bab82c8..0000000000 --- a/kubernetes/test/test_v1_local_subject_access_review.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_local_subject_access_review import V1LocalSubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LocalSubjectAccessReview(unittest.TestCase): - """V1LocalSubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LocalSubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_local_subject_access_review.V1LocalSubjectAccessReview() # noqa: E501 - if include_optional : - return V1LocalSubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1LocalSubjectAccessReview( - spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - ) - - def testV1LocalSubjectAccessReview(self): - """Test V1LocalSubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_local_volume_source.py b/kubernetes/test/test_v1_local_volume_source.py deleted file mode 100644 index e145f6fe57..0000000000 --- a/kubernetes/test/test_v1_local_volume_source.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_local_volume_source import V1LocalVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1LocalVolumeSource(unittest.TestCase): - """V1LocalVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1LocalVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_local_volume_source.V1LocalVolumeSource() # noqa: E501 - if include_optional : - return V1LocalVolumeSource( - fs_type = '0', - path = '0' - ) - else : - return V1LocalVolumeSource( - path = '0', - ) - - def testV1LocalVolumeSource(self): - """Test V1LocalVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_managed_fields_entry.py b/kubernetes/test/test_v1_managed_fields_entry.py deleted file mode 100644 index 5e236478f0..0000000000 --- a/kubernetes/test/test_v1_managed_fields_entry.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_managed_fields_entry import V1ManagedFieldsEntry # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ManagedFieldsEntry(unittest.TestCase): - """V1ManagedFieldsEntry unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ManagedFieldsEntry - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_managed_fields_entry.V1ManagedFieldsEntry() # noqa: E501 - if include_optional : - return V1ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1ManagedFieldsEntry( - ) - - def testV1ManagedFieldsEntry(self): - """Test V1ManagedFieldsEntry""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook.py b/kubernetes/test/test_v1_mutating_webhook.py deleted file mode 100644 index 45765e92c6..0000000000 --- a/kubernetes/test/test_v1_mutating_webhook.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_mutating_webhook import V1MutatingWebhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1MutatingWebhook(unittest.TestCase): - """V1MutatingWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1MutatingWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_mutating_webhook.V1MutatingWebhook() # noqa: E501 - if include_optional : - return V1MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56 - ) - else : - return V1MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - name = '0', - side_effects = '0', - ) - - def testV1MutatingWebhook(self): - """Test V1MutatingWebhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook_configuration.py b/kubernetes/test/test_v1_mutating_webhook_configuration.py deleted file mode 100644 index 663c71c212..0000000000 --- a/kubernetes/test/test_v1_mutating_webhook_configuration.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_mutating_webhook_configuration import V1MutatingWebhookConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1MutatingWebhookConfiguration(unittest.TestCase): - """V1MutatingWebhookConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1MutatingWebhookConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_mutating_webhook_configuration.V1MutatingWebhookConfiguration() # noqa: E501 - if include_optional : - return V1MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ] - ) - else : - return V1MutatingWebhookConfiguration( - ) - - def testV1MutatingWebhookConfiguration(self): - """Test V1MutatingWebhookConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_mutating_webhook_configuration_list.py b/kubernetes/test/test_v1_mutating_webhook_configuration_list.py deleted file mode 100644 index 87086ef709..0000000000 --- a/kubernetes/test/test_v1_mutating_webhook_configuration_list.py +++ /dev/null @@ -1,244 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_mutating_webhook_configuration_list import V1MutatingWebhookConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1MutatingWebhookConfigurationList(unittest.TestCase): - """V1MutatingWebhookConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1MutatingWebhookConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_mutating_webhook_configuration_list.V1MutatingWebhookConfigurationList() # noqa: E501 - if include_optional : - return V1MutatingWebhookConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1/mutating_webhook_configuration.v1.MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1MutatingWebhookConfigurationList( - items = [ - kubernetes.client.models.v1/mutating_webhook_configuration.v1.MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/mutating_webhook.v1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - ) - - def testV1MutatingWebhookConfigurationList(self): - """Test V1MutatingWebhookConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace.py b/kubernetes/test/test_v1_namespace.py deleted file mode 100644 index b38c06f551..0000000000 --- a/kubernetes/test/test_v1_namespace.py +++ /dev/null @@ -1,106 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace import V1Namespace # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Namespace(unittest.TestCase): - """V1Namespace unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Namespace - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace.V1Namespace() # noqa: E501 - if include_optional : - return V1Namespace( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec( - finalizers = [ - '0' - ], ), - status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( - conditions = [ - kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ) - ) - else : - return V1Namespace( - ) - - def testV1Namespace(self): - """Test V1Namespace""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace_condition.py b/kubernetes/test/test_v1_namespace_condition.py deleted file mode 100644 index b2ae5214f3..0000000000 --- a/kubernetes/test/test_v1_namespace_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace_condition import V1NamespaceCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NamespaceCondition(unittest.TestCase): - """V1NamespaceCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NamespaceCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace_condition.V1NamespaceCondition() # noqa: E501 - if include_optional : - return V1NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1NamespaceCondition( - status = '0', - type = '0', - ) - - def testV1NamespaceCondition(self): - """Test V1NamespaceCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace_list.py b/kubernetes/test/test_v1_namespace_list.py deleted file mode 100644 index 641819367b..0000000000 --- a/kubernetes/test/test_v1_namespace_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace_list import V1NamespaceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NamespaceList(unittest.TestCase): - """V1NamespaceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NamespaceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace_list.V1NamespaceList() # noqa: E501 - if include_optional : - return V1NamespaceList( - api_version = '0', - items = [ - kubernetes.client.models.v1/namespace.v1.Namespace( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec(), - status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( - conditions = [ - kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1NamespaceList( - items = [ - kubernetes.client.models.v1/namespace.v1.Namespace( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/namespace_spec.v1.NamespaceSpec(), - status = kubernetes.client.models.v1/namespace_status.v1.NamespaceStatus( - conditions = [ - kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], - ) - - def testV1NamespaceList(self): - """Test V1NamespaceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace_spec.py b/kubernetes/test/test_v1_namespace_spec.py deleted file mode 100644 index a5ba72f2d1..0000000000 --- a/kubernetes/test/test_v1_namespace_spec.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace_spec import V1NamespaceSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NamespaceSpec(unittest.TestCase): - """V1NamespaceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NamespaceSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace_spec.V1NamespaceSpec() # noqa: E501 - if include_optional : - return V1NamespaceSpec( - finalizers = [ - '0' - ] - ) - else : - return V1NamespaceSpec( - ) - - def testV1NamespaceSpec(self): - """Test V1NamespaceSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_namespace_status.py b/kubernetes/test/test_v1_namespace_status.py deleted file mode 100644 index 7bfc8b396c..0000000000 --- a/kubernetes/test/test_v1_namespace_status.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_namespace_status import V1NamespaceStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NamespaceStatus(unittest.TestCase): - """V1NamespaceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NamespaceStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_namespace_status.V1NamespaceStatus() # noqa: E501 - if include_optional : - return V1NamespaceStatus( - conditions = [ - kubernetes.client.models.v1/namespace_condition.v1.NamespaceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0' - ) - else : - return V1NamespaceStatus( - ) - - def testV1NamespaceStatus(self): - """Test V1NamespaceStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy.py b/kubernetes/test/test_v1_network_policy.py deleted file mode 100644 index 67d60d4d3b..0000000000 --- a/kubernetes/test/test_v1_network_policy.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy import V1NetworkPolicy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicy(unittest.TestCase): - """V1NetworkPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy.V1NetworkPolicy() # noqa: E501 - if include_optional : - return V1NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ) - ) - else : - return V1NetworkPolicy( - ) - - def testV1NetworkPolicy(self): - """Test V1NetworkPolicy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_egress_rule.py b/kubernetes/test/test_v1_network_policy_egress_rule.py deleted file mode 100644 index d56ea5ba5e..0000000000 --- a/kubernetes/test/test_v1_network_policy_egress_rule.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_egress_rule import V1NetworkPolicyEgressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyEgressRule(unittest.TestCase): - """V1NetworkPolicyEgressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyEgressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_egress_rule.V1NetworkPolicyEgressRule() # noqa: E501 - if include_optional : - return V1NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ] - ) - else : - return V1NetworkPolicyEgressRule( - ) - - def testV1NetworkPolicyEgressRule(self): - """Test V1NetworkPolicyEgressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_ingress_rule.py b/kubernetes/test/test_v1_network_policy_ingress_rule.py deleted file mode 100644 index 271ef00003..0000000000 --- a/kubernetes/test/test_v1_network_policy_ingress_rule.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_ingress_rule import V1NetworkPolicyIngressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyIngressRule(unittest.TestCase): - """V1NetworkPolicyIngressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyIngressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_ingress_rule.V1NetworkPolicyIngressRule() # noqa: E501 - if include_optional : - return V1NetworkPolicyIngressRule( - _from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ] - ) - else : - return V1NetworkPolicyIngressRule( - ) - - def testV1NetworkPolicyIngressRule(self): - """Test V1NetworkPolicyIngressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_list.py b/kubernetes/test/test_v1_network_policy_list.py deleted file mode 100644 index ccbf0794ef..0000000000 --- a/kubernetes/test/test_v1_network_policy_list.py +++ /dev/null @@ -1,226 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_list import V1NetworkPolicyList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyList(unittest.TestCase): - """V1NetworkPolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_list.V1NetworkPolicyList() # noqa: E501 - if include_optional : - return V1NetworkPolicyList( - api_version = '0', - items = [ - kubernetes.client.models.v1/network_policy.v1.NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1NetworkPolicyList( - items = [ - kubernetes.client.models.v1/network_policy.v1.NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/network_policy_spec.v1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ), ) - ], - ) - - def testV1NetworkPolicyList(self): - """Test V1NetworkPolicyList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_peer.py b/kubernetes/test/test_v1_network_policy_peer.py deleted file mode 100644 index c045553e80..0000000000 --- a/kubernetes/test/test_v1_network_policy_peer.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_peer import V1NetworkPolicyPeer # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyPeer(unittest.TestCase): - """V1NetworkPolicyPeer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyPeer - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_peer.V1NetworkPolicyPeer() # noqa: E501 - if include_optional : - return V1NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V1NetworkPolicyPeer( - ) - - def testV1NetworkPolicyPeer(self): - """Test V1NetworkPolicyPeer""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_port.py b/kubernetes/test/test_v1_network_policy_port.py deleted file mode 100644 index f9eab2ed8e..0000000000 --- a/kubernetes/test/test_v1_network_policy_port.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_port import V1NetworkPolicyPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicyPort(unittest.TestCase): - """V1NetworkPolicyPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicyPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_port.V1NetworkPolicyPort() # noqa: E501 - if include_optional : - return V1NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0' - ) - else : - return V1NetworkPolicyPort( - ) - - def testV1NetworkPolicyPort(self): - """Test V1NetworkPolicyPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_network_policy_spec.py b/kubernetes/test/test_v1_network_policy_spec.py deleted file mode 100644 index b8e3b6ce17..0000000000 --- a/kubernetes/test/test_v1_network_policy_spec.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_network_policy_spec import V1NetworkPolicySpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NetworkPolicySpec(unittest.TestCase): - """V1NetworkPolicySpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NetworkPolicySpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_network_policy_spec.V1NetworkPolicySpec() # noqa: E501 - if include_optional : - return V1NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1/network_policy_egress_rule.v1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1/network_policy_ingress_rule.v1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1/network_policy_peer.v1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1/ip_block.v1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], - ports = [ - kubernetes.client.models.v1/network_policy_port.v1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - policy_types = [ - '0' - ] - ) - else : - return V1NetworkPolicySpec( - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - ) - - def testV1NetworkPolicySpec(self): - """Test V1NetworkPolicySpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_nfs_volume_source.py b/kubernetes/test/test_v1_nfs_volume_source.py deleted file mode 100644 index ba0f98318b..0000000000 --- a/kubernetes/test/test_v1_nfs_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_nfs_volume_source import V1NFSVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NFSVolumeSource(unittest.TestCase): - """V1NFSVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NFSVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_nfs_volume_source.V1NFSVolumeSource() # noqa: E501 - if include_optional : - return V1NFSVolumeSource( - path = '0', - read_only = True, - server = '0' - ) - else : - return V1NFSVolumeSource( - path = '0', - server = '0', - ) - - def testV1NFSVolumeSource(self): - """Test V1NFSVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node.py b/kubernetes/test/test_v1_node.py deleted file mode 100644 index 3841a1f07d..0000000000 --- a/kubernetes/test/test_v1_node.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node import V1Node # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Node(unittest.TestCase): - """V1Node unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Node - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node.V1Node() # noqa: E501 - if include_optional : - return V1Node( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( - config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - external_id = '0', - pod_cidr = '0', - pod_cid_rs = [ - '0' - ], - provider_id = '0', - taints = [ - kubernetes.client.models.v1/taint.v1.Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0', ) - ], - unschedulable = True, ), - status = kubernetes.client.models.v1/node_status.v1.NodeStatus( - addresses = [ - kubernetes.client.models.v1/node_address.v1.NodeAddress( - address = '0', - type = '0', ) - ], - allocatable = { - 'key' : '0' - }, - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/node_condition.v1.NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), - daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ), ), - images = [ - kubernetes.client.models.v1/container_image.v1.ContainerImage( - names = [ - '0' - ], - size_bytes = 56, ) - ], - node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', ), - phase = '0', - volumes_attached = [ - kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( - device_path = '0', - name = '0', ) - ], - volumes_in_use = [ - '0' - ], ) - ) - else : - return V1Node( - ) - - def testV1Node(self): - """Test V1Node""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_address.py b/kubernetes/test/test_v1_node_address.py deleted file mode 100644 index a7430c398b..0000000000 --- a/kubernetes/test/test_v1_node_address.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_address import V1NodeAddress # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeAddress(unittest.TestCase): - """V1NodeAddress unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeAddress - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_address.V1NodeAddress() # noqa: E501 - if include_optional : - return V1NodeAddress( - address = '0', - type = '0' - ) - else : - return V1NodeAddress( - address = '0', - type = '0', - ) - - def testV1NodeAddress(self): - """Test V1NodeAddress""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_affinity.py b/kubernetes/test/test_v1_node_affinity.py deleted file mode 100644 index e6011585b3..0000000000 --- a/kubernetes/test/test_v1_node_affinity.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_affinity import V1NodeAffinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeAffinity(unittest.TestCase): - """V1NodeAffinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeAffinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_affinity.V1NodeAffinity() # noqa: E501 - if include_optional : - return V1NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ) - ) - else : - return V1NodeAffinity( - ) - - def testV1NodeAffinity(self): - """Test V1NodeAffinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_condition.py b/kubernetes/test/test_v1_node_condition.py deleted file mode 100644 index cde95f2a6e..0000000000 --- a/kubernetes/test/test_v1_node_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_condition import V1NodeCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeCondition(unittest.TestCase): - """V1NodeCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_condition.V1NodeCondition() # noqa: E501 - if include_optional : - return V1NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1NodeCondition( - status = '0', - type = '0', - ) - - def testV1NodeCondition(self): - """Test V1NodeCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_config_source.py b/kubernetes/test/test_v1_node_config_source.py deleted file mode 100644 index 6726e2a6d2..0000000000 --- a/kubernetes/test/test_v1_node_config_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_config_source import V1NodeConfigSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeConfigSource(unittest.TestCase): - """V1NodeConfigSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeConfigSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_config_source.V1NodeConfigSource() # noqa: E501 - if include_optional : - return V1NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ) - else : - return V1NodeConfigSource( - ) - - def testV1NodeConfigSource(self): - """Test V1NodeConfigSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_config_status.py b/kubernetes/test/test_v1_node_config_status.py deleted file mode 100644 index 1f28d4f2a8..0000000000 --- a/kubernetes/test/test_v1_node_config_status.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_config_status import V1NodeConfigStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeConfigStatus(unittest.TestCase): - """V1NodeConfigStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeConfigStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_config_status.V1NodeConfigStatus() # noqa: E501 - if include_optional : - return V1NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ) - ) - else : - return V1NodeConfigStatus( - ) - - def testV1NodeConfigStatus(self): - """Test V1NodeConfigStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_daemon_endpoints.py b/kubernetes/test/test_v1_node_daemon_endpoints.py deleted file mode 100644 index a88a8e447e..0000000000 --- a/kubernetes/test/test_v1_node_daemon_endpoints.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_daemon_endpoints import V1NodeDaemonEndpoints # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeDaemonEndpoints(unittest.TestCase): - """V1NodeDaemonEndpoints unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeDaemonEndpoints - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_daemon_endpoints.V1NodeDaemonEndpoints() # noqa: E501 - if include_optional : - return V1NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ) - ) - else : - return V1NodeDaemonEndpoints( - ) - - def testV1NodeDaemonEndpoints(self): - """Test V1NodeDaemonEndpoints""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_list.py b/kubernetes/test/test_v1_node_list.py deleted file mode 100644 index 532f929a19..0000000000 --- a/kubernetes/test/test_v1_node_list.py +++ /dev/null @@ -1,302 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_list import V1NodeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeList(unittest.TestCase): - """V1NodeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_list.V1NodeList() # noqa: E501 - if include_optional : - return V1NodeList( - api_version = '0', - items = [ - kubernetes.client.models.v1/node.v1.Node( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( - config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - external_id = '0', - pod_cidr = '0', - pod_cid_rs = [ - '0' - ], - provider_id = '0', - taints = [ - kubernetes.client.models.v1/taint.v1.Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0', ) - ], - unschedulable = True, ), - status = kubernetes.client.models.v1/node_status.v1.NodeStatus( - addresses = [ - kubernetes.client.models.v1/node_address.v1.NodeAddress( - address = '0', - type = '0', ) - ], - allocatable = { - 'key' : '0' - }, - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/node_condition.v1.NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), - daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ), ), - images = [ - kubernetes.client.models.v1/container_image.v1.ContainerImage( - names = [ - '0' - ], - size_bytes = 56, ) - ], - node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', ), - phase = '0', - volumes_attached = [ - kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( - device_path = '0', - name = '0', ) - ], - volumes_in_use = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1NodeList( - items = [ - kubernetes.client.models.v1/node.v1.Node( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/node_spec.v1.NodeSpec( - config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - external_id = '0', - pod_cidr = '0', - pod_cid_rs = [ - '0' - ], - provider_id = '0', - taints = [ - kubernetes.client.models.v1/taint.v1.Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0', ) - ], - unschedulable = True, ), - status = kubernetes.client.models.v1/node_status.v1.NodeStatus( - addresses = [ - kubernetes.client.models.v1/node_address.v1.NodeAddress( - address = '0', - type = '0', ) - ], - allocatable = { - 'key' : '0' - }, - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/node_condition.v1.NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), - daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ), ), - images = [ - kubernetes.client.models.v1/container_image.v1.ContainerImage( - names = [ - '0' - ], - size_bytes = 56, ) - ], - node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', ), - phase = '0', - volumes_attached = [ - kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( - device_path = '0', - name = '0', ) - ], - volumes_in_use = [ - '0' - ], ), ) - ], - ) - - def testV1NodeList(self): - """Test V1NodeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_selector.py b/kubernetes/test/test_v1_node_selector.py deleted file mode 100644 index 555129d0d8..0000000000 --- a/kubernetes/test/test_v1_node_selector.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_selector import V1NodeSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSelector(unittest.TestCase): - """V1NodeSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_selector.V1NodeSelector() # noqa: E501 - if include_optional : - return V1NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ] - ) - else : - return V1NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], - ) - - def testV1NodeSelector(self): - """Test V1NodeSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_selector_requirement.py b/kubernetes/test/test_v1_node_selector_requirement.py deleted file mode 100644 index 8b3171b937..0000000000 --- a/kubernetes/test/test_v1_node_selector_requirement.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_selector_requirement import V1NodeSelectorRequirement # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSelectorRequirement(unittest.TestCase): - """V1NodeSelectorRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSelectorRequirement - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_selector_requirement.V1NodeSelectorRequirement() # noqa: E501 - if include_optional : - return V1NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ] - ) - else : - return V1NodeSelectorRequirement( - key = '0', - operator = '0', - ) - - def testV1NodeSelectorRequirement(self): - """Test V1NodeSelectorRequirement""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_selector_term.py b/kubernetes/test/test_v1_node_selector_term.py deleted file mode 100644 index 5c8f1175e4..0000000000 --- a/kubernetes/test/test_v1_node_selector_term.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_selector_term import V1NodeSelectorTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSelectorTerm(unittest.TestCase): - """V1NodeSelectorTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSelectorTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_selector_term.V1NodeSelectorTerm() # noqa: E501 - if include_optional : - return V1NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ] - ) - else : - return V1NodeSelectorTerm( - ) - - def testV1NodeSelectorTerm(self): - """Test V1NodeSelectorTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_spec.py b/kubernetes/test/test_v1_node_spec.py deleted file mode 100644 index 2c6619b9e9..0000000000 --- a/kubernetes/test/test_v1_node_spec.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_spec import V1NodeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSpec(unittest.TestCase): - """V1NodeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_spec.V1NodeSpec() # noqa: E501 - if include_optional : - return V1NodeSpec( - config_source = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - external_id = '0', - pod_cidr = '0', - pod_cid_rs = [ - '0' - ], - provider_id = '0', - taints = [ - kubernetes.client.models.v1/taint.v1.Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0', ) - ], - unschedulable = True - ) - else : - return V1NodeSpec( - ) - - def testV1NodeSpec(self): - """Test V1NodeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_status.py b/kubernetes/test/test_v1_node_status.py deleted file mode 100644 index 1c9d376ca9..0000000000 --- a/kubernetes/test/test_v1_node_status.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_status import V1NodeStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeStatus(unittest.TestCase): - """V1NodeStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_status.V1NodeStatus() # noqa: E501 - if include_optional : - return V1NodeStatus( - addresses = [ - kubernetes.client.models.v1/node_address.v1.NodeAddress( - address = '0', - type = '0', ) - ], - allocatable = { - 'key' : '0' - }, - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/node_condition.v1.NodeCondition( - last_heartbeat_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - config = kubernetes.client.models.v1/node_config_status.v1.NodeConfigStatus( - active = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource( - config_map = kubernetes.client.models.v1/config_map_node_config_source.v1.ConfigMapNodeConfigSource( - kubelet_config_key = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), ), - assigned = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), - error = '0', - last_known_good = kubernetes.client.models.v1/node_config_source.v1.NodeConfigSource(), ), - daemon_endpoints = kubernetes.client.models.v1/node_daemon_endpoints.v1.NodeDaemonEndpoints( - kubelet_endpoint = kubernetes.client.models.v1/daemon_endpoint.v1.DaemonEndpoint( - port = 56, ), ), - images = [ - kubernetes.client.models.v1/container_image.v1.ContainerImage( - names = [ - '0' - ], - size_bytes = 56, ) - ], - node_info = kubernetes.client.models.v1/node_system_info.v1.NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', ), - phase = '0', - volumes_attached = [ - kubernetes.client.models.v1/attached_volume.v1.AttachedVolume( - device_path = '0', - name = '0', ) - ], - volumes_in_use = [ - '0' - ] - ) - else : - return V1NodeStatus( - ) - - def testV1NodeStatus(self): - """Test V1NodeStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_node_system_info.py b/kubernetes/test/test_v1_node_system_info.py deleted file mode 100644 index cf8ed26712..0000000000 --- a/kubernetes/test/test_v1_node_system_info.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_node_system_info import V1NodeSystemInfo # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NodeSystemInfo(unittest.TestCase): - """V1NodeSystemInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NodeSystemInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_node_system_info.V1NodeSystemInfo() # noqa: E501 - if include_optional : - return V1NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0' - ) - else : - return V1NodeSystemInfo( - architecture = '0', - boot_id = '0', - container_runtime_version = '0', - kernel_version = '0', - kube_proxy_version = '0', - kubelet_version = '0', - machine_id = '0', - operating_system = '0', - os_image = '0', - system_uuid = '0', - ) - - def testV1NodeSystemInfo(self): - """Test V1NodeSystemInfo""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_non_resource_attributes.py b/kubernetes/test/test_v1_non_resource_attributes.py deleted file mode 100644 index bbf2011ba4..0000000000 --- a/kubernetes/test/test_v1_non_resource_attributes.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_non_resource_attributes import V1NonResourceAttributes # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NonResourceAttributes(unittest.TestCase): - """V1NonResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NonResourceAttributes - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_non_resource_attributes.V1NonResourceAttributes() # noqa: E501 - if include_optional : - return V1NonResourceAttributes( - path = '0', - verb = '0' - ) - else : - return V1NonResourceAttributes( - ) - - def testV1NonResourceAttributes(self): - """Test V1NonResourceAttributes""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_non_resource_rule.py b/kubernetes/test/test_v1_non_resource_rule.py deleted file mode 100644 index 549dc5d2ec..0000000000 --- a/kubernetes/test/test_v1_non_resource_rule.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_non_resource_rule import V1NonResourceRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1NonResourceRule(unittest.TestCase): - """V1NonResourceRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1NonResourceRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_non_resource_rule.V1NonResourceRule() # noqa: E501 - if include_optional : - return V1NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1NonResourceRule( - verbs = [ - '0' - ], - ) - - def testV1NonResourceRule(self): - """Test V1NonResourceRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_object_field_selector.py b/kubernetes/test/test_v1_object_field_selector.py deleted file mode 100644 index b7711e72c8..0000000000 --- a/kubernetes/test/test_v1_object_field_selector.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_object_field_selector import V1ObjectFieldSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ObjectFieldSelector(unittest.TestCase): - """V1ObjectFieldSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ObjectFieldSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_object_field_selector.V1ObjectFieldSelector() # noqa: E501 - if include_optional : - return V1ObjectFieldSelector( - api_version = '0', - field_path = '0' - ) - else : - return V1ObjectFieldSelector( - field_path = '0', - ) - - def testV1ObjectFieldSelector(self): - """Test V1ObjectFieldSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_object_meta.py b/kubernetes/test/test_v1_object_meta.py deleted file mode 100644 index 61672d095a..0000000000 --- a/kubernetes/test/test_v1_object_meta.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_object_meta import V1ObjectMeta # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ObjectMeta(unittest.TestCase): - """V1ObjectMeta unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ObjectMeta - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_object_meta.V1ObjectMeta() # noqa: E501 - if include_optional : - return V1ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0' - ) - else : - return V1ObjectMeta( - ) - - def testV1ObjectMeta(self): - """Test V1ObjectMeta""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_object_reference.py b/kubernetes/test/test_v1_object_reference.py deleted file mode 100644 index 0bf0d0981c..0000000000 --- a/kubernetes/test/test_v1_object_reference.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_object_reference import V1ObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ObjectReference(unittest.TestCase): - """V1ObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_object_reference.V1ObjectReference() # noqa: E501 - if include_optional : - return V1ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0' - ) - else : - return V1ObjectReference( - ) - - def testV1ObjectReference(self): - """Test V1ObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_owner_reference.py b/kubernetes/test/test_v1_owner_reference.py deleted file mode 100644 index 4fe44c511a..0000000000 --- a/kubernetes/test/test_v1_owner_reference.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_owner_reference import V1OwnerReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1OwnerReference(unittest.TestCase): - """V1OwnerReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1OwnerReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_owner_reference.V1OwnerReference() # noqa: E501 - if include_optional : - return V1OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0' - ) - else : - return V1OwnerReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0', - ) - - def testV1OwnerReference(self): - """Test V1OwnerReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume.py b/kubernetes/test/test_v1_persistent_volume.py deleted file mode 100644 index 05139551f9..0000000000 --- a/kubernetes/test/test_v1_persistent_volume.py +++ /dev/null @@ -1,287 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume import V1PersistentVolume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolume(unittest.TestCase): - """V1PersistentVolume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume.V1PersistentVolume() # noqa: E501 - if include_optional : - return V1PersistentVolume( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( - message = '0', - phase = '0', - reason = '0', ) - ) - else : - return V1PersistentVolume( - ) - - def testV1PersistentVolume(self): - """Test V1PersistentVolume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim.py b/kubernetes/test/test_v1_persistent_volume_claim.py deleted file mode 100644 index af1b9feaaf..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim import V1PersistentVolumeClaim # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaim(unittest.TestCase): - """V1PersistentVolumeClaim unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaim - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim.V1PersistentVolumeClaim() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ) - ) - else : - return V1PersistentVolumeClaim( - ) - - def testV1PersistentVolumeClaim(self): - """Test V1PersistentVolumeClaim""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_condition.py b/kubernetes/test/test_v1_persistent_volume_claim_condition.py deleted file mode 100644 index e32d1b2b5d..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_condition import V1PersistentVolumeClaimCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimCondition(unittest.TestCase): - """V1PersistentVolumeClaimCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_condition.V1PersistentVolumeClaimCondition() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1PersistentVolumeClaimCondition( - status = '0', - type = '0', - ) - - def testV1PersistentVolumeClaimCondition(self): - """Test V1PersistentVolumeClaimCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_list.py b/kubernetes/test/test_v1_persistent_volume_claim_list.py deleted file mode 100644 index 6e772f4f6e..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_list.py +++ /dev/null @@ -1,234 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimList(unittest.TestCase): - """V1PersistentVolumeClaimList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_list.V1PersistentVolumeClaimList() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimList( - api_version = '0', - items = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PersistentVolumeClaimList( - items = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], - ) - - def testV1PersistentVolumeClaimList(self): - """Test V1PersistentVolumeClaimList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_spec.py b/kubernetes/test/test_v1_persistent_volume_claim_spec.py deleted file mode 100644 index 4a5fcf69e7..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_spec.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimSpec(unittest.TestCase): - """V1PersistentVolumeClaimSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_spec.V1PersistentVolumeClaimSpec() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0' - ) - else : - return V1PersistentVolumeClaimSpec( - ) - - def testV1PersistentVolumeClaimSpec(self): - """Test V1PersistentVolumeClaimSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_status.py b/kubernetes/test/test_v1_persistent_volume_claim_status.py deleted file mode 100644 index 610ebbea96..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimStatus(unittest.TestCase): - """V1PersistentVolumeClaimStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_status.V1PersistentVolumeClaimStatus() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0' - ) - else : - return V1PersistentVolumeClaimStatus( - ) - - def testV1PersistentVolumeClaimStatus(self): - """Test V1PersistentVolumeClaimStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py deleted file mode 100644 index 2be77a0b22..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeClaimVolumeSource(unittest.TestCase): - """V1PersistentVolumeClaimVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeClaimVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_claim_volume_source.V1PersistentVolumeClaimVolumeSource() # noqa: E501 - if include_optional : - return V1PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True - ) - else : - return V1PersistentVolumeClaimVolumeSource( - claim_name = '0', - ) - - def testV1PersistentVolumeClaimVolumeSource(self): - """Test V1PersistentVolumeClaimVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_list.py b/kubernetes/test/test_v1_persistent_volume_list.py deleted file mode 100644 index f581c95681..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_list.py +++ /dev/null @@ -1,536 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_list import V1PersistentVolumeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeList(unittest.TestCase): - """V1PersistentVolumeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_list.V1PersistentVolumeList() # noqa: E501 - if include_optional : - return V1PersistentVolumeList( - api_version = '0', - items = [ - kubernetes.client.models.v1/persistent_volume.v1.PersistentVolume( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( - message = '0', - phase = '0', - reason = '0', ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PersistentVolumeList( - items = [ - kubernetes.client.models.v1/persistent_volume.v1.PersistentVolume( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - status = kubernetes.client.models.v1/persistent_volume_status.v1.PersistentVolumeStatus( - message = '0', - phase = '0', - reason = '0', ), ) - ], - ) - - def testV1PersistentVolumeList(self): - """Test V1PersistentVolumeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_spec.py b/kubernetes/test/test_v1_persistent_volume_spec.py deleted file mode 100644 index 4a66728f94..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_spec.py +++ /dev/null @@ -1,261 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_spec import V1PersistentVolumeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeSpec(unittest.TestCase): - """V1PersistentVolumeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_spec.V1PersistentVolumeSpec() # noqa: E501 - if include_optional : - return V1PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ) - ) - else : - return V1PersistentVolumeSpec( - ) - - def testV1PersistentVolumeSpec(self): - """Test V1PersistentVolumeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_persistent_volume_status.py b/kubernetes/test/test_v1_persistent_volume_status.py deleted file mode 100644 index 7bf093a3a9..0000000000 --- a/kubernetes/test/test_v1_persistent_volume_status.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_persistent_volume_status import V1PersistentVolumeStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PersistentVolumeStatus(unittest.TestCase): - """V1PersistentVolumeStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PersistentVolumeStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_persistent_volume_status.V1PersistentVolumeStatus() # noqa: E501 - if include_optional : - return V1PersistentVolumeStatus( - message = '0', - phase = '0', - reason = '0' - ) - else : - return V1PersistentVolumeStatus( - ) - - def testV1PersistentVolumeStatus(self): - """Test V1PersistentVolumeStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py deleted file mode 100644 index 58f55f456e..0000000000 --- a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PhotonPersistentDiskVolumeSource(unittest.TestCase): - """V1PhotonPersistentDiskVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PhotonPersistentDiskVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_photon_persistent_disk_volume_source.V1PhotonPersistentDiskVolumeSource() # noqa: E501 - if include_optional : - return V1PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0' - ) - else : - return V1PhotonPersistentDiskVolumeSource( - pd_id = '0', - ) - - def testV1PhotonPersistentDiskVolumeSource(self): - """Test V1PhotonPersistentDiskVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod.py b/kubernetes/test/test_v1_pod.py deleted file mode 100644 index 7ca8fb4b7c..0000000000 --- a/kubernetes/test/test_v1_pod.py +++ /dev/null @@ -1,603 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod import V1Pod # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Pod(unittest.TestCase): - """V1Pod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Pod - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod.V1Pod() # noqa: E501 - if include_optional : - return V1Pod( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), - status = kubernetes.client.models.v1/pod_status.v1.PodStatus( - conditions = [ - kubernetes.client.models.v1/pod_condition.v1.PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - ephemeral_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - host_ip = '0', - init_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - message = '0', - nominated_node_name = '0', - phase = '0', - pod_ip = '0', - pod_i_ps = [ - kubernetes.client.models.v1/pod_ip.v1.PodIP( - ip = '0', ) - ], - qos_class = '0', - reason = '0', - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1Pod( - ) - - def testV1Pod(self): - """Test V1Pod""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_affinity.py b/kubernetes/test/test_v1_pod_affinity.py deleted file mode 100644 index c37020bbc7..0000000000 --- a/kubernetes/test/test_v1_pod_affinity.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_affinity import V1PodAffinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodAffinity(unittest.TestCase): - """V1PodAffinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodAffinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_affinity.V1PodAffinity() # noqa: E501 - if include_optional : - return V1PodAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ) - ] - ) - else : - return V1PodAffinity( - ) - - def testV1PodAffinity(self): - """Test V1PodAffinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_affinity_term.py b/kubernetes/test/test_v1_pod_affinity_term.py deleted file mode 100644 index 86141a9ab2..0000000000 --- a/kubernetes/test/test_v1_pod_affinity_term.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_affinity_term import V1PodAffinityTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodAffinityTerm(unittest.TestCase): - """V1PodAffinityTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodAffinityTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_affinity_term.V1PodAffinityTerm() # noqa: E501 - if include_optional : - return V1PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0' - ) - else : - return V1PodAffinityTerm( - topology_key = '0', - ) - - def testV1PodAffinityTerm(self): - """Test V1PodAffinityTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_anti_affinity.py b/kubernetes/test/test_v1_pod_anti_affinity.py deleted file mode 100644 index ca2f4d1b25..0000000000 --- a/kubernetes/test/test_v1_pod_anti_affinity.py +++ /dev/null @@ -1,91 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_anti_affinity import V1PodAntiAffinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodAntiAffinity(unittest.TestCase): - """V1PodAntiAffinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodAntiAffinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_anti_affinity.V1PodAntiAffinity() # noqa: E501 - if include_optional : - return V1PodAntiAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/weighted_pod_affinity_term.v1.WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ) - ] - ) - else : - return V1PodAntiAffinity( - ) - - def testV1PodAntiAffinity(self): - """Test V1PodAntiAffinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_condition.py b/kubernetes/test/test_v1_pod_condition.py deleted file mode 100644 index 88cd0074c2..0000000000 --- a/kubernetes/test/test_v1_pod_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_condition import V1PodCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodCondition(unittest.TestCase): - """V1PodCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_condition.V1PodCondition() # noqa: E501 - if include_optional : - return V1PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1PodCondition( - status = '0', - type = '0', - ) - - def testV1PodCondition(self): - """Test V1PodCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_dns_config.py b/kubernetes/test/test_v1_pod_dns_config.py deleted file mode 100644 index 51d4f9655d..0000000000 --- a/kubernetes/test/test_v1_pod_dns_config.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_dns_config import V1PodDNSConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodDNSConfig(unittest.TestCase): - """V1PodDNSConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodDNSConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_dns_config.V1PodDNSConfig() # noqa: E501 - if include_optional : - return V1PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ] - ) - else : - return V1PodDNSConfig( - ) - - def testV1PodDNSConfig(self): - """Test V1PodDNSConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_dns_config_option.py b/kubernetes/test/test_v1_pod_dns_config_option.py deleted file mode 100644 index 6aa749da90..0000000000 --- a/kubernetes/test/test_v1_pod_dns_config_option.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_dns_config_option import V1PodDNSConfigOption # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodDNSConfigOption(unittest.TestCase): - """V1PodDNSConfigOption unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodDNSConfigOption - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_dns_config_option.V1PodDNSConfigOption() # noqa: E501 - if include_optional : - return V1PodDNSConfigOption( - name = '0', - value = '0' - ) - else : - return V1PodDNSConfigOption( - ) - - def testV1PodDNSConfigOption(self): - """Test V1PodDNSConfigOption""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_ip.py b/kubernetes/test/test_v1_pod_ip.py deleted file mode 100644 index 9c5a67ffb7..0000000000 --- a/kubernetes/test/test_v1_pod_ip.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_ip import V1PodIP # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodIP(unittest.TestCase): - """V1PodIP unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodIP - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_ip.V1PodIP() # noqa: E501 - if include_optional : - return V1PodIP( - ip = '0' - ) - else : - return V1PodIP( - ) - - def testV1PodIP(self): - """Test V1PodIP""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_list.py b/kubernetes/test/test_v1_pod_list.py deleted file mode 100644 index 30e0ff4199..0000000000 --- a/kubernetes/test/test_v1_pod_list.py +++ /dev/null @@ -1,1168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_list import V1PodList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodList(unittest.TestCase): - """V1PodList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_list.V1PodList() # noqa: E501 - if include_optional : - return V1PodList( - api_version = '0', - items = [ - kubernetes.client.models.v1/pod.v1.Pod( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), - status = kubernetes.client.models.v1/pod_status.v1.PodStatus( - conditions = [ - kubernetes.client.models.v1/pod_condition.v1.PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - ephemeral_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - host_ip = '0', - init_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - message = '0', - nominated_node_name = '0', - phase = '0', - pod_ip = '0', - pod_i_ps = [ - kubernetes.client.models.v1/pod_ip.v1.PodIP( - ip = '0', ) - ], - qos_class = '0', - reason = '0', - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PodList( - items = [ - kubernetes.client.models.v1/pod.v1.Pod( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), - status = kubernetes.client.models.v1/pod_status.v1.PodStatus( - conditions = [ - kubernetes.client.models.v1/pod_condition.v1.PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - ephemeral_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - host_ip = '0', - init_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - name = '0', - ready = True, - restart_count = 56, - started = True, ) - ], - message = '0', - nominated_node_name = '0', - phase = '0', - pod_ip = '0', - pod_i_ps = [ - kubernetes.client.models.v1/pod_ip.v1.PodIP( - ip = '0', ) - ], - qos_class = '0', - reason = '0', - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV1PodList(self): - """Test V1PodList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_readiness_gate.py b/kubernetes/test/test_v1_pod_readiness_gate.py deleted file mode 100644 index 1ac4f05724..0000000000 --- a/kubernetes/test/test_v1_pod_readiness_gate.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_readiness_gate import V1PodReadinessGate # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodReadinessGate(unittest.TestCase): - """V1PodReadinessGate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodReadinessGate - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_readiness_gate.V1PodReadinessGate() # noqa: E501 - if include_optional : - return V1PodReadinessGate( - condition_type = '0' - ) - else : - return V1PodReadinessGate( - condition_type = '0', - ) - - def testV1PodReadinessGate(self): - """Test V1PodReadinessGate""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_security_context.py b/kubernetes/test/test_v1_pod_security_context.py deleted file mode 100644 index 49d2428286..0000000000 --- a/kubernetes/test/test_v1_pod_security_context.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_security_context import V1PodSecurityContext # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodSecurityContext(unittest.TestCase): - """V1PodSecurityContext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodSecurityContext - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_security_context.V1PodSecurityContext() # noqa: E501 - if include_optional : - return V1PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ) - ) - else : - return V1PodSecurityContext( - ) - - def testV1PodSecurityContext(self): - """Test V1PodSecurityContext""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_spec.py b/kubernetes/test/test_v1_pod_spec.py deleted file mode 100644 index b9c458a9b6..0000000000 --- a/kubernetes/test/test_v1_pod_spec.py +++ /dev/null @@ -1,903 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_spec import V1PodSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodSpec(unittest.TestCase): - """V1PodSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_spec.V1PodSpec() # noqa: E501 - if include_optional : - return V1PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ] - ) - else : - return V1PodSpec( - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - ) - - def testV1PodSpec(self): - """Test V1PodSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_status.py b/kubernetes/test/test_v1_pod_status.py deleted file mode 100644 index 2e58d7d2ea..0000000000 --- a/kubernetes/test/test_v1_pod_status.py +++ /dev/null @@ -1,147 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_status import V1PodStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodStatus(unittest.TestCase): - """V1PodStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_status.V1PodStatus() # noqa: E501 - if include_optional : - return V1PodStatus( - conditions = [ - kubernetes.client.models.v1/pod_condition.v1.PodCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - ephemeral_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - host_ip = '0', - init_container_statuses = [ - kubernetes.client.models.v1/container_status.v1.ContainerStatus( - container_id = '0', - image = '0', - image_id = '0', - last_state = kubernetes.client.models.v1/container_state.v1.ContainerState( - running = kubernetes.client.models.v1/container_state_running.v1.ContainerStateRunning( - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - terminated = kubernetes.client.models.v1/container_state_terminated.v1.ContainerStateTerminated( - container_id = '0', - exit_code = 56, - finished_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - signal = 56, - started_at = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - waiting = kubernetes.client.models.v1/container_state_waiting.v1.ContainerStateWaiting( - message = '0', - reason = '0', ), ), - name = '0', - ready = True, - restart_count = 56, - started = True, - state = kubernetes.client.models.v1/container_state.v1.ContainerState(), ) - ], - message = '0', - nominated_node_name = '0', - phase = '0', - pod_ip = '0', - pod_i_ps = [ - kubernetes.client.models.v1/pod_ip.v1.PodIP( - ip = '0', ) - ], - qos_class = '0', - reason = '0', - start_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1PodStatus( - ) - - def testV1PodStatus(self): - """Test V1PodStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_template.py b/kubernetes/test/test_v1_pod_template.py deleted file mode 100644 index a84c00ab47..0000000000 --- a/kubernetes/test/test_v1_pod_template.py +++ /dev/null @@ -1,576 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_template import V1PodTemplate # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodTemplate(unittest.TestCase): - """V1PodTemplate unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodTemplate - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_template.V1PodTemplate() # noqa: E501 - if include_optional : - return V1PodTemplate( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1PodTemplate( - ) - - def testV1PodTemplate(self): - """Test V1PodTemplate""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_template_list.py b/kubernetes/test/test_v1_pod_template_list.py deleted file mode 100644 index 359a4e25e6..0000000000 --- a/kubernetes/test/test_v1_pod_template_list.py +++ /dev/null @@ -1,1036 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_template_list import V1PodTemplateList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodTemplateList(unittest.TestCase): - """V1PodTemplateList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodTemplateList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_template_list.V1PodTemplateList() # noqa: E501 - if include_optional : - return V1PodTemplateList( - api_version = '0', - items = [ - kubernetes.client.models.v1/pod_template.v1.PodTemplate( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PodTemplateList( - items = [ - kubernetes.client.models.v1/pod_template.v1.PodTemplate( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ) - ], - ) - - def testV1PodTemplateList(self): - """Test V1PodTemplateList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_pod_template_spec.py b/kubernetes/test/test_v1_pod_template_spec.py deleted file mode 100644 index b4c8b15225..0000000000 --- a/kubernetes/test/test_v1_pod_template_spec.py +++ /dev/null @@ -1,534 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_pod_template_spec import V1PodTemplateSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PodTemplateSpec(unittest.TestCase): - """V1PodTemplateSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PodTemplateSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_pod_template_spec.V1PodTemplateSpec() # noqa: E501 - if include_optional : - return V1PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ) - ) - else : - return V1PodTemplateSpec( - ) - - def testV1PodTemplateSpec(self): - """Test V1PodTemplateSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_policy_rule.py b/kubernetes/test/test_v1_policy_rule.py deleted file mode 100644 index 58cff3366e..0000000000 --- a/kubernetes/test/test_v1_policy_rule.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_policy_rule import V1PolicyRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PolicyRule(unittest.TestCase): - """V1PolicyRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PolicyRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_policy_rule.V1PolicyRule() # noqa: E501 - if include_optional : - return V1PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1PolicyRule( - verbs = [ - '0' - ], - ) - - def testV1PolicyRule(self): - """Test V1PolicyRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_portworx_volume_source.py b/kubernetes/test/test_v1_portworx_volume_source.py deleted file mode 100644 index 40e6bb3c4c..0000000000 --- a/kubernetes/test/test_v1_portworx_volume_source.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_portworx_volume_source import V1PortworxVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PortworxVolumeSource(unittest.TestCase): - """V1PortworxVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PortworxVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_portworx_volume_source.V1PortworxVolumeSource() # noqa: E501 - if include_optional : - return V1PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0' - ) - else : - return V1PortworxVolumeSource( - volume_id = '0', - ) - - def testV1PortworxVolumeSource(self): - """Test V1PortworxVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_preconditions.py b/kubernetes/test/test_v1_preconditions.py deleted file mode 100644 index 1bf78c9544..0000000000 --- a/kubernetes/test/test_v1_preconditions.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_preconditions import V1Preconditions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Preconditions(unittest.TestCase): - """V1Preconditions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Preconditions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_preconditions.V1Preconditions() # noqa: E501 - if include_optional : - return V1Preconditions( - resource_version = '0', - uid = '0' - ) - else : - return V1Preconditions( - ) - - def testV1Preconditions(self): - """Test V1Preconditions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_preferred_scheduling_term.py b/kubernetes/test/test_v1_preferred_scheduling_term.py deleted file mode 100644 index 776b441990..0000000000 --- a/kubernetes/test/test_v1_preferred_scheduling_term.py +++ /dev/null @@ -1,81 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_preferred_scheduling_term import V1PreferredSchedulingTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PreferredSchedulingTerm(unittest.TestCase): - """V1PreferredSchedulingTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PreferredSchedulingTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_preferred_scheduling_term.V1PreferredSchedulingTerm() # noqa: E501 - if include_optional : - return V1PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56 - ) - else : - return V1PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, - ) - - def testV1PreferredSchedulingTerm(self): - """Test V1PreferredSchedulingTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_priority_class.py b/kubernetes/test/test_v1_priority_class.py deleted file mode 100644 index 6672b6040e..0000000000 --- a/kubernetes/test/test_v1_priority_class.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_priority_class import V1PriorityClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PriorityClass(unittest.TestCase): - """V1PriorityClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PriorityClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_priority_class.V1PriorityClass() # noqa: E501 - if include_optional : - return V1PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56 - ) - else : - return V1PriorityClass( - value = 56, - ) - - def testV1PriorityClass(self): - """Test V1PriorityClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_priority_class_list.py b/kubernetes/test/test_v1_priority_class_list.py deleted file mode 100644 index ee73fbabb0..0000000000 --- a/kubernetes/test/test_v1_priority_class_list.py +++ /dev/null @@ -1,154 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_priority_class_list import V1PriorityClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1PriorityClassList(unittest.TestCase): - """V1PriorityClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1PriorityClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_priority_class_list.V1PriorityClassList() # noqa: E501 - if include_optional : - return V1PriorityClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1/priority_class.v1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1PriorityClassList( - items = [ - kubernetes.client.models.v1/priority_class.v1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - ) - - def testV1PriorityClassList(self): - """Test V1PriorityClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_probe.py b/kubernetes/test/test_v1_probe.py deleted file mode 100644 index d30cff9879..0000000000 --- a/kubernetes/test/test_v1_probe.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_probe import V1Probe # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Probe(unittest.TestCase): - """V1Probe unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Probe - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_probe.V1Probe() # noqa: E501 - if include_optional : - return V1Probe( - _exec = kubernetes.client.models.v1/exec_action.v1.ExecAction( - command = [ - '0' - ], ), - failure_threshold = 56, - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), - timeout_seconds = 56 - ) - else : - return V1Probe( - ) - - def testV1Probe(self): - """Test V1Probe""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_projected_volume_source.py b/kubernetes/test/test_v1_projected_volume_source.py deleted file mode 100644 index 0f18eb8062..0000000000 --- a/kubernetes/test/test_v1_projected_volume_source.py +++ /dev/null @@ -1,92 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_projected_volume_source import V1ProjectedVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ProjectedVolumeSource(unittest.TestCase): - """V1ProjectedVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ProjectedVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_projected_volume_source.V1ProjectedVolumeSource() # noqa: E501 - if include_optional : - return V1ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ] - ) - else : - return V1ProjectedVolumeSource( - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], - ) - - def testV1ProjectedVolumeSource(self): - """Test V1ProjectedVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_quobyte_volume_source.py b/kubernetes/test/test_v1_quobyte_volume_source.py deleted file mode 100644 index 3be82d8196..0000000000 --- a/kubernetes/test/test_v1_quobyte_volume_source.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_quobyte_volume_source import V1QuobyteVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1QuobyteVolumeSource(unittest.TestCase): - """V1QuobyteVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1QuobyteVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_quobyte_volume_source.V1QuobyteVolumeSource() # noqa: E501 - if include_optional : - return V1QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0' - ) - else : - return V1QuobyteVolumeSource( - registry = '0', - volume = '0', - ) - - def testV1QuobyteVolumeSource(self): - """Test V1QuobyteVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rbd_persistent_volume_source.py b/kubernetes/test/test_v1_rbd_persistent_volume_source.py deleted file mode 100644 index ff7f4d085f..0000000000 --- a/kubernetes/test/test_v1_rbd_persistent_volume_source.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rbd_persistent_volume_source import V1RBDPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RBDPersistentVolumeSource(unittest.TestCase): - """V1RBDPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RBDPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rbd_persistent_volume_source.V1RBDPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0' - ) - else : - return V1RBDPersistentVolumeSource( - image = '0', - monitors = [ - '0' - ], - ) - - def testV1RBDPersistentVolumeSource(self): - """Test V1RBDPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rbd_volume_source.py b/kubernetes/test/test_v1_rbd_volume_source.py deleted file mode 100644 index 6450b670c0..0000000000 --- a/kubernetes/test/test_v1_rbd_volume_source.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rbd_volume_source import V1RBDVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RBDVolumeSource(unittest.TestCase): - """V1RBDVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RBDVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rbd_volume_source.V1RBDVolumeSource() # noqa: E501 - if include_optional : - return V1RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0' - ) - else : - return V1RBDVolumeSource( - image = '0', - monitors = [ - '0' - ], - ) - - def testV1RBDVolumeSource(self): - """Test V1RBDVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set.py b/kubernetes/test/test_v1_replica_set.py deleted file mode 100644 index 83704ae449..0000000000 --- a/kubernetes/test/test_v1_replica_set.py +++ /dev/null @@ -1,161 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set import V1ReplicaSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSet(unittest.TestCase): - """V1ReplicaSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set.V1ReplicaSet() # noqa: E501 - if include_optional : - return V1ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), ), - status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ) - ) - else : - return V1ReplicaSet( - ) - - def testV1ReplicaSet(self): - """Test V1ReplicaSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_condition.py b/kubernetes/test/test_v1_replica_set_condition.py deleted file mode 100644 index 2a65de3723..0000000000 --- a/kubernetes/test/test_v1_replica_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set_condition import V1ReplicaSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSetCondition(unittest.TestCase): - """V1ReplicaSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set_condition.V1ReplicaSetCondition() # noqa: E501 - if include_optional : - return V1ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1ReplicaSetCondition( - status = '0', - type = '0', - ) - - def testV1ReplicaSetCondition(self): - """Test V1ReplicaSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_list.py b/kubernetes/test/test_v1_replica_set_list.py deleted file mode 100644 index 52637bd130..0000000000 --- a/kubernetes/test/test_v1_replica_set_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set_list import V1ReplicaSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSetList(unittest.TestCase): - """V1ReplicaSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set_list.V1ReplicaSetList() # noqa: E501 - if include_optional : - return V1ReplicaSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1/replica_set.v1.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ReplicaSetList( - items = [ - kubernetes.client.models.v1/replica_set.v1.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replica_set_spec.v1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/replica_set_status.v1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - ) - - def testV1ReplicaSetList(self): - """Test V1ReplicaSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_spec.py b/kubernetes/test/test_v1_replica_set_spec.py deleted file mode 100644 index b74906f9a3..0000000000 --- a/kubernetes/test/test_v1_replica_set_spec.py +++ /dev/null @@ -1,561 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set_spec import V1ReplicaSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSetSpec(unittest.TestCase): - """V1ReplicaSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set_spec.V1ReplicaSetSpec() # noqa: E501 - if include_optional : - return V1ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1ReplicaSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - ) - - def testV1ReplicaSetSpec(self): - """Test V1ReplicaSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replica_set_status.py b/kubernetes/test/test_v1_replica_set_status.py deleted file mode 100644 index 51cf09894f..0000000000 --- a/kubernetes/test/test_v1_replica_set_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replica_set_status import V1ReplicaSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicaSetStatus(unittest.TestCase): - """V1ReplicaSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicaSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replica_set_status.V1ReplicaSetStatus() # noqa: E501 - if include_optional : - return V1ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replica_set_condition.v1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56 - ) - else : - return V1ReplicaSetStatus( - replicas = 56, - ) - - def testV1ReplicaSetStatus(self): - """Test V1ReplicaSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller.py b/kubernetes/test/test_v1_replication_controller.py deleted file mode 100644 index 784b001c15..0000000000 --- a/kubernetes/test/test_v1_replication_controller.py +++ /dev/null @@ -1,152 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller import V1ReplicationController # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationController(unittest.TestCase): - """V1ReplicationController unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationController - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller.V1ReplicationController() # noqa: E501 - if include_optional : - return V1ReplicationController( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( - min_ready_seconds = 56, - replicas = 56, - selector = { - 'key' : '0' - }, - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), ), - status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ) - ) - else : - return V1ReplicationController( - ) - - def testV1ReplicationController(self): - """Test V1ReplicationController""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_condition.py b/kubernetes/test/test_v1_replication_controller_condition.py deleted file mode 100644 index 6902e67d87..0000000000 --- a/kubernetes/test/test_v1_replication_controller_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller_condition import V1ReplicationControllerCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationControllerCondition(unittest.TestCase): - """V1ReplicationControllerCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationControllerCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller_condition.V1ReplicationControllerCondition() # noqa: E501 - if include_optional : - return V1ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1ReplicationControllerCondition( - status = '0', - type = '0', - ) - - def testV1ReplicationControllerCondition(self): - """Test V1ReplicationControllerCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_list.py b/kubernetes/test/test_v1_replication_controller_list.py deleted file mode 100644 index 10cfa25f06..0000000000 --- a/kubernetes/test/test_v1_replication_controller_list.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller_list import V1ReplicationControllerList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationControllerList(unittest.TestCase): - """V1ReplicationControllerList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationControllerList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller_list.V1ReplicationControllerList() # noqa: E501 - if include_optional : - return V1ReplicationControllerList( - api_version = '0', - items = [ - kubernetes.client.models.v1/replication_controller.v1.ReplicationController( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( - min_ready_seconds = 56, - replicas = 56, - selector = { - 'key' : '0' - }, - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ReplicationControllerList( - items = [ - kubernetes.client.models.v1/replication_controller.v1.ReplicationController( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/replication_controller_spec.v1.ReplicationControllerSpec( - min_ready_seconds = 56, - replicas = 56, - selector = { - 'key' : '0' - }, - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1/replication_controller_status.v1.ReplicationControllerStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - ) - - def testV1ReplicationControllerList(self): - """Test V1ReplicationControllerList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_spec.py b/kubernetes/test/test_v1_replication_controller_spec.py deleted file mode 100644 index 6e9cdb3ad7..0000000000 --- a/kubernetes/test/test_v1_replication_controller_spec.py +++ /dev/null @@ -1,540 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller_spec import V1ReplicationControllerSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationControllerSpec(unittest.TestCase): - """V1ReplicationControllerSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationControllerSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller_spec.V1ReplicationControllerSpec() # noqa: E501 - if include_optional : - return V1ReplicationControllerSpec( - min_ready_seconds = 56, - replicas = 56, - selector = { - 'key' : '0' - }, - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1ReplicationControllerSpec( - ) - - def testV1ReplicationControllerSpec(self): - """Test V1ReplicationControllerSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_replication_controller_status.py b/kubernetes/test/test_v1_replication_controller_status.py deleted file mode 100644 index 028ed74534..0000000000 --- a/kubernetes/test/test_v1_replication_controller_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_replication_controller_status import V1ReplicationControllerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ReplicationControllerStatus(unittest.TestCase): - """V1ReplicationControllerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ReplicationControllerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_replication_controller_status.V1ReplicationControllerStatus() # noqa: E501 - if include_optional : - return V1ReplicationControllerStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1/replication_controller_condition.v1.ReplicationControllerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56 - ) - else : - return V1ReplicationControllerStatus( - replicas = 56, - ) - - def testV1ReplicationControllerStatus(self): - """Test V1ReplicationControllerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_attributes.py b/kubernetes/test/test_v1_resource_attributes.py deleted file mode 100644 index 684bed873b..0000000000 --- a/kubernetes/test/test_v1_resource_attributes.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_attributes import V1ResourceAttributes # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceAttributes(unittest.TestCase): - """V1ResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceAttributes - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_attributes.V1ResourceAttributes() # noqa: E501 - if include_optional : - return V1ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0' - ) - else : - return V1ResourceAttributes( - ) - - def testV1ResourceAttributes(self): - """Test V1ResourceAttributes""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_field_selector.py b/kubernetes/test/test_v1_resource_field_selector.py deleted file mode 100644 index 816cfd78b1..0000000000 --- a/kubernetes/test/test_v1_resource_field_selector.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_field_selector import V1ResourceFieldSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceFieldSelector(unittest.TestCase): - """V1ResourceFieldSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceFieldSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_field_selector.V1ResourceFieldSelector() # noqa: E501 - if include_optional : - return V1ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0' - ) - else : - return V1ResourceFieldSelector( - resource = '0', - ) - - def testV1ResourceFieldSelector(self): - """Test V1ResourceFieldSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota.py b/kubernetes/test/test_v1_resource_quota.py deleted file mode 100644 index 8f59e6d8b5..0000000000 --- a/kubernetes/test/test_v1_resource_quota.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_quota import V1ResourceQuota # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceQuota(unittest.TestCase): - """V1ResourceQuota unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceQuota - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_quota.V1ResourceQuota() # noqa: E501 - if include_optional : - return V1ResourceQuota( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( - hard = { - 'key' : '0' - }, - scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ], ), - scopes = [ - '0' - ], ), - status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( - hard = { - 'key' : '0' - }, - used = { - 'key' : '0' - }, ) - ) - else : - return V1ResourceQuota( - ) - - def testV1ResourceQuota(self): - """Test V1ResourceQuota""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_list.py b/kubernetes/test/test_v1_resource_quota_list.py deleted file mode 100644 index cf2015be25..0000000000 --- a/kubernetes/test/test_v1_resource_quota_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_quota_list import V1ResourceQuotaList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceQuotaList(unittest.TestCase): - """V1ResourceQuotaList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceQuotaList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_quota_list.V1ResourceQuotaList() # noqa: E501 - if include_optional : - return V1ResourceQuotaList( - api_version = '0', - items = [ - kubernetes.client.models.v1/resource_quota.v1.ResourceQuota( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( - hard = { - 'key' : '0' - }, - scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ], ), - scopes = [ - '0' - ], ), - status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( - used = { - 'key' : '0' - }, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ResourceQuotaList( - items = [ - kubernetes.client.models.v1/resource_quota.v1.ResourceQuota( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/resource_quota_spec.v1.ResourceQuotaSpec( - hard = { - 'key' : '0' - }, - scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ], ), - scopes = [ - '0' - ], ), - status = kubernetes.client.models.v1/resource_quota_status.v1.ResourceQuotaStatus( - used = { - 'key' : '0' - }, ), ) - ], - ) - - def testV1ResourceQuotaList(self): - """Test V1ResourceQuotaList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_spec.py b/kubernetes/test/test_v1_resource_quota_spec.py deleted file mode 100644 index 2a0b1ab008..0000000000 --- a/kubernetes/test/test_v1_resource_quota_spec.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_quota_spec import V1ResourceQuotaSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceQuotaSpec(unittest.TestCase): - """V1ResourceQuotaSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceQuotaSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_quota_spec.V1ResourceQuotaSpec() # noqa: E501 - if include_optional : - return V1ResourceQuotaSpec( - hard = { - 'key' : '0' - }, - scope_selector = kubernetes.client.models.v1/scope_selector.v1.ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ], ), - scopes = [ - '0' - ] - ) - else : - return V1ResourceQuotaSpec( - ) - - def testV1ResourceQuotaSpec(self): - """Test V1ResourceQuotaSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_quota_status.py b/kubernetes/test/test_v1_resource_quota_status.py deleted file mode 100644 index afce599880..0000000000 --- a/kubernetes/test/test_v1_resource_quota_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_quota_status import V1ResourceQuotaStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceQuotaStatus(unittest.TestCase): - """V1ResourceQuotaStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceQuotaStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_quota_status.V1ResourceQuotaStatus() # noqa: E501 - if include_optional : - return V1ResourceQuotaStatus( - hard = { - 'key' : '0' - }, - used = { - 'key' : '0' - } - ) - else : - return V1ResourceQuotaStatus( - ) - - def testV1ResourceQuotaStatus(self): - """Test V1ResourceQuotaStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_requirements.py b/kubernetes/test/test_v1_resource_requirements.py deleted file mode 100644 index dd1c912af2..0000000000 --- a/kubernetes/test/test_v1_resource_requirements.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_requirements import V1ResourceRequirements # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceRequirements(unittest.TestCase): - """V1ResourceRequirements unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceRequirements - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_requirements.V1ResourceRequirements() # noqa: E501 - if include_optional : - return V1ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - } - ) - else : - return V1ResourceRequirements( - ) - - def testV1ResourceRequirements(self): - """Test V1ResourceRequirements""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_resource_rule.py b/kubernetes/test/test_v1_resource_rule.py deleted file mode 100644 index 7fbc6ebfee..0000000000 --- a/kubernetes/test/test_v1_resource_rule.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_resource_rule import V1ResourceRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ResourceRule(unittest.TestCase): - """V1ResourceRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ResourceRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_resource_rule.V1ResourceRule() # noqa: E501 - if include_optional : - return V1ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1ResourceRule( - verbs = [ - '0' - ], - ) - - def testV1ResourceRule(self): - """Test V1ResourceRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role.py b/kubernetes/test/test_v1_role.py deleted file mode 100644 index 5481b22f6a..0000000000 --- a/kubernetes/test/test_v1_role.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role import V1Role # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Role(unittest.TestCase): - """V1Role unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Role - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role.V1Role() # noqa: E501 - if include_optional : - return V1Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1Role( - ) - - def testV1Role(self): - """Test V1Role""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role_binding.py b/kubernetes/test/test_v1_role_binding.py deleted file mode 100644 index 6b5dbfc29b..0000000000 --- a/kubernetes/test/test_v1_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role_binding import V1RoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RoleBinding(unittest.TestCase): - """V1RoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role_binding.V1RoleBinding() # noqa: E501 - if include_optional : - return V1RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1RoleBinding( - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1RoleBinding(self): - """Test V1RoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role_binding_list.py b/kubernetes/test/test_v1_role_binding_list.py deleted file mode 100644 index 0492bdda31..0000000000 --- a/kubernetes/test/test_v1_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role_binding_list import V1RoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RoleBindingList(unittest.TestCase): - """V1RoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role_binding_list.V1RoleBindingList() # noqa: E501 - if include_optional : - return V1RoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1/role_binding.v1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1RoleBindingList( - items = [ - kubernetes.client.models.v1/role_binding.v1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1/role_ref.v1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1/subject.v1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1RoleBindingList(self): - """Test V1RoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role_list.py b/kubernetes/test/test_v1_role_list.py deleted file mode 100644 index 84085f6079..0000000000 --- a/kubernetes/test/test_v1_role_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role_list import V1RoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RoleList(unittest.TestCase): - """V1RoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role_list.V1RoleList() # noqa: E501 - if include_optional : - return V1RoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1/role.v1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1RoleList( - items = [ - kubernetes.client.models.v1/role.v1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1/policy_rule.v1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1RoleList(self): - """Test V1RoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_role_ref.py b/kubernetes/test/test_v1_role_ref.py deleted file mode 100644 index ec3dfdf7b2..0000000000 --- a/kubernetes/test/test_v1_role_ref.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_role_ref import V1RoleRef # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RoleRef(unittest.TestCase): - """V1RoleRef unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RoleRef - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_role_ref.V1RoleRef() # noqa: E501 - if include_optional : - return V1RoleRef( - api_group = '0', - kind = '0', - name = '0' - ) - else : - return V1RoleRef( - api_group = '0', - kind = '0', - name = '0', - ) - - def testV1RoleRef(self): - """Test V1RoleRef""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_daemon_set.py b/kubernetes/test/test_v1_rolling_update_daemon_set.py deleted file mode 100644 index 7fe11ca8e9..0000000000 --- a/kubernetes/test/test_v1_rolling_update_daemon_set.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rolling_update_daemon_set import V1RollingUpdateDaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RollingUpdateDaemonSet(unittest.TestCase): - """V1RollingUpdateDaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RollingUpdateDaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rolling_update_daemon_set.V1RollingUpdateDaemonSet() # noqa: E501 - if include_optional : - return V1RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return V1RollingUpdateDaemonSet( - ) - - def testV1RollingUpdateDaemonSet(self): - """Test V1RollingUpdateDaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_deployment.py b/kubernetes/test/test_v1_rolling_update_deployment.py deleted file mode 100644 index 7b55a2dc03..0000000000 --- a/kubernetes/test/test_v1_rolling_update_deployment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rolling_update_deployment import V1RollingUpdateDeployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RollingUpdateDeployment(unittest.TestCase): - """V1RollingUpdateDeployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RollingUpdateDeployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rolling_update_deployment.V1RollingUpdateDeployment() # noqa: E501 - if include_optional : - return V1RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return V1RollingUpdateDeployment( - ) - - def testV1RollingUpdateDeployment(self): - """Test V1RollingUpdateDeployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py deleted file mode 100644 index b0fc2d5c72..0000000000 --- a/kubernetes/test/test_v1_rolling_update_stateful_set_strategy.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rolling_update_stateful_set_strategy import V1RollingUpdateStatefulSetStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RollingUpdateStatefulSetStrategy(unittest.TestCase): - """V1RollingUpdateStatefulSetStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RollingUpdateStatefulSetStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rolling_update_stateful_set_strategy.V1RollingUpdateStatefulSetStrategy() # noqa: E501 - if include_optional : - return V1RollingUpdateStatefulSetStrategy( - partition = 56 - ) - else : - return V1RollingUpdateStatefulSetStrategy( - ) - - def testV1RollingUpdateStatefulSetStrategy(self): - """Test V1RollingUpdateStatefulSetStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_rule_with_operations.py b/kubernetes/test/test_v1_rule_with_operations.py deleted file mode 100644 index 3e706f8564..0000000000 --- a/kubernetes/test/test_v1_rule_with_operations.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_rule_with_operations import V1RuleWithOperations # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1RuleWithOperations(unittest.TestCase): - """V1RuleWithOperations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1RuleWithOperations - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_rule_with_operations.V1RuleWithOperations() # noqa: E501 - if include_optional : - return V1RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0' - ) - else : - return V1RuleWithOperations( - ) - - def testV1RuleWithOperations(self): - """Test V1RuleWithOperations""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale.py b/kubernetes/test/test_v1_scale.py deleted file mode 100644 index 68fdbc263a..0000000000 --- a/kubernetes/test/test_v1_scale.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale import V1Scale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Scale(unittest.TestCase): - """V1Scale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Scale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale.V1Scale() # noqa: E501 - if include_optional : - return V1Scale( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/scale_spec.v1.ScaleSpec( - replicas = 56, ), - status = kubernetes.client.models.v1/scale_status.v1.ScaleStatus( - replicas = 56, - selector = '0', ) - ) - else : - return V1Scale( - ) - - def testV1Scale(self): - """Test V1Scale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py b/kubernetes/test/test_v1_scale_io_persistent_volume_source.py deleted file mode 100644 index a1b86c967c..0000000000 --- a/kubernetes/test/test_v1_scale_io_persistent_volume_source.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale_io_persistent_volume_source import V1ScaleIOPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScaleIOPersistentVolumeSource(unittest.TestCase): - """V1ScaleIOPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScaleIOPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale_io_persistent_volume_source.V1ScaleIOPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0' - ) - else : - return V1ScaleIOPersistentVolumeSource( - gateway = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - system = '0', - ) - - def testV1ScaleIOPersistentVolumeSource(self): - """Test V1ScaleIOPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale_io_volume_source.py b/kubernetes/test/test_v1_scale_io_volume_source.py deleted file mode 100644 index 7f7cb98341..0000000000 --- a/kubernetes/test/test_v1_scale_io_volume_source.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale_io_volume_source import V1ScaleIOVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScaleIOVolumeSource(unittest.TestCase): - """V1ScaleIOVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScaleIOVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale_io_volume_source.V1ScaleIOVolumeSource() # noqa: E501 - if include_optional : - return V1ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0' - ) - else : - return V1ScaleIOVolumeSource( - gateway = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - system = '0', - ) - - def testV1ScaleIOVolumeSource(self): - """Test V1ScaleIOVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale_spec.py b/kubernetes/test/test_v1_scale_spec.py deleted file mode 100644 index 55ef08f645..0000000000 --- a/kubernetes/test/test_v1_scale_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale_spec import V1ScaleSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScaleSpec(unittest.TestCase): - """V1ScaleSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScaleSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale_spec.V1ScaleSpec() # noqa: E501 - if include_optional : - return V1ScaleSpec( - replicas = 56 - ) - else : - return V1ScaleSpec( - ) - - def testV1ScaleSpec(self): - """Test V1ScaleSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scale_status.py b/kubernetes/test/test_v1_scale_status.py deleted file mode 100644 index 926a29d817..0000000000 --- a/kubernetes/test/test_v1_scale_status.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scale_status import V1ScaleStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScaleStatus(unittest.TestCase): - """V1ScaleStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScaleStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scale_status.V1ScaleStatus() # noqa: E501 - if include_optional : - return V1ScaleStatus( - replicas = 56, - selector = '0' - ) - else : - return V1ScaleStatus( - replicas = 56, - ) - - def testV1ScaleStatus(self): - """Test V1ScaleStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scope_selector.py b/kubernetes/test/test_v1_scope_selector.py deleted file mode 100644 index 23381ec26c..0000000000 --- a/kubernetes/test/test_v1_scope_selector.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scope_selector import V1ScopeSelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScopeSelector(unittest.TestCase): - """V1ScopeSelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScopeSelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scope_selector.V1ScopeSelector() # noqa: E501 - if include_optional : - return V1ScopeSelector( - match_expressions = [ - kubernetes.client.models.v1/scoped_resource_selector_requirement.v1.ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ], ) - ] - ) - else : - return V1ScopeSelector( - ) - - def testV1ScopeSelector(self): - """Test V1ScopeSelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_scoped_resource_selector_requirement.py b/kubernetes/test/test_v1_scoped_resource_selector_requirement.py deleted file mode 100644 index 3866610e00..0000000000 --- a/kubernetes/test/test_v1_scoped_resource_selector_requirement.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_scoped_resource_selector_requirement import V1ScopedResourceSelectorRequirement # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ScopedResourceSelectorRequirement(unittest.TestCase): - """V1ScopedResourceSelectorRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ScopedResourceSelectorRequirement - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_scoped_resource_selector_requirement.V1ScopedResourceSelectorRequirement() # noqa: E501 - if include_optional : - return V1ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - values = [ - '0' - ] - ) - else : - return V1ScopedResourceSelectorRequirement( - operator = '0', - scope_name = '0', - ) - - def testV1ScopedResourceSelectorRequirement(self): - """Test V1ScopedResourceSelectorRequirement""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_se_linux_options.py b/kubernetes/test/test_v1_se_linux_options.py deleted file mode 100644 index 76a78a9372..0000000000 --- a/kubernetes/test/test_v1_se_linux_options.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_se_linux_options import V1SELinuxOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SELinuxOptions(unittest.TestCase): - """V1SELinuxOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SELinuxOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_se_linux_options.V1SELinuxOptions() # noqa: E501 - if include_optional : - return V1SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0' - ) - else : - return V1SELinuxOptions( - ) - - def testV1SELinuxOptions(self): - """Test V1SELinuxOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret.py b/kubernetes/test/test_v1_secret.py deleted file mode 100644 index f345c363d6..0000000000 --- a/kubernetes/test/test_v1_secret.py +++ /dev/null @@ -1,99 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret import V1Secret # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Secret(unittest.TestCase): - """V1Secret unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Secret - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret.V1Secret() # noqa: E501 - if include_optional : - return V1Secret( - api_version = '0', - data = { - 'key' : 'YQ==' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - string_data = { - 'key' : '0' - }, - type = '0' - ) - else : - return V1Secret( - ) - - def testV1Secret(self): - """Test V1Secret""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_env_source.py b/kubernetes/test/test_v1_secret_env_source.py deleted file mode 100644 index 703e17c4e6..0000000000 --- a/kubernetes/test/test_v1_secret_env_source.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_env_source import V1SecretEnvSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretEnvSource(unittest.TestCase): - """V1SecretEnvSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretEnvSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_env_source.V1SecretEnvSource() # noqa: E501 - if include_optional : - return V1SecretEnvSource( - name = '0', - optional = True - ) - else : - return V1SecretEnvSource( - ) - - def testV1SecretEnvSource(self): - """Test V1SecretEnvSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_key_selector.py b/kubernetes/test/test_v1_secret_key_selector.py deleted file mode 100644 index a56e805f81..0000000000 --- a/kubernetes/test/test_v1_secret_key_selector.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_key_selector import V1SecretKeySelector # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretKeySelector(unittest.TestCase): - """V1SecretKeySelector unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretKeySelector - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_key_selector.V1SecretKeySelector() # noqa: E501 - if include_optional : - return V1SecretKeySelector( - key = '0', - name = '0', - optional = True - ) - else : - return V1SecretKeySelector( - key = '0', - ) - - def testV1SecretKeySelector(self): - """Test V1SecretKeySelector""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_list.py b/kubernetes/test/test_v1_secret_list.py deleted file mode 100644 index 3558606d60..0000000000 --- a/kubernetes/test/test_v1_secret_list.py +++ /dev/null @@ -1,160 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_list import V1SecretList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretList(unittest.TestCase): - """V1SecretList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_list.V1SecretList() # noqa: E501 - if include_optional : - return V1SecretList( - api_version = '0', - items = [ - kubernetes.client.models.v1/secret.v1.Secret( - api_version = '0', - data = { - 'key' : 'YQ==' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - string_data = { - 'key' : '0' - }, - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1SecretList( - items = [ - kubernetes.client.models.v1/secret.v1.Secret( - api_version = '0', - data = { - 'key' : 'YQ==' - }, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - string_data = { - 'key' : '0' - }, - type = '0', ) - ], - ) - - def testV1SecretList(self): - """Test V1SecretList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_projection.py b/kubernetes/test/test_v1_secret_projection.py deleted file mode 100644 index 9739a5c8ec..0000000000 --- a/kubernetes/test/test_v1_secret_projection.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_projection import V1SecretProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretProjection(unittest.TestCase): - """V1SecretProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_projection.V1SecretProjection() # noqa: E501 - if include_optional : - return V1SecretProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True - ) - else : - return V1SecretProjection( - ) - - def testV1SecretProjection(self): - """Test V1SecretProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_reference.py b/kubernetes/test/test_v1_secret_reference.py deleted file mode 100644 index c48b410669..0000000000 --- a/kubernetes/test/test_v1_secret_reference.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_reference import V1SecretReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretReference(unittest.TestCase): - """V1SecretReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_reference.V1SecretReference() # noqa: E501 - if include_optional : - return V1SecretReference( - name = '0', - namespace = '0' - ) - else : - return V1SecretReference( - ) - - def testV1SecretReference(self): - """Test V1SecretReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_secret_volume_source.py b/kubernetes/test/test_v1_secret_volume_source.py deleted file mode 100644 index 62c1961b4e..0000000000 --- a/kubernetes/test/test_v1_secret_volume_source.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_secret_volume_source import V1SecretVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecretVolumeSource(unittest.TestCase): - """V1SecretVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecretVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_secret_volume_source.V1SecretVolumeSource() # noqa: E501 - if include_optional : - return V1SecretVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - optional = True, - secret_name = '0' - ) - else : - return V1SecretVolumeSource( - ) - - def testV1SecretVolumeSource(self): - """Test V1SecretVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_security_context.py b/kubernetes/test/test_v1_security_context.py deleted file mode 100644 index 3ff7e387a9..0000000000 --- a/kubernetes/test/test_v1_security_context.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_security_context import V1SecurityContext # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SecurityContext(unittest.TestCase): - """V1SecurityContext unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SecurityContext - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_security_context.V1SecurityContext() # noqa: E501 - if include_optional : - return V1SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ) - ) - else : - return V1SecurityContext( - ) - - def testV1SecurityContext(self): - """Test V1SecurityContext""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_access_review.py b/kubernetes/test/test_v1_self_subject_access_review.py deleted file mode 100644 index 60ca62d7d7..0000000000 --- a/kubernetes/test/test_v1_self_subject_access_review.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_self_subject_access_review import V1SelfSubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SelfSubjectAccessReview(unittest.TestCase): - """V1SelfSubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SelfSubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_self_subject_access_review.V1SelfSubjectAccessReview() # noqa: E501 - if include_optional : - return V1SelfSubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/self_subject_access_review_spec.v1.SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), ), - status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1SelfSubjectAccessReview( - spec = kubernetes.client.models.v1/self_subject_access_review_spec.v1.SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), ), - ) - - def testV1SelfSubjectAccessReview(self): - """Test V1SelfSubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_access_review_spec.py b/kubernetes/test/test_v1_self_subject_access_review_spec.py deleted file mode 100644 index 316ec9bd34..0000000000 --- a/kubernetes/test/test_v1_self_subject_access_review_spec.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_self_subject_access_review_spec import V1SelfSubjectAccessReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SelfSubjectAccessReviewSpec(unittest.TestCase): - """V1SelfSubjectAccessReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SelfSubjectAccessReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_self_subject_access_review_spec.V1SelfSubjectAccessReviewSpec() # noqa: E501 - if include_optional : - return V1SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ) - ) - else : - return V1SelfSubjectAccessReviewSpec( - ) - - def testV1SelfSubjectAccessReviewSpec(self): - """Test V1SelfSubjectAccessReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_rules_review.py b/kubernetes/test/test_v1_self_subject_rules_review.py deleted file mode 100644 index da76d7135e..0000000000 --- a/kubernetes/test/test_v1_self_subject_rules_review.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_self_subject_rules_review import V1SelfSubjectRulesReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SelfSubjectRulesReview(unittest.TestCase): - """V1SelfSubjectRulesReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SelfSubjectRulesReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_self_subject_rules_review.V1SelfSubjectRulesReview() # noqa: E501 - if include_optional : - return V1SelfSubjectRulesReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/self_subject_rules_review_spec.v1.SelfSubjectRulesReviewSpec( - namespace = '0', ), - status = kubernetes.client.models.v1/subject_rules_review_status.v1.SubjectRulesReviewStatus( - evaluation_error = '0', - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1/resource_rule.v1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ) - else : - return V1SelfSubjectRulesReview( - spec = kubernetes.client.models.v1/self_subject_rules_review_spec.v1.SelfSubjectRulesReviewSpec( - namespace = '0', ), - ) - - def testV1SelfSubjectRulesReview(self): - """Test V1SelfSubjectRulesReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1_self_subject_rules_review_spec.py deleted file mode 100644 index 352e458d13..0000000000 --- a/kubernetes/test/test_v1_self_subject_rules_review_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_self_subject_rules_review_spec import V1SelfSubjectRulesReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SelfSubjectRulesReviewSpec(unittest.TestCase): - """V1SelfSubjectRulesReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SelfSubjectRulesReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_self_subject_rules_review_spec.V1SelfSubjectRulesReviewSpec() # noqa: E501 - if include_optional : - return V1SelfSubjectRulesReviewSpec( - namespace = '0' - ) - else : - return V1SelfSubjectRulesReviewSpec( - ) - - def testV1SelfSubjectRulesReviewSpec(self): - """Test V1SelfSubjectRulesReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_server_address_by_client_cidr.py b/kubernetes/test/test_v1_server_address_by_client_cidr.py deleted file mode 100644 index 518f18419f..0000000000 --- a/kubernetes/test/test_v1_server_address_by_client_cidr.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_server_address_by_client_cidr import V1ServerAddressByClientCIDR # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServerAddressByClientCIDR(unittest.TestCase): - """V1ServerAddressByClientCIDR unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServerAddressByClientCIDR - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_server_address_by_client_cidr.V1ServerAddressByClientCIDR() # noqa: E501 - if include_optional : - return V1ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0' - ) - else : - return V1ServerAddressByClientCIDR( - kubernetes.client_cidr = '0', - server_address = '0', - ) - - def testV1ServerAddressByClientCIDR(self): - """Test V1ServerAddressByClientCIDR""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service.py b/kubernetes/test/test_v1_service.py deleted file mode 100644 index b73e09036c..0000000000 --- a/kubernetes/test/test_v1_service.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service import V1Service # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Service(unittest.TestCase): - """V1Service unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Service - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service.V1Service() # noqa: E501 - if include_optional : - return V1Service( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( - cluster_ip = '0', - external_i_ps = [ - '0' - ], - external_name = '0', - external_traffic_policy = '0', - health_check_node_port = 56, - ip_family = '0', - load_balancer_ip = '0', - load_balancer_source_ranges = [ - '0' - ], - ports = [ - kubernetes.client.models.v1/service_port.v1.ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = kubernetes.client.models.target_port.targetPort(), ) - ], - publish_not_ready_addresses = True, - selector = { - 'key' : '0' - }, - session_affinity = '0', - session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ), ), - topology_keys = [ - '0' - ], - type = '0', ), - status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ) - ) - else : - return V1Service( - ) - - def testV1Service(self): - """Test V1Service""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_account.py b/kubernetes/test/test_v1_service_account.py deleted file mode 100644 index a14a216a41..0000000000 --- a/kubernetes/test/test_v1_service_account.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_account import V1ServiceAccount # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceAccount(unittest.TestCase): - """V1ServiceAccount unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceAccount - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_account.V1ServiceAccount() # noqa: E501 - if include_optional : - return V1ServiceAccount( - api_version = '0', - automount_service_account_token = True, - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - secrets = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ] - ) - else : - return V1ServiceAccount( - ) - - def testV1ServiceAccount(self): - """Test V1ServiceAccount""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_account_list.py b/kubernetes/test/test_v1_service_account_list.py deleted file mode 100644 index 7e8ecb448c..0000000000 --- a/kubernetes/test/test_v1_service_account_list.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_account_list import V1ServiceAccountList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceAccountList(unittest.TestCase): - """V1ServiceAccountList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceAccountList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_account_list.V1ServiceAccountList() # noqa: E501 - if include_optional : - return V1ServiceAccountList( - api_version = '0', - items = [ - kubernetes.client.models.v1/service_account.v1.ServiceAccount( - api_version = '0', - automount_service_account_token = True, - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - secrets = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ServiceAccountList( - items = [ - kubernetes.client.models.v1/service_account.v1.ServiceAccount( - api_version = '0', - automount_service_account_token = True, - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - secrets = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], ) - ], - ) - - def testV1ServiceAccountList(self): - """Test V1ServiceAccountList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_account_token_projection.py b/kubernetes/test/test_v1_service_account_token_projection.py deleted file mode 100644 index b425b1e9ae..0000000000 --- a/kubernetes/test/test_v1_service_account_token_projection.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_account_token_projection import V1ServiceAccountTokenProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceAccountTokenProjection(unittest.TestCase): - """V1ServiceAccountTokenProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceAccountTokenProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_account_token_projection.V1ServiceAccountTokenProjection() # noqa: E501 - if include_optional : - return V1ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0' - ) - else : - return V1ServiceAccountTokenProjection( - path = '0', - ) - - def testV1ServiceAccountTokenProjection(self): - """Test V1ServiceAccountTokenProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_list.py b/kubernetes/test/test_v1_service_list.py deleted file mode 100644 index d6cb580140..0000000000 --- a/kubernetes/test/test_v1_service_list.py +++ /dev/null @@ -1,226 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_list import V1ServiceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceList(unittest.TestCase): - """V1ServiceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_list.V1ServiceList() # noqa: E501 - if include_optional : - return V1ServiceList( - api_version = '0', - items = [ - kubernetes.client.models.v1/service.v1.Service( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( - cluster_ip = '0', - external_i_ps = [ - '0' - ], - external_name = '0', - external_traffic_policy = '0', - health_check_node_port = 56, - ip_family = '0', - load_balancer_ip = '0', - load_balancer_source_ranges = [ - '0' - ], - ports = [ - kubernetes.client.models.v1/service_port.v1.ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = kubernetes.client.models.target_port.targetPort(), ) - ], - publish_not_ready_addresses = True, - selector = { - 'key' : '0' - }, - session_affinity = '0', - session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ), ), - topology_keys = [ - '0' - ], - type = '0', ), - status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ServiceList( - items = [ - kubernetes.client.models.v1/service.v1.Service( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/service_spec.v1.ServiceSpec( - cluster_ip = '0', - external_i_ps = [ - '0' - ], - external_name = '0', - external_traffic_policy = '0', - health_check_node_port = 56, - ip_family = '0', - load_balancer_ip = '0', - load_balancer_source_ranges = [ - '0' - ], - ports = [ - kubernetes.client.models.v1/service_port.v1.ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = kubernetes.client.models.target_port.targetPort(), ) - ], - publish_not_ready_addresses = True, - selector = { - 'key' : '0' - }, - session_affinity = '0', - session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ), ), - topology_keys = [ - '0' - ], - type = '0', ), - status = kubernetes.client.models.v1/service_status.v1.ServiceStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ), ), ) - ], - ) - - def testV1ServiceList(self): - """Test V1ServiceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_port.py b/kubernetes/test/test_v1_service_port.py deleted file mode 100644 index 7649f2a394..0000000000 --- a/kubernetes/test/test_v1_service_port.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_port import V1ServicePort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServicePort(unittest.TestCase): - """V1ServicePort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServicePort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_port.V1ServicePort() # noqa: E501 - if include_optional : - return V1ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = None - ) - else : - return V1ServicePort( - port = 56, - ) - - def testV1ServicePort(self): - """Test V1ServicePort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_spec.py b/kubernetes/test/test_v1_service_spec.py deleted file mode 100644 index 09120b97a3..0000000000 --- a/kubernetes/test/test_v1_service_spec.py +++ /dev/null @@ -1,83 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_spec import V1ServiceSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceSpec(unittest.TestCase): - """V1ServiceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_spec.V1ServiceSpec() # noqa: E501 - if include_optional : - return V1ServiceSpec( - cluster_ip = '0', - external_i_ps = [ - '0' - ], - external_name = '0', - external_traffic_policy = '0', - health_check_node_port = 56, - ip_family = '0', - load_balancer_ip = '0', - load_balancer_source_ranges = [ - '0' - ], - ports = [ - kubernetes.client.models.v1/service_port.v1.ServicePort( - name = '0', - node_port = 56, - port = 56, - protocol = '0', - target_port = kubernetes.client.models.target_port.targetPort(), ) - ], - publish_not_ready_addresses = True, - selector = { - 'key' : '0' - }, - session_affinity = '0', - session_affinity_config = kubernetes.client.models.v1/session_affinity_config.v1.SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ), ), - topology_keys = [ - '0' - ], - type = '0' - ) - else : - return V1ServiceSpec( - ) - - def testV1ServiceSpec(self): - """Test V1ServiceSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_service_status.py b/kubernetes/test/test_v1_service_status.py deleted file mode 100644 index 00cc0b74c9..0000000000 --- a/kubernetes/test/test_v1_service_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_service_status import V1ServiceStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ServiceStatus(unittest.TestCase): - """V1ServiceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ServiceStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_service_status.V1ServiceStatus() # noqa: E501 - if include_optional : - return V1ServiceStatus( - load_balancer = kubernetes.client.models.v1/load_balancer_status.v1.LoadBalancerStatus( - ingress = [ - kubernetes.client.models.v1/load_balancer_ingress.v1.LoadBalancerIngress( - hostname = '0', - ip = '0', ) - ], ) - ) - else : - return V1ServiceStatus( - ) - - def testV1ServiceStatus(self): - """Test V1ServiceStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_session_affinity_config.py b/kubernetes/test/test_v1_session_affinity_config.py deleted file mode 100644 index 80b43db600..0000000000 --- a/kubernetes/test/test_v1_session_affinity_config.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_session_affinity_config import V1SessionAffinityConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SessionAffinityConfig(unittest.TestCase): - """V1SessionAffinityConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SessionAffinityConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_session_affinity_config.V1SessionAffinityConfig() # noqa: E501 - if include_optional : - return V1SessionAffinityConfig( - kubernetes.client_ip = kubernetes.client.models.v1/kubernetes.client_ip_config.v1.ClientIPConfig( - timeout_seconds = 56, ) - ) - else : - return V1SessionAffinityConfig( - ) - - def testV1SessionAffinityConfig(self): - """Test V1SessionAffinityConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set.py b/kubernetes/test/test_v1_stateful_set.py deleted file mode 100644 index 98814b19cb..0000000000 --- a/kubernetes/test/test_v1_stateful_set.py +++ /dev/null @@ -1,625 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set import V1StatefulSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSet(unittest.TestCase): - """V1StatefulSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set.V1StatefulSet() # noqa: E501 - if include_optional : - return V1StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/stateful_set_condition.v1.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ) - ) - else : - return V1StatefulSet( - ) - - def testV1StatefulSet(self): - """Test V1StatefulSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_condition.py b/kubernetes/test/test_v1_stateful_set_condition.py deleted file mode 100644 index bcb2033c49..0000000000 --- a/kubernetes/test/test_v1_stateful_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_condition import V1StatefulSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetCondition(unittest.TestCase): - """V1StatefulSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_condition.V1StatefulSetCondition() # noqa: E501 - if include_optional : - return V1StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1StatefulSetCondition( - status = '0', - type = '0', - ) - - def testV1StatefulSetCondition(self): - """Test V1StatefulSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_list.py b/kubernetes/test/test_v1_stateful_set_list.py deleted file mode 100644 index 4ae26f6751..0000000000 --- a/kubernetes/test/test_v1_stateful_set_list.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_list import V1StatefulSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetList(unittest.TestCase): - """V1StatefulSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_list.V1StatefulSetList() # noqa: E501 - if include_optional : - return V1StatefulSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1/stateful_set.v1.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1StatefulSetList( - items = [ - kubernetes.client.models.v1/stateful_set.v1.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/stateful_set_spec.v1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1/stateful_set_status.v1.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - ) - - def testV1StatefulSetList(self): - """Test V1StatefulSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_spec.py b/kubernetes/test/test_v1_stateful_set_spec.py deleted file mode 100644 index daac778767..0000000000 --- a/kubernetes/test/test_v1_stateful_set_spec.py +++ /dev/null @@ -1,1140 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_spec import V1StatefulSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetSpec(unittest.TestCase): - """V1StatefulSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_spec.V1StatefulSetSpec() # noqa: E501 - if include_optional : - return V1StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1/stateful_set_update_strategy.v1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ] - ) - else : - return V1StatefulSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1StatefulSetSpec(self): - """Test V1StatefulSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_status.py b/kubernetes/test/test_v1_stateful_set_status.py deleted file mode 100644 index d0c186a6ff..0000000000 --- a/kubernetes/test/test_v1_stateful_set_status.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_status import V1StatefulSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetStatus(unittest.TestCase): - """V1StatefulSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_status.V1StatefulSetStatus() # noqa: E501 - if include_optional : - return V1StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1/stateful_set_condition.v1.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56 - ) - else : - return V1StatefulSetStatus( - replicas = 56, - ) - - def testV1StatefulSetStatus(self): - """Test V1StatefulSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_stateful_set_update_strategy.py b/kubernetes/test/test_v1_stateful_set_update_strategy.py deleted file mode 100644 index 09ff1428d4..0000000000 --- a/kubernetes/test/test_v1_stateful_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatefulSetUpdateStrategy(unittest.TestCase): - """V1StatefulSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatefulSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_stateful_set_update_strategy.V1StatefulSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1/rolling_update_stateful_set_strategy.v1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0' - ) - else : - return V1StatefulSetUpdateStrategy( - ) - - def testV1StatefulSetUpdateStrategy(self): - """Test V1StatefulSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_status.py b/kubernetes/test/test_v1_status.py deleted file mode 100644 index 8cd45ee493..0000000000 --- a/kubernetes/test/test_v1_status.py +++ /dev/null @@ -1,74 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_status import V1Status # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Status(unittest.TestCase): - """V1Status unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Status - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_status.V1Status() # noqa: E501 - if include_optional : - return V1Status( - api_version = '0', - code = 56, - details = kubernetes.client.models.v1/status_details.v1.StatusDetails( - causes = [ - kubernetes.client.models.v1/status_cause.v1.StatusCause( - field = '0', - message = '0', - reason = '0', ) - ], - group = '0', - kind = '0', - name = '0', - retry_after_seconds = 56, - uid = '0', ), - kind = '0', - message = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ), - reason = '0', - status = '0' - ) - else : - return V1Status( - ) - - def testV1Status(self): - """Test V1Status""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_status_cause.py b/kubernetes/test/test_v1_status_cause.py deleted file mode 100644 index 3acfe53170..0000000000 --- a/kubernetes/test/test_v1_status_cause.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_status_cause import V1StatusCause # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatusCause(unittest.TestCase): - """V1StatusCause unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatusCause - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_status_cause.V1StatusCause() # noqa: E501 - if include_optional : - return V1StatusCause( - field = '0', - message = '0', - reason = '0' - ) - else : - return V1StatusCause( - ) - - def testV1StatusCause(self): - """Test V1StatusCause""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_status_details.py b/kubernetes/test/test_v1_status_details.py deleted file mode 100644 index a398b2d8d0..0000000000 --- a/kubernetes/test/test_v1_status_details.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_status_details import V1StatusDetails # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StatusDetails(unittest.TestCase): - """V1StatusDetails unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StatusDetails - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_status_details.V1StatusDetails() # noqa: E501 - if include_optional : - return V1StatusDetails( - causes = [ - kubernetes.client.models.v1/status_cause.v1.StatusCause( - field = '0', - message = '0', - reason = '0', ) - ], - group = '0', - kind = '0', - name = '0', - retry_after_seconds = 56, - uid = '0' - ) - else : - return V1StatusDetails( - ) - - def testV1StatusDetails(self): - """Test V1StatusDetails""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_storage_class.py b/kubernetes/test/test_v1_storage_class.py deleted file mode 100644 index 0812dde1fa..0000000000 --- a/kubernetes/test/test_v1_storage_class.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_storage_class import V1StorageClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StorageClass(unittest.TestCase): - """V1StorageClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StorageClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_storage_class.V1StorageClass() # noqa: E501 - if include_optional : - return V1StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0' - ) - else : - return V1StorageClass( - provisioner = '0', - ) - - def testV1StorageClass(self): - """Test V1StorageClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_storage_class_list.py b/kubernetes/test/test_v1_storage_class_list.py deleted file mode 100644 index 432fdc05fc..0000000000 --- a/kubernetes/test/test_v1_storage_class_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_storage_class_list import V1StorageClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StorageClassList(unittest.TestCase): - """V1StorageClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StorageClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_storage_class_list.V1StorageClassList() # noqa: E501 - if include_optional : - return V1StorageClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1/storage_class.v1.StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1StorageClassList( - items = [ - kubernetes.client.models.v1/storage_class.v1.StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0', ) - ], - ) - - def testV1StorageClassList(self): - """Test V1StorageClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py b/kubernetes/test/test_v1_storage_os_persistent_volume_source.py deleted file mode 100644 index 3960ffcdbf..0000000000 --- a/kubernetes/test/test_v1_storage_os_persistent_volume_source.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_storage_os_persistent_volume_source import V1StorageOSPersistentVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StorageOSPersistentVolumeSource(unittest.TestCase): - """V1StorageOSPersistentVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StorageOSPersistentVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_storage_os_persistent_volume_source.V1StorageOSPersistentVolumeSource() # noqa: E501 - if include_optional : - return V1StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - volume_name = '0', - volume_namespace = '0' - ) - else : - return V1StorageOSPersistentVolumeSource( - ) - - def testV1StorageOSPersistentVolumeSource(self): - """Test V1StorageOSPersistentVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_storage_os_volume_source.py b/kubernetes/test/test_v1_storage_os_volume_source.py deleted file mode 100644 index aad96cd5ed..0000000000 --- a/kubernetes/test/test_v1_storage_os_volume_source.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_storage_os_volume_source import V1StorageOSVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1StorageOSVolumeSource(unittest.TestCase): - """V1StorageOSVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1StorageOSVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_storage_os_volume_source.V1StorageOSVolumeSource() # noqa: E501 - if include_optional : - return V1StorageOSVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - volume_name = '0', - volume_namespace = '0' - ) - else : - return V1StorageOSVolumeSource( - ) - - def testV1StorageOSVolumeSource(self): - """Test V1StorageOSVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject.py b/kubernetes/test/test_v1_subject.py deleted file mode 100644 index cf9c92a506..0000000000 --- a/kubernetes/test/test_v1_subject.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject import V1Subject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Subject(unittest.TestCase): - """V1Subject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Subject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject.V1Subject() # noqa: E501 - if include_optional : - return V1Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0' - ) - else : - return V1Subject( - kind = '0', - name = '0', - ) - - def testV1Subject(self): - """Test V1Subject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review.py b/kubernetes/test/test_v1_subject_access_review.py deleted file mode 100644 index d6044abd71..0000000000 --- a/kubernetes/test/test_v1_subject_access_review.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject_access_review import V1SubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SubjectAccessReview(unittest.TestCase): - """V1SubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject_access_review.V1SubjectAccessReview() # noqa: E501 - if include_optional : - return V1SubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - status = kubernetes.client.models.v1/subject_access_review_status.v1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1SubjectAccessReview( - spec = kubernetes.client.models.v1/subject_access_review_spec.v1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - ) - - def testV1SubjectAccessReview(self): - """Test V1SubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review_spec.py b/kubernetes/test/test_v1_subject_access_review_spec.py deleted file mode 100644 index 2beb781356..0000000000 --- a/kubernetes/test/test_v1_subject_access_review_spec.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject_access_review_spec import V1SubjectAccessReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SubjectAccessReviewSpec(unittest.TestCase): - """V1SubjectAccessReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SubjectAccessReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject_access_review_spec.V1SubjectAccessReviewSpec() # noqa: E501 - if include_optional : - return V1SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1/non_resource_attributes.v1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1/resource_attributes.v1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0' - ) - else : - return V1SubjectAccessReviewSpec( - ) - - def testV1SubjectAccessReviewSpec(self): - """Test V1SubjectAccessReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject_access_review_status.py b/kubernetes/test/test_v1_subject_access_review_status.py deleted file mode 100644 index 9b3a32033f..0000000000 --- a/kubernetes/test/test_v1_subject_access_review_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject_access_review_status import V1SubjectAccessReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SubjectAccessReviewStatus(unittest.TestCase): - """V1SubjectAccessReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SubjectAccessReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject_access_review_status.V1SubjectAccessReviewStatus() # noqa: E501 - if include_optional : - return V1SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0' - ) - else : - return V1SubjectAccessReviewStatus( - allowed = True, - ) - - def testV1SubjectAccessReviewStatus(self): - """Test V1SubjectAccessReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_subject_rules_review_status.py b/kubernetes/test/test_v1_subject_rules_review_status.py deleted file mode 100644 index bcc5addfd9..0000000000 --- a/kubernetes/test/test_v1_subject_rules_review_status.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_subject_rules_review_status import V1SubjectRulesReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1SubjectRulesReviewStatus(unittest.TestCase): - """V1SubjectRulesReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1SubjectRulesReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_subject_rules_review_status.V1SubjectRulesReviewStatus() # noqa: E501 - if include_optional : - return V1SubjectRulesReviewStatus( - evaluation_error = '0', - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1/resource_rule.v1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1SubjectRulesReviewStatus( - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1/non_resource_rule.v1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1/resource_rule.v1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - ) - - def testV1SubjectRulesReviewStatus(self): - """Test V1SubjectRulesReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_sysctl.py b/kubernetes/test/test_v1_sysctl.py deleted file mode 100644 index 4aaa1f2f45..0000000000 --- a/kubernetes/test/test_v1_sysctl.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_sysctl import V1Sysctl # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Sysctl(unittest.TestCase): - """V1Sysctl unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Sysctl - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_sysctl.V1Sysctl() # noqa: E501 - if include_optional : - return V1Sysctl( - name = '0', - value = '0' - ) - else : - return V1Sysctl( - name = '0', - value = '0', - ) - - def testV1Sysctl(self): - """Test V1Sysctl""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_taint.py b/kubernetes/test/test_v1_taint.py deleted file mode 100644 index d362753b01..0000000000 --- a/kubernetes/test/test_v1_taint.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_taint import V1Taint # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Taint(unittest.TestCase): - """V1Taint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Taint - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_taint.V1Taint() # noqa: E501 - if include_optional : - return V1Taint( - effect = '0', - key = '0', - time_added = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - value = '0' - ) - else : - return V1Taint( - effect = '0', - key = '0', - ) - - def testV1Taint(self): - """Test V1Taint""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_tcp_socket_action.py b/kubernetes/test/test_v1_tcp_socket_action.py deleted file mode 100644 index c1f9aa3e3f..0000000000 --- a/kubernetes/test/test_v1_tcp_socket_action.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_tcp_socket_action import V1TCPSocketAction # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TCPSocketAction(unittest.TestCase): - """V1TCPSocketAction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TCPSocketAction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_tcp_socket_action.V1TCPSocketAction() # noqa: E501 - if include_optional : - return V1TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port() - ) - else : - return V1TCPSocketAction( - port = kubernetes.client.models.port.port(), - ) - - def testV1TCPSocketAction(self): - """Test V1TCPSocketAction""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_request.py b/kubernetes/test/test_v1_token_request.py deleted file mode 100644 index 0132fe5578..0000000000 --- a/kubernetes/test/test_v1_token_request.py +++ /dev/null @@ -1,115 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_request import V1TokenRequest # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenRequest(unittest.TestCase): - """V1TokenRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_request.V1TokenRequest() # noqa: E501 - if include_optional : - return V1TokenRequest( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/token_request_spec.v1.TokenRequestSpec( - audiences = [ - '0' - ], - bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0', ), - expiration_seconds = 56, ), - status = kubernetes.client.models.v1/token_request_status.v1.TokenRequestStatus( - expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - token = '0', ) - ) - else : - return V1TokenRequest( - spec = kubernetes.client.models.v1/token_request_spec.v1.TokenRequestSpec( - audiences = [ - '0' - ], - bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0', ), - expiration_seconds = 56, ), - ) - - def testV1TokenRequest(self): - """Test V1TokenRequest""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_request_spec.py b/kubernetes/test/test_v1_token_request_spec.py deleted file mode 100644 index 50ba27ca9d..0000000000 --- a/kubernetes/test/test_v1_token_request_spec.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_request_spec import V1TokenRequestSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenRequestSpec(unittest.TestCase): - """V1TokenRequestSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenRequestSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_request_spec.V1TokenRequestSpec() # noqa: E501 - if include_optional : - return V1TokenRequestSpec( - audiences = [ - '0' - ], - bound_object_ref = kubernetes.client.models.v1/bound_object_reference.v1.BoundObjectReference( - api_version = '0', - kind = '0', - name = '0', - uid = '0', ), - expiration_seconds = 56 - ) - else : - return V1TokenRequestSpec( - audiences = [ - '0' - ], - ) - - def testV1TokenRequestSpec(self): - """Test V1TokenRequestSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_request_status.py b/kubernetes/test/test_v1_token_request_status.py deleted file mode 100644 index 74fb031805..0000000000 --- a/kubernetes/test/test_v1_token_request_status.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_request_status import V1TokenRequestStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenRequestStatus(unittest.TestCase): - """V1TokenRequestStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenRequestStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_request_status.V1TokenRequestStatus() # noqa: E501 - if include_optional : - return V1TokenRequestStatus( - expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - token = '0' - ) - else : - return V1TokenRequestStatus( - expiration_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - token = '0', - ) - - def testV1TokenRequestStatus(self): - """Test V1TokenRequestStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_review.py b/kubernetes/test/test_v1_token_review.py deleted file mode 100644 index b94834554c..0000000000 --- a/kubernetes/test/test_v1_token_review.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_review import V1TokenReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenReview(unittest.TestCase): - """V1TokenReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_review.V1TokenReview() # noqa: E501 - if include_optional : - return V1TokenReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/token_review_spec.v1.TokenReviewSpec( - audiences = [ - '0' - ], - token = '0', ), - status = kubernetes.client.models.v1/token_review_status.v1.TokenReviewStatus( - audiences = [ - '0' - ], - authenticated = True, - error = '0', - user = kubernetes.client.models.v1/user_info.v1.UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0', ), ) - ) - else : - return V1TokenReview( - spec = kubernetes.client.models.v1/token_review_spec.v1.TokenReviewSpec( - audiences = [ - '0' - ], - token = '0', ), - ) - - def testV1TokenReview(self): - """Test V1TokenReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_review_spec.py b/kubernetes/test/test_v1_token_review_spec.py deleted file mode 100644 index 7f2e0750a0..0000000000 --- a/kubernetes/test/test_v1_token_review_spec.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_review_spec import V1TokenReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenReviewSpec(unittest.TestCase): - """V1TokenReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_review_spec.V1TokenReviewSpec() # noqa: E501 - if include_optional : - return V1TokenReviewSpec( - audiences = [ - '0' - ], - token = '0' - ) - else : - return V1TokenReviewSpec( - ) - - def testV1TokenReviewSpec(self): - """Test V1TokenReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_token_review_status.py b/kubernetes/test/test_v1_token_review_status.py deleted file mode 100644 index 3922b61068..0000000000 --- a/kubernetes/test/test_v1_token_review_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_token_review_status import V1TokenReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TokenReviewStatus(unittest.TestCase): - """V1TokenReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TokenReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_token_review_status.V1TokenReviewStatus() # noqa: E501 - if include_optional : - return V1TokenReviewStatus( - audiences = [ - '0' - ], - authenticated = True, - error = '0', - user = kubernetes.client.models.v1/user_info.v1.UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0', ) - ) - else : - return V1TokenReviewStatus( - ) - - def testV1TokenReviewStatus(self): - """Test V1TokenReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_toleration.py b/kubernetes/test/test_v1_toleration.py deleted file mode 100644 index 5894ce0999..0000000000 --- a/kubernetes/test/test_v1_toleration.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_toleration import V1Toleration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Toleration(unittest.TestCase): - """V1Toleration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Toleration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_toleration.V1Toleration() # noqa: E501 - if include_optional : - return V1Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0' - ) - else : - return V1Toleration( - ) - - def testV1Toleration(self): - """Test V1Toleration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_topology_selector_label_requirement.py b/kubernetes/test/test_v1_topology_selector_label_requirement.py deleted file mode 100644 index 33d2808cf4..0000000000 --- a/kubernetes/test/test_v1_topology_selector_label_requirement.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_topology_selector_label_requirement import V1TopologySelectorLabelRequirement # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TopologySelectorLabelRequirement(unittest.TestCase): - """V1TopologySelectorLabelRequirement unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TopologySelectorLabelRequirement - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_topology_selector_label_requirement.V1TopologySelectorLabelRequirement() # noqa: E501 - if include_optional : - return V1TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ] - ) - else : - return V1TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], - ) - - def testV1TopologySelectorLabelRequirement(self): - """Test V1TopologySelectorLabelRequirement""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_topology_selector_term.py b/kubernetes/test/test_v1_topology_selector_term.py deleted file mode 100644 index fa15037edb..0000000000 --- a/kubernetes/test/test_v1_topology_selector_term.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_topology_selector_term import V1TopologySelectorTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TopologySelectorTerm(unittest.TestCase): - """V1TopologySelectorTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TopologySelectorTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_topology_selector_term.V1TopologySelectorTerm() # noqa: E501 - if include_optional : - return V1TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ] - ) - else : - return V1TopologySelectorTerm( - ) - - def testV1TopologySelectorTerm(self): - """Test V1TopologySelectorTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_topology_spread_constraint.py b/kubernetes/test/test_v1_topology_spread_constraint.py deleted file mode 100644 index 4c5db04412..0000000000 --- a/kubernetes/test/test_v1_topology_spread_constraint.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_topology_spread_constraint import V1TopologySpreadConstraint # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TopologySpreadConstraint(unittest.TestCase): - """V1TopologySpreadConstraint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TopologySpreadConstraint - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_topology_spread_constraint.V1TopologySpreadConstraint() # noqa: E501 - if include_optional : - return V1TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0' - ) - else : - return V1TopologySpreadConstraint( - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', - ) - - def testV1TopologySpreadConstraint(self): - """Test V1TopologySpreadConstraint""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_typed_local_object_reference.py b/kubernetes/test/test_v1_typed_local_object_reference.py deleted file mode 100644 index fd3cc88ed2..0000000000 --- a/kubernetes/test/test_v1_typed_local_object_reference.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_typed_local_object_reference import V1TypedLocalObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1TypedLocalObjectReference(unittest.TestCase): - """V1TypedLocalObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1TypedLocalObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_typed_local_object_reference.V1TypedLocalObjectReference() # noqa: E501 - if include_optional : - return V1TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0' - ) - else : - return V1TypedLocalObjectReference( - kind = '0', - name = '0', - ) - - def testV1TypedLocalObjectReference(self): - """Test V1TypedLocalObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_user_info.py b/kubernetes/test/test_v1_user_info.py deleted file mode 100644 index 5047dc2bd3..0000000000 --- a/kubernetes/test/test_v1_user_info.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_user_info import V1UserInfo # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1UserInfo(unittest.TestCase): - """V1UserInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1UserInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_user_info.V1UserInfo() # noqa: E501 - if include_optional : - return V1UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0' - ) - else : - return V1UserInfo( - ) - - def testV1UserInfo(self): - """Test V1UserInfo""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook.py b/kubernetes/test/test_v1_validating_webhook.py deleted file mode 100644 index 844676278a..0000000000 --- a/kubernetes/test/test_v1_validating_webhook.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_validating_webhook import V1ValidatingWebhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ValidatingWebhook(unittest.TestCase): - """V1ValidatingWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ValidatingWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_validating_webhook.V1ValidatingWebhook() # noqa: E501 - if include_optional : - return V1ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56 - ) - else : - return V1ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - name = '0', - side_effects = '0', - ) - - def testV1ValidatingWebhook(self): - """Test V1ValidatingWebhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook_configuration.py b/kubernetes/test/test_v1_validating_webhook_configuration.py deleted file mode 100644 index e89f499f51..0000000000 --- a/kubernetes/test/test_v1_validating_webhook_configuration.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ValidatingWebhookConfiguration(unittest.TestCase): - """V1ValidatingWebhookConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ValidatingWebhookConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_validating_webhook_configuration.V1ValidatingWebhookConfiguration() # noqa: E501 - if include_optional : - return V1ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ] - ) - else : - return V1ValidatingWebhookConfiguration( - ) - - def testV1ValidatingWebhookConfiguration(self): - """Test V1ValidatingWebhookConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_validating_webhook_configuration_list.py b/kubernetes/test/test_v1_validating_webhook_configuration_list.py deleted file mode 100644 index 9cb590e9ad..0000000000 --- a/kubernetes/test/test_v1_validating_webhook_configuration_list.py +++ /dev/null @@ -1,242 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1ValidatingWebhookConfigurationList(unittest.TestCase): - """V1ValidatingWebhookConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1ValidatingWebhookConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_validating_webhook_configuration_list.V1ValidatingWebhookConfigurationList() # noqa: E501 - if include_optional : - return V1ValidatingWebhookConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1/validating_webhook_configuration.v1.ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1ValidatingWebhookConfigurationList( - items = [ - kubernetes.client.models.v1/validating_webhook_configuration.v1.ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1/validating_webhook.v1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1/webhook_client_config.admissionregistration.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1/service_reference.admissionregistration.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1/rule_with_operations.v1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - ) - - def testV1ValidatingWebhookConfigurationList(self): - """Test V1ValidatingWebhookConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume.py b/kubernetes/test/test_v1_volume.py deleted file mode 100644 index 7ffef7b466..0000000000 --- a/kubernetes/test/test_v1_volume.py +++ /dev/null @@ -1,263 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume import V1Volume # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1Volume(unittest.TestCase): - """V1Volume unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1Volume - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume.V1Volume() # noqa: E501 - if include_optional : - return V1Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), ) - ], ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection(), - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ) - ) - else : - return V1Volume( - name = '0', - ) - - def testV1Volume(self): - """Test V1Volume""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment.py b/kubernetes/test/test_v1_volume_attachment.py deleted file mode 100644 index 11bea4cc88..0000000000 --- a/kubernetes/test/test_v1_volume_attachment.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment import V1VolumeAttachment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachment(unittest.TestCase): - """V1VolumeAttachment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment.V1VolumeAttachment() # noqa: E501 - if include_optional : - return V1VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ) - else : - return V1VolumeAttachment( - spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - ) - - def testV1VolumeAttachment(self): - """Test V1VolumeAttachment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_list.py b/kubernetes/test/test_v1_volume_attachment_list.py deleted file mode 100644 index 54e2ecfa3d..0000000000 --- a/kubernetes/test/test_v1_volume_attachment_list.py +++ /dev/null @@ -1,560 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment_list import V1VolumeAttachmentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachmentList(unittest.TestCase): - """V1VolumeAttachmentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachmentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment_list.V1VolumeAttachmentList() # noqa: E501 - if include_optional : - return V1VolumeAttachmentList( - api_version = '0', - items = [ - kubernetes.client.models.v1/volume_attachment.v1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1VolumeAttachmentList( - items = [ - kubernetes.client.models.v1/volume_attachment.v1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/volume_attachment_spec.v1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1/volume_attachment_status.v1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - ) - - def testV1VolumeAttachmentList(self): - """Test V1VolumeAttachmentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_source.py b/kubernetes/test/test_v1_volume_attachment_source.py deleted file mode 100644 index 668f45a847..0000000000 --- a/kubernetes/test/test_v1_volume_attachment_source.py +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment_source import V1VolumeAttachmentSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachmentSource(unittest.TestCase): - """V1VolumeAttachmentSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachmentSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment_source.V1VolumeAttachmentSource() # noqa: E501 - if include_optional : - return V1VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0' - ) - else : - return V1VolumeAttachmentSource( - ) - - def testV1VolumeAttachmentSource(self): - """Test V1VolumeAttachmentSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_spec.py b/kubernetes/test/test_v1_volume_attachment_spec.py deleted file mode 100644 index d13de4908f..0000000000 --- a/kubernetes/test/test_v1_volume_attachment_spec.py +++ /dev/null @@ -1,441 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment_spec import V1VolumeAttachmentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachmentSpec(unittest.TestCase): - """V1VolumeAttachmentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachmentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment_spec.V1VolumeAttachmentSpec() # noqa: E501 - if include_optional : - return V1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ) - ) - else : - return V1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1/volume_attachment_source.v1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), - ) - - def testV1VolumeAttachmentSpec(self): - """Test V1VolumeAttachmentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_attachment_status.py b/kubernetes/test/test_v1_volume_attachment_status.py deleted file mode 100644 index 39a8f06d0c..0000000000 --- a/kubernetes/test/test_v1_volume_attachment_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_attachment_status import V1VolumeAttachmentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeAttachmentStatus(unittest.TestCase): - """V1VolumeAttachmentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeAttachmentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_attachment_status.V1VolumeAttachmentStatus() # noqa: E501 - if include_optional : - return V1VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1/volume_error.v1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1VolumeAttachmentStatus( - attached = True, - ) - - def testV1VolumeAttachmentStatus(self): - """Test V1VolumeAttachmentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_device.py b/kubernetes/test/test_v1_volume_device.py deleted file mode 100644 index 969bbb5f5e..0000000000 --- a/kubernetes/test/test_v1_volume_device.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_device import V1VolumeDevice # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeDevice(unittest.TestCase): - """V1VolumeDevice unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeDevice - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_device.V1VolumeDevice() # noqa: E501 - if include_optional : - return V1VolumeDevice( - device_path = '0', - name = '0' - ) - else : - return V1VolumeDevice( - device_path = '0', - name = '0', - ) - - def testV1VolumeDevice(self): - """Test V1VolumeDevice""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_error.py b/kubernetes/test/test_v1_volume_error.py deleted file mode 100644 index 8a1a161cfa..0000000000 --- a/kubernetes/test/test_v1_volume_error.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_error import V1VolumeError # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeError(unittest.TestCase): - """V1VolumeError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_error.V1VolumeError() # noqa: E501 - if include_optional : - return V1VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1VolumeError( - ) - - def testV1VolumeError(self): - """Test V1VolumeError""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_mount.py b/kubernetes/test/test_v1_volume_mount.py deleted file mode 100644 index b39616a551..0000000000 --- a/kubernetes/test/test_v1_volume_mount.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_mount import V1VolumeMount # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeMount(unittest.TestCase): - """V1VolumeMount unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeMount - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_mount.V1VolumeMount() # noqa: E501 - if include_optional : - return V1VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0' - ) - else : - return V1VolumeMount( - mount_path = '0', - name = '0', - ) - - def testV1VolumeMount(self): - """Test V1VolumeMount""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_node_affinity.py b/kubernetes/test/test_v1_volume_node_affinity.py deleted file mode 100644 index 30a60ec002..0000000000 --- a/kubernetes/test/test_v1_volume_node_affinity.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_node_affinity import V1VolumeNodeAffinity # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeNodeAffinity(unittest.TestCase): - """V1VolumeNodeAffinity unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeNodeAffinity - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_node_affinity.V1VolumeNodeAffinity() # noqa: E501 - if include_optional : - return V1VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ) - ) - else : - return V1VolumeNodeAffinity( - ) - - def testV1VolumeNodeAffinity(self): - """Test V1VolumeNodeAffinity""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_node_resources.py b/kubernetes/test/test_v1_volume_node_resources.py deleted file mode 100644 index 700888b90f..0000000000 --- a/kubernetes/test/test_v1_volume_node_resources.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_node_resources import V1VolumeNodeResources # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeNodeResources(unittest.TestCase): - """V1VolumeNodeResources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeNodeResources - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_node_resources.V1VolumeNodeResources() # noqa: E501 - if include_optional : - return V1VolumeNodeResources( - count = 56 - ) - else : - return V1VolumeNodeResources( - ) - - def testV1VolumeNodeResources(self): - """Test V1VolumeNodeResources""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_volume_projection.py b/kubernetes/test/test_v1_volume_projection.py deleted file mode 100644 index 8afcc803c5..0000000000 --- a/kubernetes/test/test_v1_volume_projection.py +++ /dev/null @@ -1,86 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_volume_projection import V1VolumeProjection # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VolumeProjection(unittest.TestCase): - """V1VolumeProjection unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VolumeProjection - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_volume_projection.V1VolumeProjection() # noqa: E501 - if include_optional : - return V1VolumeProjection( - config_map = kubernetes.client.models.v1/config_map_projection.v1.ConfigMapProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - downward_api = kubernetes.client.models.v1/downward_api_projection.v1.DownwardAPIProjection( - items = [ - kubernetes.client.models.v1/downward_api_volume_file.v1.DownwardAPIVolumeFile( - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - mode = 56, - path = '0', - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), ) - ], ), - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ) - ) - else : - return V1VolumeProjection( - ) - - def testV1VolumeProjection(self): - """Test V1VolumeProjection""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py deleted file mode 100644 index 6ec13e8538..0000000000 --- a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1VsphereVirtualDiskVolumeSource(unittest.TestCase): - """V1VsphereVirtualDiskVolumeSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1VsphereVirtualDiskVolumeSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_vsphere_virtual_disk_volume_source.V1VsphereVirtualDiskVolumeSource() # noqa: E501 - if include_optional : - return V1VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0' - ) - else : - return V1VsphereVirtualDiskVolumeSource( - volume_path = '0', - ) - - def testV1VsphereVirtualDiskVolumeSource(self): - """Test V1VsphereVirtualDiskVolumeSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_watch_event.py b/kubernetes/test/test_v1_watch_event.py deleted file mode 100644 index c162bab22c..0000000000 --- a/kubernetes/test/test_v1_watch_event.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_watch_event import V1WatchEvent # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1WatchEvent(unittest.TestCase): - """V1WatchEvent unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1WatchEvent - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_watch_event.V1WatchEvent() # noqa: E501 - if include_optional : - return V1WatchEvent( - object = None, - type = '0' - ) - else : - return V1WatchEvent( - object = None, - type = '0', - ) - - def testV1WatchEvent(self): - """Test V1WatchEvent""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_webhook_conversion.py b/kubernetes/test/test_v1_webhook_conversion.py deleted file mode 100644 index 97ce5b2fea..0000000000 --- a/kubernetes/test/test_v1_webhook_conversion.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_webhook_conversion import V1WebhookConversion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1WebhookConversion(unittest.TestCase): - """V1WebhookConversion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1WebhookConversion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_webhook_conversion.V1WebhookConversion() # noqa: E501 - if include_optional : - return V1WebhookConversion( - kubernetes.client_config = kubernetes.client.models.apiextensions/v1/webhook_client_config.apiextensions.v1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1/service_reference.apiextensions.v1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - conversion_review_versions = [ - '0' - ] - ) - else : - return V1WebhookConversion( - conversion_review_versions = [ - '0' - ], - ) - - def testV1WebhookConversion(self): - """Test V1WebhookConversion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_weighted_pod_affinity_term.py b/kubernetes/test/test_v1_weighted_pod_affinity_term.py deleted file mode 100644 index cd8eb30495..0000000000 --- a/kubernetes/test/test_v1_weighted_pod_affinity_term.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1WeightedPodAffinityTerm(unittest.TestCase): - """V1WeightedPodAffinityTerm unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1WeightedPodAffinityTerm - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_weighted_pod_affinity_term.V1WeightedPodAffinityTerm() # noqa: E501 - if include_optional : - return V1WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56 - ) - else : - return V1WeightedPodAffinityTerm( - pod_affinity_term = kubernetes.client.models.v1/pod_affinity_term.v1.PodAffinityTerm( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - namespaces = [ - '0' - ], - topology_key = '0', ), - weight = 56, - ) - - def testV1WeightedPodAffinityTerm(self): - """Test V1WeightedPodAffinityTerm""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1_windows_security_context_options.py b/kubernetes/test/test_v1_windows_security_context_options.py deleted file mode 100644 index 34c4f31ae3..0000000000 --- a/kubernetes/test/test_v1_windows_security_context_options.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1WindowsSecurityContextOptions(unittest.TestCase): - """V1WindowsSecurityContextOptions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1WindowsSecurityContextOptions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1_windows_security_context_options.V1WindowsSecurityContextOptions() # noqa: E501 - if include_optional : - return V1WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0' - ) - else : - return V1WindowsSecurityContextOptions( - ) - - def testV1WindowsSecurityContextOptions(self): - """Test V1WindowsSecurityContextOptions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_aggregation_rule.py b/kubernetes/test/test_v1alpha1_aggregation_rule.py deleted file mode 100644 index 213701c0ff..0000000000 --- a/kubernetes/test/test_v1alpha1_aggregation_rule.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_aggregation_rule import V1alpha1AggregationRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1AggregationRule(unittest.TestCase): - """V1alpha1AggregationRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1AggregationRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_aggregation_rule.V1alpha1AggregationRule() # noqa: E501 - if include_optional : - return V1alpha1AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ] - ) - else : - return V1alpha1AggregationRule( - ) - - def testV1alpha1AggregationRule(self): - """Test V1alpha1AggregationRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink.py b/kubernetes/test/test_v1alpha1_audit_sink.py deleted file mode 100644 index 24bbe6f9a6..0000000000 --- a/kubernetes/test/test_v1alpha1_audit_sink.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_audit_sink import V1alpha1AuditSink # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1AuditSink(unittest.TestCase): - """V1alpha1AuditSink unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1AuditSink - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_audit_sink.V1alpha1AuditSink() # noqa: E501 - if include_optional : - return V1alpha1AuditSink( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ), ) - ) - else : - return V1alpha1AuditSink( - ) - - def testV1alpha1AuditSink(self): - """Test V1alpha1AuditSink""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink_list.py b/kubernetes/test/test_v1alpha1_audit_sink_list.py deleted file mode 100644 index f85a072208..0000000000 --- a/kubernetes/test/test_v1alpha1_audit_sink_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_audit_sink_list import V1alpha1AuditSinkList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1AuditSinkList(unittest.TestCase): - """V1alpha1AuditSinkList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1AuditSinkList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_audit_sink_list.V1alpha1AuditSinkList() # noqa: E501 - if include_optional : - return V1alpha1AuditSinkList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/audit_sink.v1alpha1.AuditSink( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1AuditSinkList( - items = [ - kubernetes.client.models.v1alpha1/audit_sink.v1alpha1.AuditSink( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/audit_sink_spec.v1alpha1.AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ), ), ) - ], - ) - - def testV1alpha1AuditSinkList(self): - """Test V1alpha1AuditSinkList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_audit_sink_spec.py b/kubernetes/test/test_v1alpha1_audit_sink_spec.py deleted file mode 100644 index 6b81f9b78e..0000000000 --- a/kubernetes/test/test_v1alpha1_audit_sink_spec.py +++ /dev/null @@ -1,85 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_audit_sink_spec import V1alpha1AuditSinkSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1AuditSinkSpec(unittest.TestCase): - """V1alpha1AuditSinkSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1AuditSinkSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_audit_sink_spec.V1alpha1AuditSinkSpec() # noqa: E501 - if include_optional : - return V1alpha1AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ) - ) - else : - return V1alpha1AuditSinkSpec( - policy = kubernetes.client.models.v1alpha1/policy.v1alpha1.Policy( - level = '0', - stages = [ - '0' - ], ), - webhook = kubernetes.client.models.v1alpha1/webhook.v1alpha1.Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ), ), - ) - - def testV1alpha1AuditSinkSpec(self): - """Test V1alpha1AuditSinkSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role.py b/kubernetes/test/test_v1alpha1_cluster_role.py deleted file mode 100644 index df2a9aad1e..0000000000 --- a/kubernetes/test/test_v1alpha1_cluster_role.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_cluster_role import V1alpha1ClusterRole # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ClusterRole(unittest.TestCase): - """V1alpha1ClusterRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ClusterRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_cluster_role.V1alpha1ClusterRole() # noqa: E501 - if include_optional : - return V1alpha1ClusterRole( - aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1alpha1ClusterRole( - ) - - def testV1alpha1ClusterRole(self): - """Test V1alpha1ClusterRole""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding.py b/kubernetes/test/test_v1alpha1_cluster_role_binding.py deleted file mode 100644 index a00b544fca..0000000000 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_cluster_role_binding import V1alpha1ClusterRoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ClusterRoleBinding(unittest.TestCase): - """V1alpha1ClusterRoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ClusterRoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_cluster_role_binding.V1alpha1ClusterRoleBinding() # noqa: E501 - if include_optional : - return V1alpha1ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1alpha1ClusterRoleBinding( - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1alpha1ClusterRoleBinding(self): - """Test V1alpha1ClusterRoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py deleted file mode 100644 index a923b95a12..0000000000 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_cluster_role_binding_list import V1alpha1ClusterRoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ClusterRoleBindingList(unittest.TestCase): - """V1alpha1ClusterRoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ClusterRoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_cluster_role_binding_list.V1alpha1ClusterRoleBindingList() # noqa: E501 - if include_optional : - return V1alpha1ClusterRoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/cluster_role_binding.v1alpha1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1ClusterRoleBindingList( - items = [ - kubernetes.client.models.v1alpha1/cluster_role_binding.v1alpha1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1alpha1ClusterRoleBindingList(self): - """Test V1alpha1ClusterRoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_cluster_role_list.py b/kubernetes/test/test_v1alpha1_cluster_role_list.py deleted file mode 100644 index 01b431759b..0000000000 --- a/kubernetes/test/test_v1alpha1_cluster_role_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_cluster_role_list import V1alpha1ClusterRoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ClusterRoleList(unittest.TestCase): - """V1alpha1ClusterRoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ClusterRoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_cluster_role_list.V1alpha1ClusterRoleList() # noqa: E501 - if include_optional : - return V1alpha1ClusterRoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/cluster_role.v1alpha1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1ClusterRoleList( - items = [ - kubernetes.client.models.v1alpha1/cluster_role.v1alpha1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1alpha1/aggregation_rule.v1alpha1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1alpha1ClusterRoleList(self): - """Test V1alpha1ClusterRoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_distinguisher_method.py b/kubernetes/test/test_v1alpha1_flow_distinguisher_method.py deleted file mode 100644 index a77ca1c3d2..0000000000 --- a/kubernetes/test/test_v1alpha1_flow_distinguisher_method.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_flow_distinguisher_method import V1alpha1FlowDistinguisherMethod # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1FlowDistinguisherMethod(unittest.TestCase): - """V1alpha1FlowDistinguisherMethod unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1FlowDistinguisherMethod - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_flow_distinguisher_method.V1alpha1FlowDistinguisherMethod() # noqa: E501 - if include_optional : - return V1alpha1FlowDistinguisherMethod( - type = '0' - ) - else : - return V1alpha1FlowDistinguisherMethod( - type = '0', - ) - - def testV1alpha1FlowDistinguisherMethod(self): - """Test V1alpha1FlowDistinguisherMethod""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema.py b/kubernetes/test/test_v1alpha1_flow_schema.py deleted file mode 100644 index c1289d8d33..0000000000 --- a/kubernetes/test/test_v1alpha1_flow_schema.py +++ /dev/null @@ -1,145 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_flow_schema import V1alpha1FlowSchema # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1FlowSchema(unittest.TestCase): - """V1alpha1FlowSchema unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1FlowSchema - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_flow_schema.V1alpha1FlowSchema() # noqa: E501 - if include_optional : - return V1alpha1FlowSchema( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/flow_schema_spec.v1alpha1.FlowSchemaSpec( - distinguisher_method = kubernetes.client.models.v1alpha1/flow_distinguisher_method.v1alpha1.FlowDistinguisherMethod( - type = '0', ), - matching_precedence = 56, - priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( - name = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rules_with_subjects.v1alpha1.PolicyRulesWithSubjects( - non_resource_rules = [ - kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( - api_groups = [ - '0' - ], - cluster_scope = True, - namespaces = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - subjects = [ - kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( - group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( - name = '0', ), - kind = '0', - service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( - name = '0', - namespace = '0', ), - user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( - name = '0', ), ) - ], ) - ], ), - status = kubernetes.client.models.v1alpha1/flow_schema_status.v1alpha1.FlowSchemaStatus( - conditions = [ - kubernetes.client.models.v1alpha1/flow_schema_condition.v1alpha1.FlowSchemaCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ) - ) - else : - return V1alpha1FlowSchema( - ) - - def testV1alpha1FlowSchema(self): - """Test V1alpha1FlowSchema""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema_condition.py b/kubernetes/test/test_v1alpha1_flow_schema_condition.py deleted file mode 100644 index dc34d2e929..0000000000 --- a/kubernetes/test/test_v1alpha1_flow_schema_condition.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_flow_schema_condition import V1alpha1FlowSchemaCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1FlowSchemaCondition(unittest.TestCase): - """V1alpha1FlowSchemaCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1FlowSchemaCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_flow_schema_condition.V1alpha1FlowSchemaCondition() # noqa: E501 - if include_optional : - return V1alpha1FlowSchemaCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1alpha1FlowSchemaCondition( - ) - - def testV1alpha1FlowSchemaCondition(self): - """Test V1alpha1FlowSchemaCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema_list.py b/kubernetes/test/test_v1alpha1_flow_schema_list.py deleted file mode 100644 index 98073677d3..0000000000 --- a/kubernetes/test/test_v1alpha1_flow_schema_list.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_flow_schema_list import V1alpha1FlowSchemaList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1FlowSchemaList(unittest.TestCase): - """V1alpha1FlowSchemaList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1FlowSchemaList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_flow_schema_list.V1alpha1FlowSchemaList() # noqa: E501 - if include_optional : - return V1alpha1FlowSchemaList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/flow_schema.v1alpha1.FlowSchema( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/flow_schema_spec.v1alpha1.FlowSchemaSpec( - distinguisher_method = kubernetes.client.models.v1alpha1/flow_distinguisher_method.v1alpha1.FlowDistinguisherMethod( - type = '0', ), - matching_precedence = 56, - priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( - name = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rules_with_subjects.v1alpha1.PolicyRulesWithSubjects( - non_resource_rules = [ - kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( - api_groups = [ - '0' - ], - cluster_scope = True, - namespaces = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - subjects = [ - kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( - group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( - name = '0', ), - kind = '0', - service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( - name = '0', - namespace = '0', ), - user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( - name = '0', ), ) - ], ) - ], ), - status = kubernetes.client.models.v1alpha1/flow_schema_status.v1alpha1.FlowSchemaStatus( - conditions = [ - kubernetes.client.models.v1alpha1/flow_schema_condition.v1alpha1.FlowSchemaCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1FlowSchemaList( - items = [ - kubernetes.client.models.v1alpha1/flow_schema.v1alpha1.FlowSchema( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/flow_schema_spec.v1alpha1.FlowSchemaSpec( - distinguisher_method = kubernetes.client.models.v1alpha1/flow_distinguisher_method.v1alpha1.FlowDistinguisherMethod( - type = '0', ), - matching_precedence = 56, - priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( - name = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rules_with_subjects.v1alpha1.PolicyRulesWithSubjects( - non_resource_rules = [ - kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( - api_groups = [ - '0' - ], - cluster_scope = True, - namespaces = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - subjects = [ - kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( - group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( - name = '0', ), - kind = '0', - service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( - name = '0', - namespace = '0', ), - user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( - name = '0', ), ) - ], ) - ], ), - status = kubernetes.client.models.v1alpha1/flow_schema_status.v1alpha1.FlowSchemaStatus( - conditions = [ - kubernetes.client.models.v1alpha1/flow_schema_condition.v1alpha1.FlowSchemaCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ), ) - ], - ) - - def testV1alpha1FlowSchemaList(self): - """Test V1alpha1FlowSchemaList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema_spec.py b/kubernetes/test/test_v1alpha1_flow_schema_spec.py deleted file mode 100644 index f2575445b3..0000000000 --- a/kubernetes/test/test_v1alpha1_flow_schema_spec.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_flow_schema_spec import V1alpha1FlowSchemaSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1FlowSchemaSpec(unittest.TestCase): - """V1alpha1FlowSchemaSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1FlowSchemaSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_flow_schema_spec.V1alpha1FlowSchemaSpec() # noqa: E501 - if include_optional : - return V1alpha1FlowSchemaSpec( - distinguisher_method = kubernetes.client.models.v1alpha1/flow_distinguisher_method.v1alpha1.FlowDistinguisherMethod( - type = '0', ), - matching_precedence = 56, - priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( - name = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rules_with_subjects.v1alpha1.PolicyRulesWithSubjects( - non_resource_rules = [ - kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( - api_groups = [ - '0' - ], - cluster_scope = True, - namespaces = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - subjects = [ - kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( - group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( - name = '0', ), - kind = '0', - service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( - name = '0', - namespace = '0', ), - user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( - name = '0', ), ) - ], ) - ] - ) - else : - return V1alpha1FlowSchemaSpec( - priority_level_configuration = kubernetes.client.models.v1alpha1/priority_level_configuration_reference.v1alpha1.PriorityLevelConfigurationReference( - name = '0', ), - ) - - def testV1alpha1FlowSchemaSpec(self): - """Test V1alpha1FlowSchemaSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_flow_schema_status.py b/kubernetes/test/test_v1alpha1_flow_schema_status.py deleted file mode 100644 index 2662062b64..0000000000 --- a/kubernetes/test/test_v1alpha1_flow_schema_status.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_flow_schema_status import V1alpha1FlowSchemaStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1FlowSchemaStatus(unittest.TestCase): - """V1alpha1FlowSchemaStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1FlowSchemaStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_flow_schema_status.V1alpha1FlowSchemaStatus() # noqa: E501 - if include_optional : - return V1alpha1FlowSchemaStatus( - conditions = [ - kubernetes.client.models.v1alpha1/flow_schema_condition.v1alpha1.FlowSchemaCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ] - ) - else : - return V1alpha1FlowSchemaStatus( - ) - - def testV1alpha1FlowSchemaStatus(self): - """Test V1alpha1FlowSchemaStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_group_subject.py b/kubernetes/test/test_v1alpha1_group_subject.py deleted file mode 100644 index 5b268d3bcc..0000000000 --- a/kubernetes/test/test_v1alpha1_group_subject.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_group_subject import V1alpha1GroupSubject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1GroupSubject(unittest.TestCase): - """V1alpha1GroupSubject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1GroupSubject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_group_subject.V1alpha1GroupSubject() # noqa: E501 - if include_optional : - return V1alpha1GroupSubject( - name = '0' - ) - else : - return V1alpha1GroupSubject( - name = '0', - ) - - def testV1alpha1GroupSubject(self): - """Test V1alpha1GroupSubject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_limit_response.py b/kubernetes/test/test_v1alpha1_limit_response.py deleted file mode 100644 index d8833b561e..0000000000 --- a/kubernetes/test/test_v1alpha1_limit_response.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_limit_response import V1alpha1LimitResponse # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1LimitResponse(unittest.TestCase): - """V1alpha1LimitResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1LimitResponse - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_limit_response.V1alpha1LimitResponse() # noqa: E501 - if include_optional : - return V1alpha1LimitResponse( - queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( - hand_size = 56, - queue_length_limit = 56, - queues = 56, ), - type = '0' - ) - else : - return V1alpha1LimitResponse( - type = '0', - ) - - def testV1alpha1LimitResponse(self): - """Test V1alpha1LimitResponse""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_limited_priority_level_configuration.py b/kubernetes/test/test_v1alpha1_limited_priority_level_configuration.py deleted file mode 100644 index e80b3364b9..0000000000 --- a/kubernetes/test/test_v1alpha1_limited_priority_level_configuration.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_limited_priority_level_configuration import V1alpha1LimitedPriorityLevelConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1LimitedPriorityLevelConfiguration(unittest.TestCase): - """V1alpha1LimitedPriorityLevelConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1LimitedPriorityLevelConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_limited_priority_level_configuration.V1alpha1LimitedPriorityLevelConfiguration() # noqa: E501 - if include_optional : - return V1alpha1LimitedPriorityLevelConfiguration( - assured_concurrency_shares = 56, - limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( - queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( - hand_size = 56, - queue_length_limit = 56, - queues = 56, ), - type = '0', ) - ) - else : - return V1alpha1LimitedPriorityLevelConfiguration( - ) - - def testV1alpha1LimitedPriorityLevelConfiguration(self): - """Test V1alpha1LimitedPriorityLevelConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_non_resource_policy_rule.py b/kubernetes/test/test_v1alpha1_non_resource_policy_rule.py deleted file mode 100644 index 98cfb1a897..0000000000 --- a/kubernetes/test/test_v1alpha1_non_resource_policy_rule.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_non_resource_policy_rule import V1alpha1NonResourcePolicyRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1NonResourcePolicyRule(unittest.TestCase): - """V1alpha1NonResourcePolicyRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1NonResourcePolicyRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_non_resource_policy_rule.V1alpha1NonResourcePolicyRule() # noqa: E501 - if include_optional : - return V1alpha1NonResourcePolicyRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1alpha1NonResourcePolicyRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], - ) - - def testV1alpha1NonResourcePolicyRule(self): - """Test V1alpha1NonResourcePolicyRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_overhead.py b/kubernetes/test/test_v1alpha1_overhead.py deleted file mode 100644 index 948f685120..0000000000 --- a/kubernetes/test/test_v1alpha1_overhead.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_overhead import V1alpha1Overhead # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Overhead(unittest.TestCase): - """V1alpha1Overhead unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Overhead - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_overhead.V1alpha1Overhead() # noqa: E501 - if include_optional : - return V1alpha1Overhead( - pod_fixed = { - 'key' : '0' - } - ) - else : - return V1alpha1Overhead( - ) - - def testV1alpha1Overhead(self): - """Test V1alpha1Overhead""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset.py b/kubernetes/test/test_v1alpha1_pod_preset.py deleted file mode 100644 index 13bf8a74b4..0000000000 --- a/kubernetes/test/test_v1alpha1_pod_preset.py +++ /dev/null @@ -1,319 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_pod_preset import V1alpha1PodPreset # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PodPreset(unittest.TestCase): - """V1alpha1PodPreset unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PodPreset - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_pod_preset.V1alpha1PodPreset() # noqa: E501 - if include_optional : - return V1alpha1PodPreset( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ) - ) - else : - return V1alpha1PodPreset( - ) - - def testV1alpha1PodPreset(self): - """Test V1alpha1PodPreset""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset_list.py b/kubernetes/test/test_v1alpha1_pod_preset_list.py deleted file mode 100644 index dc11a90423..0000000000 --- a/kubernetes/test/test_v1alpha1_pod_preset_list.py +++ /dev/null @@ -1,600 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_pod_preset_list import V1alpha1PodPresetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PodPresetList(unittest.TestCase): - """V1alpha1PodPresetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PodPresetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_pod_preset_list.V1alpha1PodPresetList() # noqa: E501 - if include_optional : - return V1alpha1PodPresetList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/pod_preset.v1alpha1.PodPreset( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1PodPresetList( - items = [ - kubernetes.client.models.v1alpha1/pod_preset.v1alpha1.PodPreset( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/pod_preset_spec.v1alpha1.PodPresetSpec( - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ], - ) - - def testV1alpha1PodPresetList(self): - """Test V1alpha1PodPresetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_pod_preset_spec.py b/kubernetes/test/test_v1alpha1_pod_preset_spec.py deleted file mode 100644 index 9f6a5f3de7..0000000000 --- a/kubernetes/test/test_v1alpha1_pod_preset_spec.py +++ /dev/null @@ -1,279 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_pod_preset_spec import V1alpha1PodPresetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PodPresetSpec(unittest.TestCase): - """V1alpha1PodPresetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PodPresetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_pod_preset_spec.V1alpha1PodPresetSpec() # noqa: E501 - if include_optional : - return V1alpha1PodPresetSpec( - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ] - ) - else : - return V1alpha1PodPresetSpec( - ) - - def testV1alpha1PodPresetSpec(self): - """Test V1alpha1PodPresetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy.py b/kubernetes/test/test_v1alpha1_policy.py deleted file mode 100644 index d3b530b313..0000000000 --- a/kubernetes/test/test_v1alpha1_policy.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_policy import V1alpha1Policy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Policy(unittest.TestCase): - """V1alpha1Policy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Policy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_policy.V1alpha1Policy() # noqa: E501 - if include_optional : - return V1alpha1Policy( - level = '0', - stages = [ - '0' - ] - ) - else : - return V1alpha1Policy( - level = '0', - ) - - def testV1alpha1Policy(self): - """Test V1alpha1Policy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy_rule.py b/kubernetes/test/test_v1alpha1_policy_rule.py deleted file mode 100644 index 104cfbb9c0..0000000000 --- a/kubernetes/test/test_v1alpha1_policy_rule.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_policy_rule import V1alpha1PolicyRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PolicyRule(unittest.TestCase): - """V1alpha1PolicyRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PolicyRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_policy_rule.V1alpha1PolicyRule() # noqa: E501 - if include_optional : - return V1alpha1PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1alpha1PolicyRule( - verbs = [ - '0' - ], - ) - - def testV1alpha1PolicyRule(self): - """Test V1alpha1PolicyRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_policy_rules_with_subjects.py b/kubernetes/test/test_v1alpha1_policy_rules_with_subjects.py deleted file mode 100644 index 6fbbba9b96..0000000000 --- a/kubernetes/test/test_v1alpha1_policy_rules_with_subjects.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_policy_rules_with_subjects import V1alpha1PolicyRulesWithSubjects # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PolicyRulesWithSubjects(unittest.TestCase): - """V1alpha1PolicyRulesWithSubjects unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PolicyRulesWithSubjects - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_policy_rules_with_subjects.V1alpha1PolicyRulesWithSubjects() # noqa: E501 - if include_optional : - return V1alpha1PolicyRulesWithSubjects( - non_resource_rules = [ - kubernetes.client.models.v1alpha1/non_resource_policy_rule.v1alpha1.NonResourcePolicyRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1alpha1/resource_policy_rule.v1alpha1.ResourcePolicyRule( - api_groups = [ - '0' - ], - cluster_scope = True, - namespaces = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - subjects = [ - kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( - group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( - name = '0', ), - kind = '0', - service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( - name = '0', - namespace = '0', ), - user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( - name = '0', ), ) - ] - ) - else : - return V1alpha1PolicyRulesWithSubjects( - subjects = [ - kubernetes.client.models.flowcontrol/v1alpha1/subject.flowcontrol.v1alpha1.Subject( - group = kubernetes.client.models.v1alpha1/group_subject.v1alpha1.GroupSubject( - name = '0', ), - kind = '0', - service_account = kubernetes.client.models.v1alpha1/service_account_subject.v1alpha1.ServiceAccountSubject( - name = '0', - namespace = '0', ), - user = kubernetes.client.models.v1alpha1/user_subject.v1alpha1.UserSubject( - name = '0', ), ) - ], - ) - - def testV1alpha1PolicyRulesWithSubjects(self): - """Test V1alpha1PolicyRulesWithSubjects""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_class.py b/kubernetes/test/test_v1alpha1_priority_class.py deleted file mode 100644 index 20573641d1..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_class.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_class import V1alpha1PriorityClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityClass(unittest.TestCase): - """V1alpha1PriorityClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_class.V1alpha1PriorityClass() # noqa: E501 - if include_optional : - return V1alpha1PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56 - ) - else : - return V1alpha1PriorityClass( - value = 56, - ) - - def testV1alpha1PriorityClass(self): - """Test V1alpha1PriorityClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_class_list.py b/kubernetes/test/test_v1alpha1_priority_class_list.py deleted file mode 100644 index c1cab5d216..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_class_list.py +++ /dev/null @@ -1,154 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_class_list import V1alpha1PriorityClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityClassList(unittest.TestCase): - """V1alpha1PriorityClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_class_list.V1alpha1PriorityClassList() # noqa: E501 - if include_optional : - return V1alpha1PriorityClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/priority_class.v1alpha1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1PriorityClassList( - items = [ - kubernetes.client.models.v1alpha1/priority_class.v1alpha1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - ) - - def testV1alpha1PriorityClassList(self): - """Test V1alpha1PriorityClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration.py b/kubernetes/test/test_v1alpha1_priority_level_configuration.py deleted file mode 100644 index 5ddf3bca9b..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_level_configuration.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_level_configuration import V1alpha1PriorityLevelConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityLevelConfiguration(unittest.TestCase): - """V1alpha1PriorityLevelConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityLevelConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_level_configuration.V1alpha1PriorityLevelConfiguration() # noqa: E501 - if include_optional : - return V1alpha1PriorityLevelConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/priority_level_configuration_spec.v1alpha1.PriorityLevelConfigurationSpec( - limited = kubernetes.client.models.v1alpha1/limited_priority_level_configuration.v1alpha1.LimitedPriorityLevelConfiguration( - assured_concurrency_shares = 56, - limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( - queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( - hand_size = 56, - queue_length_limit = 56, - queues = 56, ), - type = '0', ), ), - type = '0', ), - status = kubernetes.client.models.v1alpha1/priority_level_configuration_status.v1alpha1.PriorityLevelConfigurationStatus( - conditions = [ - kubernetes.client.models.v1alpha1/priority_level_configuration_condition.v1alpha1.PriorityLevelConfigurationCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ) - ) - else : - return V1alpha1PriorityLevelConfiguration( - ) - - def testV1alpha1PriorityLevelConfiguration(self): - """Test V1alpha1PriorityLevelConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_condition.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_condition.py deleted file mode 100644 index 69c1bd06fc..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_level_configuration_condition.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_level_configuration_condition import V1alpha1PriorityLevelConfigurationCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityLevelConfigurationCondition(unittest.TestCase): - """V1alpha1PriorityLevelConfigurationCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityLevelConfigurationCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_level_configuration_condition.V1alpha1PriorityLevelConfigurationCondition() # noqa: E501 - if include_optional : - return V1alpha1PriorityLevelConfigurationCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1alpha1PriorityLevelConfigurationCondition( - ) - - def testV1alpha1PriorityLevelConfigurationCondition(self): - """Test V1alpha1PriorityLevelConfigurationCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_list.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_list.py deleted file mode 100644 index 8b0ad2954d..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_level_configuration_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_level_configuration_list import V1alpha1PriorityLevelConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityLevelConfigurationList(unittest.TestCase): - """V1alpha1PriorityLevelConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityLevelConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_level_configuration_list.V1alpha1PriorityLevelConfigurationList() # noqa: E501 - if include_optional : - return V1alpha1PriorityLevelConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/priority_level_configuration.v1alpha1.PriorityLevelConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/priority_level_configuration_spec.v1alpha1.PriorityLevelConfigurationSpec( - limited = kubernetes.client.models.v1alpha1/limited_priority_level_configuration.v1alpha1.LimitedPriorityLevelConfiguration( - assured_concurrency_shares = 56, - limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( - queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( - hand_size = 56, - queue_length_limit = 56, - queues = 56, ), - type = '0', ), ), - type = '0', ), - status = kubernetes.client.models.v1alpha1/priority_level_configuration_status.v1alpha1.PriorityLevelConfigurationStatus( - conditions = [ - kubernetes.client.models.v1alpha1/priority_level_configuration_condition.v1alpha1.PriorityLevelConfigurationCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1PriorityLevelConfigurationList( - items = [ - kubernetes.client.models.v1alpha1/priority_level_configuration.v1alpha1.PriorityLevelConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/priority_level_configuration_spec.v1alpha1.PriorityLevelConfigurationSpec( - limited = kubernetes.client.models.v1alpha1/limited_priority_level_configuration.v1alpha1.LimitedPriorityLevelConfiguration( - assured_concurrency_shares = 56, - limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( - queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( - hand_size = 56, - queue_length_limit = 56, - queues = 56, ), - type = '0', ), ), - type = '0', ), - status = kubernetes.client.models.v1alpha1/priority_level_configuration_status.v1alpha1.PriorityLevelConfigurationStatus( - conditions = [ - kubernetes.client.models.v1alpha1/priority_level_configuration_condition.v1alpha1.PriorityLevelConfigurationCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ), ) - ], - ) - - def testV1alpha1PriorityLevelConfigurationList(self): - """Test V1alpha1PriorityLevelConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_reference.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_reference.py deleted file mode 100644 index 680fbe8621..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_level_configuration_reference.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_level_configuration_reference import V1alpha1PriorityLevelConfigurationReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityLevelConfigurationReference(unittest.TestCase): - """V1alpha1PriorityLevelConfigurationReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityLevelConfigurationReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_level_configuration_reference.V1alpha1PriorityLevelConfigurationReference() # noqa: E501 - if include_optional : - return V1alpha1PriorityLevelConfigurationReference( - name = '0' - ) - else : - return V1alpha1PriorityLevelConfigurationReference( - name = '0', - ) - - def testV1alpha1PriorityLevelConfigurationReference(self): - """Test V1alpha1PriorityLevelConfigurationReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_spec.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_spec.py deleted file mode 100644 index fbbe7044a0..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_level_configuration_spec.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_level_configuration_spec import V1alpha1PriorityLevelConfigurationSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityLevelConfigurationSpec(unittest.TestCase): - """V1alpha1PriorityLevelConfigurationSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityLevelConfigurationSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_level_configuration_spec.V1alpha1PriorityLevelConfigurationSpec() # noqa: E501 - if include_optional : - return V1alpha1PriorityLevelConfigurationSpec( - limited = kubernetes.client.models.v1alpha1/limited_priority_level_configuration.v1alpha1.LimitedPriorityLevelConfiguration( - assured_concurrency_shares = 56, - limit_response = kubernetes.client.models.v1alpha1/limit_response.v1alpha1.LimitResponse( - queuing = kubernetes.client.models.v1alpha1/queuing_configuration.v1alpha1.QueuingConfiguration( - hand_size = 56, - queue_length_limit = 56, - queues = 56, ), - type = '0', ), ), - type = '0' - ) - else : - return V1alpha1PriorityLevelConfigurationSpec( - type = '0', - ) - - def testV1alpha1PriorityLevelConfigurationSpec(self): - """Test V1alpha1PriorityLevelConfigurationSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_priority_level_configuration_status.py b/kubernetes/test/test_v1alpha1_priority_level_configuration_status.py deleted file mode 100644 index 859ac3bd6b..0000000000 --- a/kubernetes/test/test_v1alpha1_priority_level_configuration_status.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_priority_level_configuration_status import V1alpha1PriorityLevelConfigurationStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1PriorityLevelConfigurationStatus(unittest.TestCase): - """V1alpha1PriorityLevelConfigurationStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1PriorityLevelConfigurationStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_priority_level_configuration_status.V1alpha1PriorityLevelConfigurationStatus() # noqa: E501 - if include_optional : - return V1alpha1PriorityLevelConfigurationStatus( - conditions = [ - kubernetes.client.models.v1alpha1/priority_level_configuration_condition.v1alpha1.PriorityLevelConfigurationCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ] - ) - else : - return V1alpha1PriorityLevelConfigurationStatus( - ) - - def testV1alpha1PriorityLevelConfigurationStatus(self): - """Test V1alpha1PriorityLevelConfigurationStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_queuing_configuration.py b/kubernetes/test/test_v1alpha1_queuing_configuration.py deleted file mode 100644 index eef38484a2..0000000000 --- a/kubernetes/test/test_v1alpha1_queuing_configuration.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_queuing_configuration import V1alpha1QueuingConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1QueuingConfiguration(unittest.TestCase): - """V1alpha1QueuingConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1QueuingConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_queuing_configuration.V1alpha1QueuingConfiguration() # noqa: E501 - if include_optional : - return V1alpha1QueuingConfiguration( - hand_size = 56, - queue_length_limit = 56, - queues = 56 - ) - else : - return V1alpha1QueuingConfiguration( - ) - - def testV1alpha1QueuingConfiguration(self): - """Test V1alpha1QueuingConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_resource_policy_rule.py b/kubernetes/test/test_v1alpha1_resource_policy_rule.py deleted file mode 100644 index a7a17b7e00..0000000000 --- a/kubernetes/test/test_v1alpha1_resource_policy_rule.py +++ /dev/null @@ -1,73 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_resource_policy_rule import V1alpha1ResourcePolicyRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ResourcePolicyRule(unittest.TestCase): - """V1alpha1ResourcePolicyRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ResourcePolicyRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_resource_policy_rule.V1alpha1ResourcePolicyRule() # noqa: E501 - if include_optional : - return V1alpha1ResourcePolicyRule( - api_groups = [ - '0' - ], - cluster_scope = True, - namespaces = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1alpha1ResourcePolicyRule( - api_groups = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], - ) - - def testV1alpha1ResourcePolicyRule(self): - """Test V1alpha1ResourcePolicyRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role.py b/kubernetes/test/test_v1alpha1_role.py deleted file mode 100644 index 2d5f820cbc..0000000000 --- a/kubernetes/test/test_v1alpha1_role.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role import V1alpha1Role # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Role(unittest.TestCase): - """V1alpha1Role unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Role - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role.V1alpha1Role() # noqa: E501 - if include_optional : - return V1alpha1Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1alpha1Role( - ) - - def testV1alpha1Role(self): - """Test V1alpha1Role""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_binding.py b/kubernetes/test/test_v1alpha1_role_binding.py deleted file mode 100644 index 2c0c18ec85..0000000000 --- a/kubernetes/test/test_v1alpha1_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role_binding import V1alpha1RoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RoleBinding(unittest.TestCase): - """V1alpha1RoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role_binding.V1alpha1RoleBinding() # noqa: E501 - if include_optional : - return V1alpha1RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1alpha1RoleBinding( - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1alpha1RoleBinding(self): - """Test V1alpha1RoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_binding_list.py b/kubernetes/test/test_v1alpha1_role_binding_list.py deleted file mode 100644 index 793b4fe204..0000000000 --- a/kubernetes/test/test_v1alpha1_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role_binding_list import V1alpha1RoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RoleBindingList(unittest.TestCase): - """V1alpha1RoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role_binding_list.V1alpha1RoleBindingList() # noqa: E501 - if include_optional : - return V1alpha1RoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/role_binding.v1alpha1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1RoleBindingList( - items = [ - kubernetes.client.models.v1alpha1/role_binding.v1alpha1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1alpha1/role_ref.v1alpha1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.rbac/v1alpha1/subject.rbac.v1alpha1.Subject( - api_version = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1alpha1RoleBindingList(self): - """Test V1alpha1RoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_list.py b/kubernetes/test/test_v1alpha1_role_list.py deleted file mode 100644 index 20efc58f56..0000000000 --- a/kubernetes/test/test_v1alpha1_role_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role_list import V1alpha1RoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RoleList(unittest.TestCase): - """V1alpha1RoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role_list.V1alpha1RoleList() # noqa: E501 - if include_optional : - return V1alpha1RoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/role.v1alpha1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1RoleList( - items = [ - kubernetes.client.models.v1alpha1/role.v1alpha1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1alpha1/policy_rule.v1alpha1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1alpha1RoleList(self): - """Test V1alpha1RoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_role_ref.py b/kubernetes/test/test_v1alpha1_role_ref.py deleted file mode 100644 index 381d8a1ce6..0000000000 --- a/kubernetes/test/test_v1alpha1_role_ref.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_role_ref import V1alpha1RoleRef # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RoleRef(unittest.TestCase): - """V1alpha1RoleRef unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RoleRef - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_role_ref.V1alpha1RoleRef() # noqa: E501 - if include_optional : - return V1alpha1RoleRef( - api_group = '0', - kind = '0', - name = '0' - ) - else : - return V1alpha1RoleRef( - api_group = '0', - kind = '0', - name = '0', - ) - - def testV1alpha1RoleRef(self): - """Test V1alpha1RoleRef""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class.py b/kubernetes/test/test_v1alpha1_runtime_class.py deleted file mode 100644 index b2d96a83cc..0000000000 --- a/kubernetes/test/test_v1alpha1_runtime_class.py +++ /dev/null @@ -1,128 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_runtime_class import V1alpha1RuntimeClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RuntimeClass(unittest.TestCase): - """V1alpha1RuntimeClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RuntimeClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_runtime_class.V1alpha1RuntimeClass() # noqa: E501 - if include_optional : - return V1alpha1RuntimeClass( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ) - ) - else : - return V1alpha1RuntimeClass( - spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ), - ) - - def testV1alpha1RuntimeClass(self): - """Test V1alpha1RuntimeClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class_list.py b/kubernetes/test/test_v1alpha1_runtime_class_list.py deleted file mode 100644 index a49b1d22d2..0000000000 --- a/kubernetes/test/test_v1alpha1_runtime_class_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_runtime_class_list import V1alpha1RuntimeClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RuntimeClassList(unittest.TestCase): - """V1alpha1RuntimeClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RuntimeClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_runtime_class_list.V1alpha1RuntimeClassList() # noqa: E501 - if include_optional : - return V1alpha1RuntimeClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/runtime_class.v1alpha1.RuntimeClass( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1RuntimeClassList( - items = [ - kubernetes.client.models.v1alpha1/runtime_class.v1alpha1.RuntimeClass( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/runtime_class_spec.v1alpha1.RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ), ) - ], - ) - - def testV1alpha1RuntimeClassList(self): - """Test V1alpha1RuntimeClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_runtime_class_spec.py b/kubernetes/test/test_v1alpha1_runtime_class_spec.py deleted file mode 100644 index 79114aaedb..0000000000 --- a/kubernetes/test/test_v1alpha1_runtime_class_spec.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_runtime_class_spec import V1alpha1RuntimeClassSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1RuntimeClassSpec(unittest.TestCase): - """V1alpha1RuntimeClassSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1RuntimeClassSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_runtime_class_spec.V1alpha1RuntimeClassSpec() # noqa: E501 - if include_optional : - return V1alpha1RuntimeClassSpec( - overhead = kubernetes.client.models.v1alpha1/overhead.v1alpha1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - runtime_handler = '0', - scheduling = kubernetes.client.models.v1alpha1/scheduling.v1alpha1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ) - ) - else : - return V1alpha1RuntimeClassSpec( - runtime_handler = '0', - ) - - def testV1alpha1RuntimeClassSpec(self): - """Test V1alpha1RuntimeClassSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_scheduling.py b/kubernetes/test/test_v1alpha1_scheduling.py deleted file mode 100644 index d47d67b0e9..0000000000 --- a/kubernetes/test/test_v1alpha1_scheduling.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_scheduling import V1alpha1Scheduling # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Scheduling(unittest.TestCase): - """V1alpha1Scheduling unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Scheduling - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_scheduling.V1alpha1Scheduling() # noqa: E501 - if include_optional : - return V1alpha1Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ] - ) - else : - return V1alpha1Scheduling( - ) - - def testV1alpha1Scheduling(self): - """Test V1alpha1Scheduling""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_service_account_subject.py b/kubernetes/test/test_v1alpha1_service_account_subject.py deleted file mode 100644 index 25b3d8d31c..0000000000 --- a/kubernetes/test/test_v1alpha1_service_account_subject.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_service_account_subject import V1alpha1ServiceAccountSubject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ServiceAccountSubject(unittest.TestCase): - """V1alpha1ServiceAccountSubject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ServiceAccountSubject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_service_account_subject.V1alpha1ServiceAccountSubject() # noqa: E501 - if include_optional : - return V1alpha1ServiceAccountSubject( - name = '0', - namespace = '0' - ) - else : - return V1alpha1ServiceAccountSubject( - name = '0', - namespace = '0', - ) - - def testV1alpha1ServiceAccountSubject(self): - """Test V1alpha1ServiceAccountSubject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_service_reference.py b/kubernetes/test/test_v1alpha1_service_reference.py deleted file mode 100644 index b6fedb395d..0000000000 --- a/kubernetes/test/test_v1alpha1_service_reference.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_service_reference import V1alpha1ServiceReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1ServiceReference(unittest.TestCase): - """V1alpha1ServiceReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1ServiceReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_service_reference.V1alpha1ServiceReference() # noqa: E501 - if include_optional : - return V1alpha1ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56 - ) - else : - return V1alpha1ServiceReference( - name = '0', - namespace = '0', - ) - - def testV1alpha1ServiceReference(self): - """Test V1alpha1ServiceReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_user_subject.py b/kubernetes/test/test_v1alpha1_user_subject.py deleted file mode 100644 index 87b5970900..0000000000 --- a/kubernetes/test/test_v1alpha1_user_subject.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_user_subject import V1alpha1UserSubject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1UserSubject(unittest.TestCase): - """V1alpha1UserSubject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1UserSubject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_user_subject.V1alpha1UserSubject() # noqa: E501 - if include_optional : - return V1alpha1UserSubject( - name = '0' - ) - else : - return V1alpha1UserSubject( - name = '0', - ) - - def testV1alpha1UserSubject(self): - """Test V1alpha1UserSubject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment.py b/kubernetes/test/test_v1alpha1_volume_attachment.py deleted file mode 100644 index 287fc614ae..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment import V1alpha1VolumeAttachment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachment(unittest.TestCase): - """V1alpha1VolumeAttachment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment.V1alpha1VolumeAttachment() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ) - else : - return V1alpha1VolumeAttachment( - spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - ) - - def testV1alpha1VolumeAttachment(self): - """Test V1alpha1VolumeAttachment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_list.py b/kubernetes/test/test_v1alpha1_volume_attachment_list.py deleted file mode 100644 index c932071bc1..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment_list.py +++ /dev/null @@ -1,560 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment_list import V1alpha1VolumeAttachmentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachmentList(unittest.TestCase): - """V1alpha1VolumeAttachmentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachmentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment_list.V1alpha1VolumeAttachmentList() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachmentList( - api_version = '0', - items = [ - kubernetes.client.models.v1alpha1/volume_attachment.v1alpha1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1alpha1VolumeAttachmentList( - items = [ - kubernetes.client.models.v1alpha1/volume_attachment.v1alpha1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1alpha1/volume_attachment_spec.v1alpha1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1alpha1/volume_attachment_status.v1alpha1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - ) - - def testV1alpha1VolumeAttachmentList(self): - """Test V1alpha1VolumeAttachmentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_source.py b/kubernetes/test/test_v1alpha1_volume_attachment_source.py deleted file mode 100644 index 4091ad5b84..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment_source.py +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment_source import V1alpha1VolumeAttachmentSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachmentSource(unittest.TestCase): - """V1alpha1VolumeAttachmentSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachmentSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment_source.V1alpha1VolumeAttachmentSource() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0' - ) - else : - return V1alpha1VolumeAttachmentSource( - ) - - def testV1alpha1VolumeAttachmentSource(self): - """Test V1alpha1VolumeAttachmentSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py b/kubernetes/test/test_v1alpha1_volume_attachment_spec.py deleted file mode 100644 index d578298719..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment_spec.py +++ /dev/null @@ -1,441 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment_spec import V1alpha1VolumeAttachmentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachmentSpec(unittest.TestCase): - """V1alpha1VolumeAttachmentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachmentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment_spec.V1alpha1VolumeAttachmentSpec() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ) - ) - else : - return V1alpha1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1alpha1/volume_attachment_source.v1alpha1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), - ) - - def testV1alpha1VolumeAttachmentSpec(self): - """Test V1alpha1VolumeAttachmentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_attachment_status.py b/kubernetes/test/test_v1alpha1_volume_attachment_status.py deleted file mode 100644 index 5122ebee10..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_attachment_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_attachment_status import V1alpha1VolumeAttachmentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeAttachmentStatus(unittest.TestCase): - """V1alpha1VolumeAttachmentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeAttachmentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_attachment_status.V1alpha1VolumeAttachmentStatus() # noqa: E501 - if include_optional : - return V1alpha1VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1alpha1/volume_error.v1alpha1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1alpha1VolumeAttachmentStatus( - attached = True, - ) - - def testV1alpha1VolumeAttachmentStatus(self): - """Test V1alpha1VolumeAttachmentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_volume_error.py b/kubernetes/test/test_v1alpha1_volume_error.py deleted file mode 100644 index 20c3160e24..0000000000 --- a/kubernetes/test/test_v1alpha1_volume_error.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_volume_error import V1alpha1VolumeError # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1VolumeError(unittest.TestCase): - """V1alpha1VolumeError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1VolumeError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_volume_error.V1alpha1VolumeError() # noqa: E501 - if include_optional : - return V1alpha1VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1alpha1VolumeError( - ) - - def testV1alpha1VolumeError(self): - """Test V1alpha1VolumeError""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook.py b/kubernetes/test/test_v1alpha1_webhook.py deleted file mode 100644 index 43bc352dfb..0000000000 --- a/kubernetes/test/test_v1alpha1_webhook.py +++ /dev/null @@ -1,70 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_webhook import V1alpha1Webhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1Webhook(unittest.TestCase): - """V1alpha1Webhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1Webhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_webhook.V1alpha1Webhook() # noqa: E501 - if include_optional : - return V1alpha1Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - throttle = kubernetes.client.models.v1alpha1/webhook_throttle_config.v1alpha1.WebhookThrottleConfig( - burst = 56, - qps = 56, ) - ) - else : - return V1alpha1Webhook( - kubernetes.client_config = kubernetes.client.models.v1alpha1/webhook_client_config.v1alpha1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - ) - - def testV1alpha1Webhook(self): - """Test V1alpha1Webhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook_client_config.py b/kubernetes/test/test_v1alpha1_webhook_client_config.py deleted file mode 100644 index b467923f22..0000000000 --- a/kubernetes/test/test_v1alpha1_webhook_client_config.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_webhook_client_config import V1alpha1WebhookClientConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1WebhookClientConfig(unittest.TestCase): - """V1alpha1WebhookClientConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1WebhookClientConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_webhook_client_config.V1alpha1WebhookClientConfig() # noqa: E501 - if include_optional : - return V1alpha1WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.v1alpha1/service_reference.v1alpha1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0' - ) - else : - return V1alpha1WebhookClientConfig( - ) - - def testV1alpha1WebhookClientConfig(self): - """Test V1alpha1WebhookClientConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1alpha1_webhook_throttle_config.py b/kubernetes/test/test_v1alpha1_webhook_throttle_config.py deleted file mode 100644 index 838d9bae08..0000000000 --- a/kubernetes/test/test_v1alpha1_webhook_throttle_config.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1alpha1_webhook_throttle_config import V1alpha1WebhookThrottleConfig # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1alpha1WebhookThrottleConfig(unittest.TestCase): - """V1alpha1WebhookThrottleConfig unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1alpha1WebhookThrottleConfig - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1alpha1_webhook_throttle_config.V1alpha1WebhookThrottleConfig() # noqa: E501 - if include_optional : - return V1alpha1WebhookThrottleConfig( - burst = 56, - qps = 56 - ) - else : - return V1alpha1WebhookThrottleConfig( - ) - - def testV1alpha1WebhookThrottleConfig(self): - """Test V1alpha1WebhookThrottleConfig""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_aggregation_rule.py b/kubernetes/test/test_v1beta1_aggregation_rule.py deleted file mode 100644 index f7618f64be..0000000000 --- a/kubernetes/test/test_v1beta1_aggregation_rule.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_aggregation_rule import V1beta1AggregationRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1AggregationRule(unittest.TestCase): - """V1beta1AggregationRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1AggregationRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_aggregation_rule.V1beta1AggregationRule() # noqa: E501 - if include_optional : - return V1beta1AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ] - ) - else : - return V1beta1AggregationRule( - ) - - def testV1beta1AggregationRule(self): - """Test V1beta1AggregationRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service.py b/kubernetes/test/test_v1beta1_api_service.py deleted file mode 100644 index 9810efeae3..0000000000 --- a/kubernetes/test/test_v1beta1_api_service.py +++ /dev/null @@ -1,112 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service import V1beta1APIService # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIService(unittest.TestCase): - """V1beta1APIService unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIService - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service.V1beta1APIService() # noqa: E501 - if include_optional : - return V1beta1APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ) - ) - else : - return V1beta1APIService( - ) - - def testV1beta1APIService(self): - """Test V1beta1APIService""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_condition.py b/kubernetes/test/test_v1beta1_api_service_condition.py deleted file mode 100644 index 2cb5b99487..0000000000 --- a/kubernetes/test/test_v1beta1_api_service_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service_condition import V1beta1APIServiceCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIServiceCondition(unittest.TestCase): - """V1beta1APIServiceCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIServiceCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service_condition.V1beta1APIServiceCondition() # noqa: E501 - if include_optional : - return V1beta1APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1APIServiceCondition( - status = '0', - type = '0', - ) - - def testV1beta1APIServiceCondition(self): - """Test V1beta1APIServiceCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_list.py b/kubernetes/test/test_v1beta1_api_service_list.py deleted file mode 100644 index 0181ff0afe..0000000000 --- a/kubernetes/test/test_v1beta1_api_service_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service_list import V1beta1APIServiceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIServiceList(unittest.TestCase): - """V1beta1APIServiceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIServiceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service_list.V1beta1APIServiceList() # noqa: E501 - if include_optional : - return V1beta1APIServiceList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/api_service.v1beta1.APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1APIServiceList( - items = [ - kubernetes.client.models.v1beta1/api_service.v1beta1.APIService( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/api_service_spec.v1beta1.APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56, ), - status = kubernetes.client.models.v1beta1/api_service_status.v1beta1.APIServiceStatus( - conditions = [ - kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], ), ) - ], - ) - - def testV1beta1APIServiceList(self): - """Test V1beta1APIServiceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_spec.py b/kubernetes/test/test_v1beta1_api_service_spec.py deleted file mode 100644 index 180ba49c98..0000000000 --- a/kubernetes/test/test_v1beta1_api_service_spec.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service_spec import V1beta1APIServiceSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIServiceSpec(unittest.TestCase): - """V1beta1APIServiceSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIServiceSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service_spec.V1beta1APIServiceSpec() # noqa: E501 - if include_optional : - return V1beta1APIServiceSpec( - ca_bundle = 'YQ==', - group = '0', - group_priority_minimum = 56, - insecure_skip_tls_verify = True, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version = '0', - version_priority = 56 - ) - else : - return V1beta1APIServiceSpec( - group_priority_minimum = 56, - service = kubernetes.client.models.apiregistration/v1beta1/service_reference.apiregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - port = 56, ), - version_priority = 56, - ) - - def testV1beta1APIServiceSpec(self): - """Test V1beta1APIServiceSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_api_service_status.py b/kubernetes/test/test_v1beta1_api_service_status.py deleted file mode 100644 index d7a5dbfd15..0000000000 --- a/kubernetes/test/test_v1beta1_api_service_status.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_api_service_status import V1beta1APIServiceStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1APIServiceStatus(unittest.TestCase): - """V1beta1APIServiceStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1APIServiceStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_api_service_status.V1beta1APIServiceStatus() # noqa: E501 - if include_optional : - return V1beta1APIServiceStatus( - conditions = [ - kubernetes.client.models.v1beta1/api_service_condition.v1beta1.APIServiceCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ] - ) - else : - return V1beta1APIServiceStatus( - ) - - def testV1beta1APIServiceStatus(self): - """Test V1beta1APIServiceStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request.py b/kubernetes/test/test_v1beta1_certificate_signing_request.py deleted file mode 100644 index d2a38fedda..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request import V1beta1CertificateSigningRequest # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequest(unittest.TestCase): - """V1beta1CertificateSigningRequest unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequest - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request.V1beta1CertificateSigningRequest() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequest( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - request = 'YQ==', - uid = '0', - usages = [ - '0' - ], - username = '0', ), - status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( - certificate = 'YQ==', - conditions = [ - kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ) - ) - else : - return V1beta1CertificateSigningRequest( - ) - - def testV1beta1CertificateSigningRequest(self): - """Test V1beta1CertificateSigningRequest""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py b/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py deleted file mode 100644 index da0b06e6c6..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_condition.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request_condition import V1beta1CertificateSigningRequestCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequestCondition(unittest.TestCase): - """V1beta1CertificateSigningRequestCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequestCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request_condition.V1beta1CertificateSigningRequestCondition() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0' - ) - else : - return V1beta1CertificateSigningRequestCondition( - type = '0', - ) - - def testV1beta1CertificateSigningRequestCondition(self): - """Test V1beta1CertificateSigningRequestCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py b/kubernetes/test/test_v1beta1_certificate_signing_request_list.py deleted file mode 100644 index 74763f3309..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_list.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request_list import V1beta1CertificateSigningRequestList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequestList(unittest.TestCase): - """V1beta1CertificateSigningRequestList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequestList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request_list.V1beta1CertificateSigningRequestList() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequestList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/certificate_signing_request.v1beta1.CertificateSigningRequest( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - request = 'YQ==', - uid = '0', - usages = [ - '0' - ], - username = '0', ), - status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( - certificate = 'YQ==', - conditions = [ - kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CertificateSigningRequestList( - items = [ - kubernetes.client.models.v1beta1/certificate_signing_request.v1beta1.CertificateSigningRequest( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/certificate_signing_request_spec.v1beta1.CertificateSigningRequestSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - request = 'YQ==', - uid = '0', - usages = [ - '0' - ], - username = '0', ), - status = kubernetes.client.models.v1beta1/certificate_signing_request_status.v1beta1.CertificateSigningRequestStatus( - certificate = 'YQ==', - conditions = [ - kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ], ), ) - ], - ) - - def testV1beta1CertificateSigningRequestList(self): - """Test V1beta1CertificateSigningRequestList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py b/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py deleted file mode 100644 index 772bfaf85f..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_spec.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request_spec import V1beta1CertificateSigningRequestSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequestSpec(unittest.TestCase): - """V1beta1CertificateSigningRequestSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequestSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request_spec.V1beta1CertificateSigningRequestSpec() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequestSpec( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - request = 'YQ==', - uid = '0', - usages = [ - '0' - ], - username = '0' - ) - else : - return V1beta1CertificateSigningRequestSpec( - request = 'YQ==', - ) - - def testV1beta1CertificateSigningRequestSpec(self): - """Test V1beta1CertificateSigningRequestSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py b/kubernetes/test/test_v1beta1_certificate_signing_request_status.py deleted file mode 100644 index 6cf825e032..0000000000 --- a/kubernetes/test/test_v1beta1_certificate_signing_request_status.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_certificate_signing_request_status import V1beta1CertificateSigningRequestStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CertificateSigningRequestStatus(unittest.TestCase): - """V1beta1CertificateSigningRequestStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CertificateSigningRequestStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_certificate_signing_request_status.V1beta1CertificateSigningRequestStatus() # noqa: E501 - if include_optional : - return V1beta1CertificateSigningRequestStatus( - certificate = 'YQ==', - conditions = [ - kubernetes.client.models.v1beta1/certificate_signing_request_condition.v1beta1.CertificateSigningRequestCondition( - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - type = '0', ) - ] - ) - else : - return V1beta1CertificateSigningRequestStatus( - ) - - def testV1beta1CertificateSigningRequestStatus(self): - """Test V1beta1CertificateSigningRequestStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role.py b/kubernetes/test/test_v1beta1_cluster_role.py deleted file mode 100644 index 3dffe1a655..0000000000 --- a/kubernetes/test/test_v1beta1_cluster_role.py +++ /dev/null @@ -1,125 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cluster_role import V1beta1ClusterRole # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ClusterRole(unittest.TestCase): - """V1beta1ClusterRole unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ClusterRole - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cluster_role.V1beta1ClusterRole() # noqa: E501 - if include_optional : - return V1beta1ClusterRole( - aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1beta1ClusterRole( - ) - - def testV1beta1ClusterRole(self): - """Test V1beta1ClusterRole""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding.py b/kubernetes/test/test_v1beta1_cluster_role_binding.py deleted file mode 100644 index 3d479a3720..0000000000 --- a/kubernetes/test/test_v1beta1_cluster_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cluster_role_binding import V1beta1ClusterRoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ClusterRoleBinding(unittest.TestCase): - """V1beta1ClusterRoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ClusterRoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cluster_role_binding.V1beta1ClusterRoleBinding() # noqa: E501 - if include_optional : - return V1beta1ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1beta1ClusterRoleBinding( - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1beta1ClusterRoleBinding(self): - """Test V1beta1ClusterRoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py b/kubernetes/test/test_v1beta1_cluster_role_binding_list.py deleted file mode 100644 index 110d10b5c3..0000000000 --- a/kubernetes/test/test_v1beta1_cluster_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cluster_role_binding_list import V1beta1ClusterRoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ClusterRoleBindingList(unittest.TestCase): - """V1beta1ClusterRoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ClusterRoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cluster_role_binding_list.V1beta1ClusterRoleBindingList() # noqa: E501 - if include_optional : - return V1beta1ClusterRoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/cluster_role_binding.v1beta1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ClusterRoleBindingList( - items = [ - kubernetes.client.models.v1beta1/cluster_role_binding.v1beta1.ClusterRoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1beta1ClusterRoleBindingList(self): - """Test V1beta1ClusterRoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cluster_role_list.py b/kubernetes/test/test_v1beta1_cluster_role_list.py deleted file mode 100644 index 3f95cbc221..0000000000 --- a/kubernetes/test/test_v1beta1_cluster_role_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cluster_role_list import V1beta1ClusterRoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ClusterRoleList(unittest.TestCase): - """V1beta1ClusterRoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ClusterRoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cluster_role_list.V1beta1ClusterRoleList() # noqa: E501 - if include_optional : - return V1beta1ClusterRoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/cluster_role.v1beta1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ClusterRoleList( - items = [ - kubernetes.client.models.v1beta1/cluster_role.v1beta1.ClusterRole( - aggregation_rule = kubernetes.client.models.v1beta1/aggregation_rule.v1beta1.AggregationRule( - cluster_role_selectors = [ - kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ], ), - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1beta1ClusterRoleList(self): - """Test V1beta1ClusterRoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_controller_revision.py b/kubernetes/test/test_v1beta1_controller_revision.py deleted file mode 100644 index 6cfece2805..0000000000 --- a/kubernetes/test/test_v1beta1_controller_revision.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_controller_revision import V1beta1ControllerRevision # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ControllerRevision(unittest.TestCase): - """V1beta1ControllerRevision unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ControllerRevision - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_controller_revision.V1beta1ControllerRevision() # noqa: E501 - if include_optional : - return V1beta1ControllerRevision( - api_version = '0', - data = None, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56 - ) - else : - return V1beta1ControllerRevision( - revision = 56, - ) - - def testV1beta1ControllerRevision(self): - """Test V1beta1ControllerRevision""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_controller_revision_list.py b/kubernetes/test/test_v1beta1_controller_revision_list.py deleted file mode 100644 index b47b6767c2..0000000000 --- a/kubernetes/test/test_v1beta1_controller_revision_list.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_controller_revision_list import V1beta1ControllerRevisionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ControllerRevisionList(unittest.TestCase): - """V1beta1ControllerRevisionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ControllerRevisionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_controller_revision_list.V1beta1ControllerRevisionList() # noqa: E501 - if include_optional : - return V1beta1ControllerRevisionList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/controller_revision.v1beta1.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ControllerRevisionList( - items = [ - kubernetes.client.models.v1beta1/controller_revision.v1beta1.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - ) - - def testV1beta1ControllerRevisionList(self): - """Test V1beta1ControllerRevisionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job.py b/kubernetes/test/test_v1beta1_cron_job.py deleted file mode 100644 index 6a5f2651ef..0000000000 --- a/kubernetes/test/test_v1beta1_cron_job.py +++ /dev/null @@ -1,171 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cron_job import V1beta1CronJob # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CronJob(unittest.TestCase): - """V1beta1CronJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CronJob - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cron_job.V1beta1CronJob() # noqa: E501 - if include_optional : - return V1beta1CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1beta1CronJob( - ) - - def testV1beta1CronJob(self): - """Test V1beta1CronJob""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_list.py b/kubernetes/test/test_v1beta1_cron_job_list.py deleted file mode 100644 index fdfde902c0..0000000000 --- a/kubernetes/test/test_v1beta1_cron_job_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cron_job_list import V1beta1CronJobList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CronJobList(unittest.TestCase): - """V1beta1CronJobList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CronJobList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cron_job_list.V1beta1CronJobList() # noqa: E501 - if include_optional : - return V1beta1CronJobList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/cron_job.v1beta1.CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec(), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CronJobList( - items = [ - kubernetes.client.models.v1beta1/cron_job.v1beta1.CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/cron_job_spec.v1beta1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec(), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v1beta1/cron_job_status.v1beta1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV1beta1CronJobList(self): - """Test V1beta1CronJobList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_spec.py b/kubernetes/test/test_v1beta1_cron_job_spec.py deleted file mode 100644 index b75d3058f6..0000000000 --- a/kubernetes/test/test_v1beta1_cron_job_spec.py +++ /dev/null @@ -1,178 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cron_job_spec import V1beta1CronJobSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CronJobSpec(unittest.TestCase): - """V1beta1CronJobSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CronJobSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cron_job_spec.V1beta1CronJobSpec() # noqa: E501 - if include_optional : - return V1beta1CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True - ) - else : - return V1beta1CronJobSpec( - job_template = kubernetes.client.models.v1beta1/job_template_spec.v1beta1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - ) - - def testV1beta1CronJobSpec(self): - """Test V1beta1CronJobSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_cron_job_status.py b/kubernetes/test/test_v1beta1_cron_job_status.py deleted file mode 100644 index e02b05027f..0000000000 --- a/kubernetes/test/test_v1beta1_cron_job_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_cron_job_status import V1beta1CronJobStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CronJobStatus(unittest.TestCase): - """V1beta1CronJobStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CronJobStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_cron_job_status.V1beta1CronJobStatus() # noqa: E501 - if include_optional : - return V1beta1CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1beta1CronJobStatus( - ) - - def testV1beta1CronJobStatus(self): - """Test V1beta1CronJobStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver.py b/kubernetes/test/test_v1beta1_csi_driver.py deleted file mode 100644 index d39b01bbde..0000000000 --- a/kubernetes/test/test_v1beta1_csi_driver.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_driver import V1beta1CSIDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSIDriver(unittest.TestCase): - """V1beta1CSIDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSIDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_driver.V1beta1CSIDriver() # noqa: E501 - if include_optional : - return V1beta1CSIDriver( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ], ) - ) - else : - return V1beta1CSIDriver( - spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ], ), - ) - - def testV1beta1CSIDriver(self): - """Test V1beta1CSIDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver_list.py b/kubernetes/test/test_v1beta1_csi_driver_list.py deleted file mode 100644 index 2cd8250e87..0000000000 --- a/kubernetes/test/test_v1beta1_csi_driver_list.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_driver_list import V1beta1CSIDriverList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSIDriverList(unittest.TestCase): - """V1beta1CSIDriverList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSIDriverList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_driver_list.V1beta1CSIDriverList() # noqa: E501 - if include_optional : - return V1beta1CSIDriverList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/csi_driver.v1beta1.CSIDriver( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CSIDriverList( - items = [ - kubernetes.client.models.v1beta1/csi_driver.v1beta1.CSIDriver( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_driver_spec.v1beta1.CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ], ), ) - ], - ) - - def testV1beta1CSIDriverList(self): - """Test V1beta1CSIDriverList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_driver_spec.py b/kubernetes/test/test_v1beta1_csi_driver_spec.py deleted file mode 100644 index 6fcb6e4ad0..0000000000 --- a/kubernetes/test/test_v1beta1_csi_driver_spec.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_driver_spec import V1beta1CSIDriverSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSIDriverSpec(unittest.TestCase): - """V1beta1CSIDriverSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSIDriverSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_driver_spec.V1beta1CSIDriverSpec() # noqa: E501 - if include_optional : - return V1beta1CSIDriverSpec( - attach_required = True, - pod_info_on_mount = True, - volume_lifecycle_modes = [ - '0' - ] - ) - else : - return V1beta1CSIDriverSpec( - ) - - def testV1beta1CSIDriverSpec(self): - """Test V1beta1CSIDriverSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node.py b/kubernetes/test/test_v1beta1_csi_node.py deleted file mode 100644 index 7749a4c130..0000000000 --- a/kubernetes/test/test_v1beta1_csi_node.py +++ /dev/null @@ -1,114 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_node import V1beta1CSINode # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSINode(unittest.TestCase): - """V1beta1CSINode unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSINode - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_node.V1beta1CSINode() # noqa: E501 - if include_optional : - return V1beta1CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ) - ) - else : - return V1beta1CSINode( - spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), - ) - - def testV1beta1CSINode(self): - """Test V1beta1CSINode""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_driver.py b/kubernetes/test/test_v1beta1_csi_node_driver.py deleted file mode 100644 index 1132512336..0000000000 --- a/kubernetes/test/test_v1beta1_csi_node_driver.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_node_driver import V1beta1CSINodeDriver # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSINodeDriver(unittest.TestCase): - """V1beta1CSINodeDriver unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSINodeDriver - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_node_driver.V1beta1CSINodeDriver() # noqa: E501 - if include_optional : - return V1beta1CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ] - ) - else : - return V1beta1CSINodeDriver( - name = '0', - node_id = '0', - ) - - def testV1beta1CSINodeDriver(self): - """Test V1beta1CSINodeDriver""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_list.py b/kubernetes/test/test_v1beta1_csi_node_list.py deleted file mode 100644 index 134a147a90..0000000000 --- a/kubernetes/test/test_v1beta1_csi_node_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_node_list import V1beta1CSINodeList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSINodeList(unittest.TestCase): - """V1beta1CSINodeList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSINodeList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_node_list.V1beta1CSINodeList() # noqa: E501 - if include_optional : - return V1beta1CSINodeList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/csi_node.v1beta1.CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CSINodeList( - items = [ - kubernetes.client.models.v1beta1/csi_node.v1beta1.CSINode( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/csi_node_spec.v1beta1.CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], ), ) - ], - ) - - def testV1beta1CSINodeList(self): - """Test V1beta1CSINodeList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_csi_node_spec.py b/kubernetes/test/test_v1beta1_csi_node_spec.py deleted file mode 100644 index 407e736750..0000000000 --- a/kubernetes/test/test_v1beta1_csi_node_spec.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_csi_node_spec import V1beta1CSINodeSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CSINodeSpec(unittest.TestCase): - """V1beta1CSINodeSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CSINodeSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_csi_node_spec.V1beta1CSINodeSpec() # noqa: E501 - if include_optional : - return V1beta1CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ] - ) - else : - return V1beta1CSINodeSpec( - drivers = [ - kubernetes.client.models.v1beta1/csi_node_driver.v1beta1.CSINodeDriver( - allocatable = kubernetes.client.models.v1beta1/volume_node_resources.v1beta1.VolumeNodeResources( - count = 56, ), - name = '0', - node_id = '0', - topology_keys = [ - '0' - ], ) - ], - ) - - def testV1beta1CSINodeSpec(self): - """Test V1beta1CSINodeSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_column_definition.py b/kubernetes/test/test_v1beta1_custom_resource_column_definition.py deleted file mode 100644 index e760f5b6a7..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_column_definition.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_column_definition import V1beta1CustomResourceColumnDefinition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceColumnDefinition(unittest.TestCase): - """V1beta1CustomResourceColumnDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceColumnDefinition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_column_definition.V1beta1CustomResourceColumnDefinition() # noqa: E501 - if include_optional : - return V1beta1CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0' - ) - else : - return V1beta1CustomResourceColumnDefinition( - json_path = '0', - name = '0', - type = '0', - ) - - def testV1beta1CustomResourceColumnDefinition(self): - """Test V1beta1CustomResourceColumnDefinition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_conversion.py b/kubernetes/test/test_v1beta1_custom_resource_conversion.py deleted file mode 100644 index fbe2eea973..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_conversion.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_conversion import V1beta1CustomResourceConversion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceConversion(unittest.TestCase): - """V1beta1CustomResourceConversion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceConversion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_conversion.V1beta1CustomResourceConversion() # noqa: E501 - if include_optional : - return V1beta1CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ) - ) - else : - return V1beta1CustomResourceConversion( - strategy = '0', - ) - - def testV1beta1CustomResourceConversion(self): - """Test V1beta1CustomResourceConversion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition.py b/kubernetes/test/test_v1beta1_custom_resource_definition.py deleted file mode 100644 index 450635c201..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition.py +++ /dev/null @@ -1,2339 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition import V1beta1CustomResourceDefinition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinition(unittest.TestCase): - """V1beta1CustomResourceDefinition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition.V1beta1CustomResourceDefinition() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), - served = True, - storage = True, ) - ], ), - status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - conditions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ) - ) - else : - return V1beta1CustomResourceDefinition( - spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), - served = True, - storage = True, ) - ], ), - ) - - def testV1beta1CustomResourceDefinition(self): - """Test V1beta1CustomResourceDefinition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py b/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py deleted file mode 100644 index a1c9c42a56..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_condition import V1beta1CustomResourceDefinitionCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionCondition(unittest.TestCase): - """V1beta1CustomResourceDefinitionCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_condition.V1beta1CustomResourceDefinitionCondition() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1CustomResourceDefinitionCondition( - status = '0', - type = '0', - ) - - def testV1beta1CustomResourceDefinitionCondition(self): - """Test V1beta1CustomResourceDefinitionCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py b/kubernetes/test/test_v1beta1_custom_resource_definition_list.py deleted file mode 100644 index 2cfa45d1d6..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_list.py +++ /dev/null @@ -1,2404 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_list import V1beta1CustomResourceDefinitionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionList(unittest.TestCase): - """V1beta1CustomResourceDefinitionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_list.V1beta1CustomResourceDefinitionList() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/custom_resource_definition.v1beta1.CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), - served = True, - storage = True, ) - ], ), - status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - kind = '0', - list_kind = '0', - plural = '0', - singular = '0', ), - conditions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1CustomResourceDefinitionList( - items = [ - kubernetes.client.models.v1beta1/custom_resource_definition.v1beta1.CustomResourceDefinition( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/custom_resource_definition_spec.v1beta1.CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation(), - served = True, - storage = True, ) - ], ), - status = kubernetes.client.models.v1beta1/custom_resource_definition_status.v1beta1.CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - kind = '0', - list_kind = '0', - plural = '0', - singular = '0', ), - conditions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ], ), ) - ], - ) - - def testV1beta1CustomResourceDefinitionList(self): - """Test V1beta1CustomResourceDefinitionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py b/kubernetes/test/test_v1beta1_custom_resource_definition_names.py deleted file mode 100644 index 73a40058d7..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_names.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_names import V1beta1CustomResourceDefinitionNames # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionNames(unittest.TestCase): - """V1beta1CustomResourceDefinitionNames unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionNames - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_names.V1beta1CustomResourceDefinitionNames() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0' - ) - else : - return V1beta1CustomResourceDefinitionNames( - kind = '0', - plural = '0', - ) - - def testV1beta1CustomResourceDefinitionNames(self): - """Test V1beta1CustomResourceDefinitionNames""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py b/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py deleted file mode 100644 index 5277346491..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_spec.py +++ /dev/null @@ -1,2250 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_spec import V1beta1CustomResourceDefinitionSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionSpec(unittest.TestCase): - """V1beta1CustomResourceDefinitionSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_spec.V1beta1CustomResourceDefinitionSpec() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionSpec( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - conversion = kubernetes.client.models.v1beta1/custom_resource_conversion.v1beta1.CustomResourceConversion( - conversion_review_versions = [ - '0' - ], - strategy = '0', - webhook_client_config = kubernetes.client.models.apiextensions/v1beta1/webhook_client_config.apiextensions.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.apiextensions/v1beta1/service_reference.apiextensions.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), ), - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - preserve_unknown_fields = True, - scope = '0', - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), - validation = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - version = '0', - versions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_version.v1beta1.CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ), ) - ] - ) - else : - return V1beta1CustomResourceDefinitionSpec( - group = '0', - names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - scope = '0', - ) - - def testV1beta1CustomResourceDefinitionSpec(self): - """Test V1beta1CustomResourceDefinitionSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py b/kubernetes/test/test_v1beta1_custom_resource_definition_status.py deleted file mode 100644 index 8480364b10..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_status.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_status import V1beta1CustomResourceDefinitionStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionStatus(unittest.TestCase): - """V1beta1CustomResourceDefinitionStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_status.V1beta1CustomResourceDefinitionStatus() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - conditions = [ - kubernetes.client.models.v1beta1/custom_resource_definition_condition.v1beta1.CustomResourceDefinitionCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - stored_versions = [ - '0' - ] - ) - else : - return V1beta1CustomResourceDefinitionStatus( - accepted_names = kubernetes.client.models.v1beta1/custom_resource_definition_names.v1beta1.CustomResourceDefinitionNames( - categories = [ - '0' - ], - kind = '0', - list_kind = '0', - plural = '0', - short_names = [ - '0' - ], - singular = '0', ), - stored_versions = [ - '0' - ], - ) - - def testV1beta1CustomResourceDefinitionStatus(self): - """Test V1beta1CustomResourceDefinitionStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_definition_version.py b/kubernetes/test/test_v1beta1_custom_resource_definition_version.py deleted file mode 100644 index af9bb8c134..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_definition_version.py +++ /dev/null @@ -1,1133 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_definition_version import V1beta1CustomResourceDefinitionVersion # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceDefinitionVersion(unittest.TestCase): - """V1beta1CustomResourceDefinitionVersion unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceDefinitionVersion - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_definition_version.V1beta1CustomResourceDefinitionVersion() # noqa: E501 - if include_optional : - return V1beta1CustomResourceDefinitionVersion( - additional_printer_columns = [ - kubernetes.client.models.v1beta1/custom_resource_column_definition.v1beta1.CustomResourceColumnDefinition( - json_path = '0', - description = '0', - format = '0', - name = '0', - priority = 56, - type = '0', ) - ], - name = '0', - schema = kubernetes.client.models.v1beta1/custom_resource_validation.v1beta1.CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), ), - served = True, - storage = True, - subresources = kubernetes.client.models.v1beta1/custom_resource_subresources.v1beta1.CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status(), ) - ) - else : - return V1beta1CustomResourceDefinitionVersion( - name = '0', - served = True, - storage = True, - ) - - def testV1beta1CustomResourceDefinitionVersion(self): - """Test V1beta1CustomResourceDefinitionVersion""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py b/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py deleted file mode 100644 index 26f9e772e0..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_subresource_scale.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_subresource_scale import V1beta1CustomResourceSubresourceScale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceSubresourceScale(unittest.TestCase): - """V1beta1CustomResourceSubresourceScale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceSubresourceScale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_subresource_scale.V1beta1CustomResourceSubresourceScale() # noqa: E501 - if include_optional : - return V1beta1CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0' - ) - else : - return V1beta1CustomResourceSubresourceScale( - spec_replicas_path = '0', - status_replicas_path = '0', - ) - - def testV1beta1CustomResourceSubresourceScale(self): - """Test V1beta1CustomResourceSubresourceScale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_subresources.py b/kubernetes/test/test_v1beta1_custom_resource_subresources.py deleted file mode 100644 index 1e55bc9f23..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_subresources.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_subresources import V1beta1CustomResourceSubresources # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceSubresources(unittest.TestCase): - """V1beta1CustomResourceSubresources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceSubresources - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_subresources.V1beta1CustomResourceSubresources() # noqa: E501 - if include_optional : - return V1beta1CustomResourceSubresources( - scale = kubernetes.client.models.v1beta1/custom_resource_subresource_scale.v1beta1.CustomResourceSubresourceScale( - label_selector_path = '0', - spec_replicas_path = '0', - status_replicas_path = '0', ), - status = kubernetes.client.models.status.status() - ) - else : - return V1beta1CustomResourceSubresources( - ) - - def testV1beta1CustomResourceSubresources(self): - """Test V1beta1CustomResourceSubresources""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_custom_resource_validation.py b/kubernetes/test/test_v1beta1_custom_resource_validation.py deleted file mode 100644 index 65af0a817e..0000000000 --- a/kubernetes/test/test_v1beta1_custom_resource_validation.py +++ /dev/null @@ -1,1111 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_custom_resource_validation import V1beta1CustomResourceValidation # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1CustomResourceValidation(unittest.TestCase): - """V1beta1CustomResourceValidation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1CustomResourceValidation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_custom_resource_validation.V1beta1CustomResourceValidation() # noqa: E501 - if include_optional : - return V1beta1CustomResourceValidation( - open_apiv3_schema = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ) - else : - return V1beta1CustomResourceValidation( - ) - - def testV1beta1CustomResourceValidation(self): - """Test V1beta1CustomResourceValidation""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set.py b/kubernetes/test/test_v1beta1_daemon_set.py deleted file mode 100644 index 12bfb2544f..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set.py +++ /dev/null @@ -1,603 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set import V1beta1DaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSet(unittest.TestCase): - """V1beta1DaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set.V1beta1DaemonSet() # noqa: E501 - if include_optional : - return V1beta1DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - template_generation = 56, - update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ) - ) - else : - return V1beta1DaemonSet( - ) - - def testV1beta1DaemonSet(self): - """Test V1beta1DaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_condition.py b/kubernetes/test/test_v1beta1_daemon_set_condition.py deleted file mode 100644 index 03554f4477..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_condition import V1beta1DaemonSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetCondition(unittest.TestCase): - """V1beta1DaemonSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_condition.V1beta1DaemonSetCondition() # noqa: E501 - if include_optional : - return V1beta1DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1DaemonSetCondition( - status = '0', - type = '0', - ) - - def testV1beta1DaemonSetCondition(self): - """Test V1beta1DaemonSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_list.py b/kubernetes/test/test_v1beta1_daemon_set_list.py deleted file mode 100644 index b3264617f1..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_list.py +++ /dev/null @@ -1,224 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_list import V1beta1DaemonSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetList(unittest.TestCase): - """V1beta1DaemonSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_list.V1beta1DaemonSetList() # noqa: E501 - if include_optional : - return V1beta1DaemonSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/daemon_set.v1beta1.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - template_generation = 56, - update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1DaemonSetList( - items = [ - kubernetes.client.models.v1beta1/daemon_set.v1beta1.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/daemon_set_spec.v1beta1.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - template_generation = 56, - update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta1/daemon_set_status.v1beta1.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - ) - - def testV1beta1DaemonSetList(self): - """Test V1beta1DaemonSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_spec.py b/kubernetes/test/test_v1beta1_daemon_set_spec.py deleted file mode 100644 index 8f167798ff..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_spec.py +++ /dev/null @@ -1,1038 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_spec import V1beta1DaemonSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetSpec(unittest.TestCase): - """V1beta1DaemonSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_spec.V1beta1DaemonSetSpec() # noqa: E501 - if include_optional : - return V1beta1DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - template_generation = 56, - update_strategy = kubernetes.client.models.v1beta1/daemon_set_update_strategy.v1beta1.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ) - ) - else : - return V1beta1DaemonSetSpec( - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta1DaemonSetSpec(self): - """Test V1beta1DaemonSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_status.py b/kubernetes/test/test_v1beta1_daemon_set_status.py deleted file mode 100644 index b8632cccce..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_status.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_status import V1beta1DaemonSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetStatus(unittest.TestCase): - """V1beta1DaemonSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_status.V1beta1DaemonSetStatus() # noqa: E501 - if include_optional : - return V1beta1DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/daemon_set_condition.v1beta1.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56 - ) - else : - return V1beta1DaemonSetStatus( - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_misscheduled = 56, - number_ready = 56, - ) - - def testV1beta1DaemonSetStatus(self): - """Test V1beta1DaemonSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py deleted file mode 100644 index 3b4ccb75c9..0000000000 --- a/kubernetes/test/test_v1beta1_daemon_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_daemon_set_update_strategy import V1beta1DaemonSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1DaemonSetUpdateStrategy(unittest.TestCase): - """V1beta1DaemonSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1DaemonSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_daemon_set_update_strategy.V1beta1DaemonSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1beta1DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_daemon_set.v1beta1.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1beta1DaemonSetUpdateStrategy( - ) - - def testV1beta1DaemonSetUpdateStrategy(self): - """Test V1beta1DaemonSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint.py b/kubernetes/test/test_v1beta1_endpoint.py deleted file mode 100644 index 8666190b28..0000000000 --- a/kubernetes/test/test_v1beta1_endpoint.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_endpoint import V1beta1Endpoint # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Endpoint(unittest.TestCase): - """V1beta1Endpoint unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Endpoint - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_endpoint.V1beta1Endpoint() # noqa: E501 - if include_optional : - return V1beta1Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - } - ) - else : - return V1beta1Endpoint( - addresses = [ - '0' - ], - ) - - def testV1beta1Endpoint(self): - """Test V1beta1Endpoint""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint_conditions.py b/kubernetes/test/test_v1beta1_endpoint_conditions.py deleted file mode 100644 index db93a74299..0000000000 --- a/kubernetes/test/test_v1beta1_endpoint_conditions.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_endpoint_conditions import V1beta1EndpointConditions # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1EndpointConditions(unittest.TestCase): - """V1beta1EndpointConditions unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1EndpointConditions - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_endpoint_conditions.V1beta1EndpointConditions() # noqa: E501 - if include_optional : - return V1beta1EndpointConditions( - ready = True - ) - else : - return V1beta1EndpointConditions( - ) - - def testV1beta1EndpointConditions(self): - """Test V1beta1EndpointConditions""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint_port.py b/kubernetes/test/test_v1beta1_endpoint_port.py deleted file mode 100644 index 5a12097e29..0000000000 --- a/kubernetes/test/test_v1beta1_endpoint_port.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_endpoint_port import V1beta1EndpointPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1EndpointPort(unittest.TestCase): - """V1beta1EndpointPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1EndpointPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_endpoint_port.V1beta1EndpointPort() # noqa: E501 - if include_optional : - return V1beta1EndpointPort( - app_protocol = '0', - name = '0', - port = 56, - protocol = '0' - ) - else : - return V1beta1EndpointPort( - ) - - def testV1beta1EndpointPort(self): - """Test V1beta1EndpointPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint_slice.py b/kubernetes/test/test_v1beta1_endpoint_slice.py deleted file mode 100644 index 5af1fafe9f..0000000000 --- a/kubernetes/test/test_v1beta1_endpoint_slice.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_endpoint_slice import V1beta1EndpointSlice # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1EndpointSlice(unittest.TestCase): - """V1beta1EndpointSlice unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1EndpointSlice - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_endpoint_slice.V1beta1EndpointSlice() # noqa: E501 - if include_optional : - return V1beta1EndpointSlice( - address_type = '0', - api_version = '0', - endpoints = [ - kubernetes.client.models.v1beta1/endpoint.v1beta1.Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - }, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - ports = [ - kubernetes.client.models.v1beta1/endpoint_port.v1beta1.EndpointPort( - app_protocol = '0', - name = '0', - port = 56, - protocol = '0', ) - ] - ) - else : - return V1beta1EndpointSlice( - address_type = '0', - endpoints = [ - kubernetes.client.models.v1beta1/endpoint.v1beta1.Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - }, ) - ], - ) - - def testV1beta1EndpointSlice(self): - """Test V1beta1EndpointSlice""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_endpoint_slice_list.py b/kubernetes/test/test_v1beta1_endpoint_slice_list.py deleted file mode 100644 index e97beee248..0000000000 --- a/kubernetes/test/test_v1beta1_endpoint_slice_list.py +++ /dev/null @@ -1,202 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_endpoint_slice_list import V1beta1EndpointSliceList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1EndpointSliceList(unittest.TestCase): - """V1beta1EndpointSliceList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1EndpointSliceList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_endpoint_slice_list.V1beta1EndpointSliceList() # noqa: E501 - if include_optional : - return V1beta1EndpointSliceList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/endpoint_slice.v1beta1.EndpointSlice( - address_type = '0', - api_version = '0', - endpoints = [ - kubernetes.client.models.v1beta1/endpoint.v1beta1.Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - }, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - ports = [ - kubernetes.client.models.v1beta1/endpoint_port.v1beta1.EndpointPort( - app_protocol = '0', - name = '0', - port = 56, - protocol = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1EndpointSliceList( - items = [ - kubernetes.client.models.v1beta1/endpoint_slice.v1beta1.EndpointSlice( - address_type = '0', - api_version = '0', - endpoints = [ - kubernetes.client.models.v1beta1/endpoint.v1beta1.Endpoint( - addresses = [ - '0' - ], - conditions = kubernetes.client.models.v1beta1/endpoint_conditions.v1beta1.EndpointConditions( - ready = True, ), - hostname = '0', - target_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - topology = { - 'key' : '0' - }, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - ports = [ - kubernetes.client.models.v1beta1/endpoint_port.v1beta1.EndpointPort( - app_protocol = '0', - name = '0', - port = 56, - protocol = '0', ) - ], ) - ], - ) - - def testV1beta1EndpointSliceList(self): - """Test V1beta1EndpointSliceList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_event.py b/kubernetes/test/test_v1beta1_event.py deleted file mode 100644 index f45da4d5b0..0000000000 --- a/kubernetes/test/test_v1beta1_event.py +++ /dev/null @@ -1,126 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_event import V1beta1Event # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Event(unittest.TestCase): - """V1beta1Event unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Event - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_event.V1beta1Event() # noqa: E501 - if include_optional : - return V1beta1Event( - action = '0', - api_version = '0', - deprecated_count = 56, - deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - note = '0', - reason = '0', - regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_controller = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - type = '0' - ) - else : - return V1beta1Event( - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - ) - - def testV1beta1Event(self): - """Test V1beta1Event""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_event_list.py b/kubernetes/test/test_v1beta1_event_list.py deleted file mode 100644 index f5c6ef9c9f..0000000000 --- a/kubernetes/test/test_v1beta1_event_list.py +++ /dev/null @@ -1,212 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_event_list import V1beta1EventList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1EventList(unittest.TestCase): - """V1beta1EventList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1EventList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_event_list.V1beta1EventList() # noqa: E501 - if include_optional : - return V1beta1EventList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/event.v1beta1.Event( - action = '0', - api_version = '0', - deprecated_count = 56, - deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - note = '0', - reason = '0', - regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_controller = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - type = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1EventList( - items = [ - kubernetes.client.models.v1beta1/event.v1beta1.Event( - action = '0', - api_version = '0', - deprecated_count = 56, - deprecated_first_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_last_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deprecated_source = kubernetes.client.models.v1/event_source.v1.EventSource( - component = '0', - host = '0', ), - event_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - note = '0', - reason = '0', - regarding = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - related = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - reporting_controller = '0', - reporting_instance = '0', - series = kubernetes.client.models.v1beta1/event_series.v1beta1.EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', ), - type = '0', ) - ], - ) - - def testV1beta1EventList(self): - """Test V1beta1EventList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_event_series.py b/kubernetes/test/test_v1beta1_event_series.py deleted file mode 100644 index b2a1a5d15d..0000000000 --- a/kubernetes/test/test_v1beta1_event_series.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_event_series import V1beta1EventSeries # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1EventSeries(unittest.TestCase): - """V1beta1EventSeries unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1EventSeries - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_event_series.V1beta1EventSeries() # noqa: E501 - if include_optional : - return V1beta1EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0' - ) - else : - return V1beta1EventSeries( - count = 56, - last_observed_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - state = '0', - ) - - def testV1beta1EventSeries(self): - """Test V1beta1EventSeries""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_eviction.py b/kubernetes/test/test_v1beta1_eviction.py deleted file mode 100644 index d580efbfac..0000000000 --- a/kubernetes/test/test_v1beta1_eviction.py +++ /dev/null @@ -1,104 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_eviction import V1beta1Eviction # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Eviction(unittest.TestCase): - """V1beta1Eviction unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Eviction - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_eviction.V1beta1Eviction() # noqa: E501 - if include_optional : - return V1beta1Eviction( - api_version = '0', - delete_options = kubernetes.client.models.v1/delete_options.v1.DeleteOptions( - api_version = '0', - dry_run = [ - '0' - ], - grace_period_seconds = 56, - kind = '0', - orphan_dependents = True, - preconditions = kubernetes.client.models.v1/preconditions.v1.Preconditions( - resource_version = '0', - uid = '0', ), - propagation_policy = '0', ), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ) - ) - else : - return V1beta1Eviction( - ) - - def testV1beta1Eviction(self): - """Test V1beta1Eviction""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_external_documentation.py b/kubernetes/test/test_v1beta1_external_documentation.py deleted file mode 100644 index 79c3149e97..0000000000 --- a/kubernetes/test/test_v1beta1_external_documentation.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_external_documentation import V1beta1ExternalDocumentation # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ExternalDocumentation(unittest.TestCase): - """V1beta1ExternalDocumentation unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ExternalDocumentation - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_external_documentation.V1beta1ExternalDocumentation() # noqa: E501 - if include_optional : - return V1beta1ExternalDocumentation( - description = '0', - url = '0' - ) - else : - return V1beta1ExternalDocumentation( - ) - - def testV1beta1ExternalDocumentation(self): - """Test V1beta1ExternalDocumentation""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_ip_block.py b/kubernetes/test/test_v1beta1_ip_block.py deleted file mode 100644 index 044e9a8194..0000000000 --- a/kubernetes/test/test_v1beta1_ip_block.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_ip_block import V1beta1IPBlock # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1IPBlock(unittest.TestCase): - """V1beta1IPBlock unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1IPBlock - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_ip_block.V1beta1IPBlock() # noqa: E501 - if include_optional : - return V1beta1IPBlock( - cidr = '0', - _except = [ - '0' - ] - ) - else : - return V1beta1IPBlock( - cidr = '0', - ) - - def testV1beta1IPBlock(self): - """Test V1beta1IPBlock""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_job_template_spec.py b/kubernetes/test/test_v1beta1_job_template_spec.py deleted file mode 100644 index f2e11cc74a..0000000000 --- a/kubernetes/test/test_v1beta1_job_template_spec.py +++ /dev/null @@ -1,149 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_job_template_spec import V1beta1JobTemplateSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1JobTemplateSpec(unittest.TestCase): - """V1beta1JobTemplateSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1JobTemplateSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_job_template_spec.V1beta1JobTemplateSpec() # noqa: E501 - if include_optional : - return V1beta1JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), - ttl_seconds_after_finished = 56, ) - ) - else : - return V1beta1JobTemplateSpec( - ) - - def testV1beta1JobTemplateSpec(self): - """Test V1beta1JobTemplateSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_json_schema_props.py b/kubernetes/test/test_v1beta1_json_schema_props.py deleted file mode 100644 index a071e5794b..0000000000 --- a/kubernetes/test/test_v1beta1_json_schema_props.py +++ /dev/null @@ -1,5808 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_json_schema_props import V1beta1JSONSchemaProps # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1JSONSchemaProps(unittest.TestCase): - """V1beta1JSONSchemaProps unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1JSONSchemaProps - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_json_schema_props.V1beta1JSONSchemaProps() # noqa: E501 - if include_optional : - return V1beta1JSONSchemaProps( - ref = '0', - schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - _not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - all_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - any_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - default = kubernetes.client.models.default.default(), - definitions = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - dependencies = { - 'key' : None - }, - description = '0', - enum = [ - None - ], - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - external_docs = kubernetes.client.models.v1beta1/external_documentation.v1beta1.ExternalDocumentation( - description = '0', - url = '0', ), - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - not = kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ), - nullable = True, - one_of = [ - kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - ], - pattern = '0', - pattern_properties = { - 'key' : kubernetes.client.models.v1beta1/json_schema_props.v1beta1.JSONSchemaProps( - __ref = '0', - __schema = '0', - additional_items = kubernetes.client.models.additional_items.additionalItems(), - additional_properties = kubernetes.client.models.additional_properties.additionalProperties(), - default = kubernetes.client.models.default.default(), - description = '0', - example = kubernetes.client.models.example.example(), - exclusive_maximum = True, - exclusive_minimum = True, - format = '0', - id = '0', - items = kubernetes.client.models.items.items(), - max_items = 56, - max_length = 56, - max_properties = 56, - maximum = 1.337, - min_items = 56, - min_length = 56, - min_properties = 56, - minimum = 1.337, - multiple_of = 1.337, - nullable = True, - pattern = '0', - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True, ) - }, - required = [ - '0' - ], - title = '0', - type = '0', - unique_items = True, - x_kubernetes_embedded_resource = True, - x_kubernetes_int_or_string = True, - x_kubernetes_list_map_keys = [ - '0' - ], - x_kubernetes_list_type = '0', - x_kubernetes_map_type = '0', - x_kubernetes_preserve_unknown_fields = True - ) - else : - return V1beta1JSONSchemaProps( - ) - - def testV1beta1JSONSchemaProps(self): - """Test V1beta1JSONSchemaProps""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease.py b/kubernetes/test/test_v1beta1_lease.py deleted file mode 100644 index c68b4f8b50..0000000000 --- a/kubernetes/test/test_v1beta1_lease.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_lease import V1beta1Lease # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Lease(unittest.TestCase): - """V1beta1Lease unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Lease - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_lease.V1beta1Lease() # noqa: E501 - if include_optional : - return V1beta1Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1beta1Lease( - ) - - def testV1beta1Lease(self): - """Test V1beta1Lease""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease_list.py b/kubernetes/test/test_v1beta1_lease_list.py deleted file mode 100644 index 9ff6f0488e..0000000000 --- a/kubernetes/test/test_v1beta1_lease_list.py +++ /dev/null @@ -1,158 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_lease_list import V1beta1LeaseList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1LeaseList(unittest.TestCase): - """V1beta1LeaseList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1LeaseList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_lease_list.V1beta1LeaseList() # noqa: E501 - if include_optional : - return V1beta1LeaseList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/lease.v1beta1.Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1LeaseList( - items = [ - kubernetes.client.models.v1beta1/lease.v1beta1.Lease( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/lease_spec.v1beta1.LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV1beta1LeaseList(self): - """Test V1beta1LeaseList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_lease_spec.py b/kubernetes/test/test_v1beta1_lease_spec.py deleted file mode 100644 index 0e50c7b0fb..0000000000 --- a/kubernetes/test/test_v1beta1_lease_spec.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_lease_spec import V1beta1LeaseSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1LeaseSpec(unittest.TestCase): - """V1beta1LeaseSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1LeaseSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_lease_spec.V1beta1LeaseSpec() # noqa: E501 - if include_optional : - return V1beta1LeaseSpec( - acquire_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - holder_identity = '0', - lease_duration_seconds = 56, - lease_transitions = 56, - renew_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1beta1LeaseSpec( - ) - - def testV1beta1LeaseSpec(self): - """Test V1beta1LeaseSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_local_subject_access_review.py b/kubernetes/test/test_v1beta1_local_subject_access_review.py deleted file mode 100644 index 03dd9ecad6..0000000000 --- a/kubernetes/test/test_v1beta1_local_subject_access_review.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_local_subject_access_review import V1beta1LocalSubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1LocalSubjectAccessReview(unittest.TestCase): - """V1beta1LocalSubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1LocalSubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_local_subject_access_review.V1beta1LocalSubjectAccessReview() # noqa: E501 - if include_optional : - return V1beta1LocalSubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1beta1LocalSubjectAccessReview( - spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - ) - - def testV1beta1LocalSubjectAccessReview(self): - """Test V1beta1LocalSubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook.py b/kubernetes/test/test_v1beta1_mutating_webhook.py deleted file mode 100644 index c2d9edec03..0000000000 --- a/kubernetes/test/test_v1beta1_mutating_webhook.py +++ /dev/null @@ -1,117 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_mutating_webhook import V1beta1MutatingWebhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1MutatingWebhook(unittest.TestCase): - """V1beta1MutatingWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1MutatingWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_mutating_webhook.V1beta1MutatingWebhook() # noqa: E501 - if include_optional : - return V1beta1MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56 - ) - else : - return V1beta1MutatingWebhook( - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - name = '0', - ) - - def testV1beta1MutatingWebhook(self): - """Test V1beta1MutatingWebhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py deleted file mode 100644 index 0603ad835f..0000000000 --- a/kubernetes/test/test_v1beta1_mutating_webhook_configuration.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_mutating_webhook_configuration import V1beta1MutatingWebhookConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1MutatingWebhookConfiguration(unittest.TestCase): - """V1beta1MutatingWebhookConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1MutatingWebhookConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_mutating_webhook_configuration.V1beta1MutatingWebhookConfiguration() # noqa: E501 - if include_optional : - return V1beta1MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ] - ) - else : - return V1beta1MutatingWebhookConfiguration( - ) - - def testV1beta1MutatingWebhookConfiguration(self): - """Test V1beta1MutatingWebhookConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py deleted file mode 100644 index a8a1f06838..0000000000 --- a/kubernetes/test/test_v1beta1_mutating_webhook_configuration_list.py +++ /dev/null @@ -1,244 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_mutating_webhook_configuration_list import V1beta1MutatingWebhookConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1MutatingWebhookConfigurationList(unittest.TestCase): - """V1beta1MutatingWebhookConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1MutatingWebhookConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_mutating_webhook_configuration_list.V1beta1MutatingWebhookConfigurationList() # noqa: E501 - if include_optional : - return V1beta1MutatingWebhookConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/mutating_webhook_configuration.v1beta1.MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1MutatingWebhookConfigurationList( - items = [ - kubernetes.client.models.v1beta1/mutating_webhook_configuration.v1beta1.MutatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/mutating_webhook.v1beta1.MutatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - reinvocation_policy = '0', - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - ) - - def testV1beta1MutatingWebhookConfigurationList(self): - """Test V1beta1MutatingWebhookConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy.py b/kubernetes/test/test_v1beta1_network_policy.py deleted file mode 100644 index 3702e42c7c..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy.py +++ /dev/null @@ -1,132 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy import V1beta1NetworkPolicy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicy(unittest.TestCase): - """V1beta1NetworkPolicy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy.V1beta1NetworkPolicy() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ) - ) - else : - return V1beta1NetworkPolicy( - ) - - def testV1beta1NetworkPolicy(self): - """Test V1beta1NetworkPolicy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py b/kubernetes/test/test_v1beta1_network_policy_egress_rule.py deleted file mode 100644 index 84250c10b8..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_egress_rule.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_egress_rule import V1beta1NetworkPolicyEgressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyEgressRule(unittest.TestCase): - """V1beta1NetworkPolicyEgressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyEgressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_egress_rule.V1beta1NetworkPolicyEgressRule() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ] - ) - else : - return V1beta1NetworkPolicyEgressRule( - ) - - def testV1beta1NetworkPolicyEgressRule(self): - """Test V1beta1NetworkPolicyEgressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py deleted file mode 100644 index 5a5fd87220..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_ingress_rule import V1beta1NetworkPolicyIngressRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyIngressRule(unittest.TestCase): - """V1beta1NetworkPolicyIngressRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyIngressRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_ingress_rule.V1beta1NetworkPolicyIngressRule() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyIngressRule( - _from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ] - ) - else : - return V1beta1NetworkPolicyIngressRule( - ) - - def testV1beta1NetworkPolicyIngressRule(self): - """Test V1beta1NetworkPolicyIngressRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_list.py b/kubernetes/test/test_v1beta1_network_policy_list.py deleted file mode 100644 index 1140240f01..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_list.py +++ /dev/null @@ -1,226 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_list import V1beta1NetworkPolicyList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyList(unittest.TestCase): - """V1beta1NetworkPolicyList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_list.V1beta1NetworkPolicyList() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/network_policy.v1beta1.NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1NetworkPolicyList( - items = [ - kubernetes.client.models.v1beta1/network_policy.v1beta1.NetworkPolicy( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/network_policy_spec.v1beta1.NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer() - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - policy_types = [ - '0' - ], ), ) - ], - ) - - def testV1beta1NetworkPolicyList(self): - """Test V1beta1NetworkPolicyList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_peer.py b/kubernetes/test/test_v1beta1_network_policy_peer.py deleted file mode 100644 index 6a2323ee88..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_peer.py +++ /dev/null @@ -1,80 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_peer import V1beta1NetworkPolicyPeer # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyPeer(unittest.TestCase): - """V1beta1NetworkPolicyPeer unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyPeer - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_peer.V1beta1NetworkPolicyPeer() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V1beta1NetworkPolicyPeer( - ) - - def testV1beta1NetworkPolicyPeer(self): - """Test V1beta1NetworkPolicyPeer""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_port.py b/kubernetes/test/test_v1beta1_network_policy_port.py deleted file mode 100644 index 532f056500..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_port.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_port import V1beta1NetworkPolicyPort # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicyPort(unittest.TestCase): - """V1beta1NetworkPolicyPort unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicyPort - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_port.V1beta1NetworkPolicyPort() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0' - ) - else : - return V1beta1NetworkPolicyPort( - ) - - def testV1beta1NetworkPolicyPort(self): - """Test V1beta1NetworkPolicyPort""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_network_policy_spec.py b/kubernetes/test/test_v1beta1_network_policy_spec.py deleted file mode 100644 index fdc909f896..0000000000 --- a/kubernetes/test/test_v1beta1_network_policy_spec.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_network_policy_spec import V1beta1NetworkPolicySpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NetworkPolicySpec(unittest.TestCase): - """V1beta1NetworkPolicySpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NetworkPolicySpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_network_policy_spec.V1beta1NetworkPolicySpec() # noqa: E501 - if include_optional : - return V1beta1NetworkPolicySpec( - egress = [ - kubernetes.client.models.v1beta1/network_policy_egress_rule.v1beta1.NetworkPolicyEgressRule( - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], - to = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], ) - ], - ingress = [ - kubernetes.client.models.v1beta1/network_policy_ingress_rule.v1beta1.NetworkPolicyIngressRule( - from = [ - kubernetes.client.models.v1beta1/network_policy_peer.v1beta1.NetworkPolicyPeer( - ip_block = kubernetes.client.models.v1beta1/ip_block.v1beta1.IPBlock( - cidr = '0', - except = [ - '0' - ], ), - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), ) - ], - ports = [ - kubernetes.client.models.v1beta1/network_policy_port.v1beta1.NetworkPolicyPort( - port = kubernetes.client.models.port.port(), - protocol = '0', ) - ], ) - ], - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - policy_types = [ - '0' - ] - ) - else : - return V1beta1NetworkPolicySpec( - pod_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - ) - - def testV1beta1NetworkPolicySpec(self): - """Test V1beta1NetworkPolicySpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_non_resource_attributes.py b/kubernetes/test/test_v1beta1_non_resource_attributes.py deleted file mode 100644 index 7616d861e9..0000000000 --- a/kubernetes/test/test_v1beta1_non_resource_attributes.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_non_resource_attributes import V1beta1NonResourceAttributes # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NonResourceAttributes(unittest.TestCase): - """V1beta1NonResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NonResourceAttributes - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_non_resource_attributes.V1beta1NonResourceAttributes() # noqa: E501 - if include_optional : - return V1beta1NonResourceAttributes( - path = '0', - verb = '0' - ) - else : - return V1beta1NonResourceAttributes( - ) - - def testV1beta1NonResourceAttributes(self): - """Test V1beta1NonResourceAttributes""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_non_resource_rule.py b/kubernetes/test/test_v1beta1_non_resource_rule.py deleted file mode 100644 index 9d60829d77..0000000000 --- a/kubernetes/test/test_v1beta1_non_resource_rule.py +++ /dev/null @@ -1,60 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_non_resource_rule import V1beta1NonResourceRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1NonResourceRule(unittest.TestCase): - """V1beta1NonResourceRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1NonResourceRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_non_resource_rule.V1beta1NonResourceRule() # noqa: E501 - if include_optional : - return V1beta1NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1beta1NonResourceRule( - verbs = [ - '0' - ], - ) - - def testV1beta1NonResourceRule(self): - """Test V1beta1NonResourceRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_overhead.py b/kubernetes/test/test_v1beta1_overhead.py deleted file mode 100644 index fc24d08eaf..0000000000 --- a/kubernetes/test/test_v1beta1_overhead.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_overhead import V1beta1Overhead # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Overhead(unittest.TestCase): - """V1beta1Overhead unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Overhead - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_overhead.V1beta1Overhead() # noqa: E501 - if include_optional : - return V1beta1Overhead( - pod_fixed = { - 'key' : '0' - } - ) - else : - return V1beta1Overhead( - ) - - def testV1beta1Overhead(self): - """Test V1beta1Overhead""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget.py b/kubernetes/test/test_v1beta1_pod_disruption_budget.py deleted file mode 100644 index 41f7be8c02..0000000000 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_pod_disruption_budget import V1beta1PodDisruptionBudget # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PodDisruptionBudget(unittest.TestCase): - """V1beta1PodDisruptionBudget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PodDisruptionBudget - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_pod_disruption_budget.V1beta1PodDisruptionBudget() # noqa: E501 - if include_optional : - return V1beta1PodDisruptionBudget( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), - min_available = kubernetes.client.models.min_available.minAvailable(), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disrupted_pods = { - 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - }, - disruptions_allowed = 56, - expected_pods = 56, - observed_generation = 56, ) - ) - else : - return V1beta1PodDisruptionBudget( - ) - - def testV1beta1PodDisruptionBudget(self): - """Test V1beta1PodDisruptionBudget""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py deleted file mode 100644 index 9183418413..0000000000 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_pod_disruption_budget_list import V1beta1PodDisruptionBudgetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PodDisruptionBudgetList(unittest.TestCase): - """V1beta1PodDisruptionBudgetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PodDisruptionBudgetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_pod_disruption_budget_list.V1beta1PodDisruptionBudgetList() # noqa: E501 - if include_optional : - return V1beta1PodDisruptionBudgetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/pod_disruption_budget.v1beta1.PodDisruptionBudget( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), - min_available = kubernetes.client.models.min_available.minAvailable(), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disrupted_pods = { - 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - }, - disruptions_allowed = 56, - expected_pods = 56, - observed_generation = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1PodDisruptionBudgetList( - items = [ - kubernetes.client.models.v1beta1/pod_disruption_budget.v1beta1.PodDisruptionBudget( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/pod_disruption_budget_spec.v1beta1.PodDisruptionBudgetSpec( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), - min_available = kubernetes.client.models.min_available.minAvailable(), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - status = kubernetes.client.models.v1beta1/pod_disruption_budget_status.v1beta1.PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disrupted_pods = { - 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - }, - disruptions_allowed = 56, - expected_pods = 56, - observed_generation = 56, ), ) - ], - ) - - def testV1beta1PodDisruptionBudgetList(self): - """Test V1beta1PodDisruptionBudgetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py deleted file mode 100644 index beadec1d2e..0000000000 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_pod_disruption_budget_spec import V1beta1PodDisruptionBudgetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PodDisruptionBudgetSpec(unittest.TestCase): - """V1beta1PodDisruptionBudgetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PodDisruptionBudgetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_pod_disruption_budget_spec.V1beta1PodDisruptionBudgetSpec() # noqa: E501 - if include_optional : - return V1beta1PodDisruptionBudgetSpec( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), - min_available = kubernetes.client.models.min_available.minAvailable(), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V1beta1PodDisruptionBudgetSpec( - ) - - def testV1beta1PodDisruptionBudgetSpec(self): - """Test V1beta1PodDisruptionBudgetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py deleted file mode 100644 index d5e624682a..0000000000 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_pod_disruption_budget_status import V1beta1PodDisruptionBudgetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PodDisruptionBudgetStatus(unittest.TestCase): - """V1beta1PodDisruptionBudgetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PodDisruptionBudgetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_pod_disruption_budget_status.V1beta1PodDisruptionBudgetStatus() # noqa: E501 - if include_optional : - return V1beta1PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disrupted_pods = { - 'key' : datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - }, - disruptions_allowed = 56, - expected_pods = 56, - observed_generation = 56 - ) - else : - return V1beta1PodDisruptionBudgetStatus( - current_healthy = 56, - desired_healthy = 56, - disruptions_allowed = 56, - expected_pods = 56, - ) - - def testV1beta1PodDisruptionBudgetStatus(self): - """Test V1beta1PodDisruptionBudgetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_policy_rule.py b/kubernetes/test/test_v1beta1_policy_rule.py deleted file mode 100644 index 7cd1bd94b6..0000000000 --- a/kubernetes/test/test_v1beta1_policy_rule.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_policy_rule import V1beta1PolicyRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PolicyRule(unittest.TestCase): - """V1beta1PolicyRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PolicyRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_policy_rule.V1beta1PolicyRule() # noqa: E501 - if include_optional : - return V1beta1PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1beta1PolicyRule( - verbs = [ - '0' - ], - ) - - def testV1beta1PolicyRule(self): - """Test V1beta1PolicyRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_priority_class.py b/kubernetes/test/test_v1beta1_priority_class.py deleted file mode 100644 index 5fcc490f18..0000000000 --- a/kubernetes/test/test_v1beta1_priority_class.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_priority_class import V1beta1PriorityClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PriorityClass(unittest.TestCase): - """V1beta1PriorityClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PriorityClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_priority_class.V1beta1PriorityClass() # noqa: E501 - if include_optional : - return V1beta1PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56 - ) - else : - return V1beta1PriorityClass( - value = 56, - ) - - def testV1beta1PriorityClass(self): - """Test V1beta1PriorityClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_priority_class_list.py b/kubernetes/test/test_v1beta1_priority_class_list.py deleted file mode 100644 index 0d21cce82c..0000000000 --- a/kubernetes/test/test_v1beta1_priority_class_list.py +++ /dev/null @@ -1,154 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_priority_class_list import V1beta1PriorityClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1PriorityClassList(unittest.TestCase): - """V1beta1PriorityClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1PriorityClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_priority_class_list.V1beta1PriorityClassList() # noqa: E501 - if include_optional : - return V1beta1PriorityClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/priority_class.v1beta1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1PriorityClassList( - items = [ - kubernetes.client.models.v1beta1/priority_class.v1beta1.PriorityClass( - api_version = '0', - description = '0', - global_default = True, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - preemption_policy = '0', - value = 56, ) - ], - ) - - def testV1beta1PriorityClassList(self): - """Test V1beta1PriorityClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set.py b/kubernetes/test/test_v1beta1_replica_set.py deleted file mode 100644 index ed85086369..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set.py +++ /dev/null @@ -1,594 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set import V1beta1ReplicaSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSet(unittest.TestCase): - """V1beta1ReplicaSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set.V1beta1ReplicaSet() # noqa: E501 - if include_optional : - return V1beta1ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ) - ) - else : - return V1beta1ReplicaSet( - ) - - def testV1beta1ReplicaSet(self): - """Test V1beta1ReplicaSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_condition.py b/kubernetes/test/test_v1beta1_replica_set_condition.py deleted file mode 100644 index 8f836d39b5..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set_condition import V1beta1ReplicaSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSetCondition(unittest.TestCase): - """V1beta1ReplicaSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set_condition.V1beta1ReplicaSetCondition() # noqa: E501 - if include_optional : - return V1beta1ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1ReplicaSetCondition( - status = '0', - type = '0', - ) - - def testV1beta1ReplicaSetCondition(self): - """Test V1beta1ReplicaSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_list.py b/kubernetes/test/test_v1beta1_replica_set_list.py deleted file mode 100644 index 6ba9d2f85f..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set_list import V1beta1ReplicaSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSetList(unittest.TestCase): - """V1beta1ReplicaSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set_list.V1beta1ReplicaSetList() # noqa: E501 - if include_optional : - return V1beta1ReplicaSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/replica_set.v1beta1.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ReplicaSetList( - items = [ - kubernetes.client.models.v1beta1/replica_set.v1beta1.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/replica_set_spec.v1beta1.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta1/replica_set_status.v1beta1.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - ) - - def testV1beta1ReplicaSetList(self): - """Test V1beta1ReplicaSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_spec.py b/kubernetes/test/test_v1beta1_replica_set_spec.py deleted file mode 100644 index 000f606991..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set_spec.py +++ /dev/null @@ -1,549 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set_spec import V1beta1ReplicaSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSetSpec(unittest.TestCase): - """V1beta1ReplicaSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set_spec.V1beta1ReplicaSetSpec() # noqa: E501 - if include_optional : - return V1beta1ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1beta1ReplicaSetSpec( - ) - - def testV1beta1ReplicaSetSpec(self): - """Test V1beta1ReplicaSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_replica_set_status.py b/kubernetes/test/test_v1beta1_replica_set_status.py deleted file mode 100644 index f719026853..0000000000 --- a/kubernetes/test/test_v1beta1_replica_set_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_replica_set_status import V1beta1ReplicaSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ReplicaSetStatus(unittest.TestCase): - """V1beta1ReplicaSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ReplicaSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_replica_set_status.V1beta1ReplicaSetStatus() # noqa: E501 - if include_optional : - return V1beta1ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta1/replica_set_condition.v1beta1.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56 - ) - else : - return V1beta1ReplicaSetStatus( - replicas = 56, - ) - - def testV1beta1ReplicaSetStatus(self): - """Test V1beta1ReplicaSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_resource_attributes.py b/kubernetes/test/test_v1beta1_resource_attributes.py deleted file mode 100644 index e38d8fb9f2..0000000000 --- a/kubernetes/test/test_v1beta1_resource_attributes.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_resource_attributes import V1beta1ResourceAttributes # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ResourceAttributes(unittest.TestCase): - """V1beta1ResourceAttributes unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ResourceAttributes - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_resource_attributes.V1beta1ResourceAttributes() # noqa: E501 - if include_optional : - return V1beta1ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0' - ) - else : - return V1beta1ResourceAttributes( - ) - - def testV1beta1ResourceAttributes(self): - """Test V1beta1ResourceAttributes""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_resource_rule.py b/kubernetes/test/test_v1beta1_resource_rule.py deleted file mode 100644 index 348f01a95b..0000000000 --- a/kubernetes/test/test_v1beta1_resource_rule.py +++ /dev/null @@ -1,66 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_resource_rule import V1beta1ResourceRule # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ResourceRule(unittest.TestCase): - """V1beta1ResourceRule unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ResourceRule - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_resource_rule.V1beta1ResourceRule() # noqa: E501 - if include_optional : - return V1beta1ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ] - ) - else : - return V1beta1ResourceRule( - verbs = [ - '0' - ], - ) - - def testV1beta1ResourceRule(self): - """Test V1beta1ResourceRule""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role.py b/kubernetes/test/test_v1beta1_role.py deleted file mode 100644 index 85c0abc066..0000000000 --- a/kubernetes/test/test_v1beta1_role.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role import V1beta1Role # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Role(unittest.TestCase): - """V1beta1Role unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Role - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role.V1beta1Role() # noqa: E501 - if include_optional : - return V1beta1Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1beta1Role( - ) - - def testV1beta1Role(self): - """Test V1beta1Role""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_binding.py b/kubernetes/test/test_v1beta1_role_binding.py deleted file mode 100644 index 575474c252..0000000000 --- a/kubernetes/test/test_v1beta1_role_binding.py +++ /dev/null @@ -1,107 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role_binding import V1beta1RoleBinding # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RoleBinding(unittest.TestCase): - """V1beta1RoleBinding unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RoleBinding - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role_binding.V1beta1RoleBinding() # noqa: E501 - if include_optional : - return V1beta1RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ] - ) - else : - return V1beta1RoleBinding( - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - ) - - def testV1beta1RoleBinding(self): - """Test V1beta1RoleBinding""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_binding_list.py b/kubernetes/test/test_v1beta1_role_binding_list.py deleted file mode 100644 index 942eacc224..0000000000 --- a/kubernetes/test/test_v1beta1_role_binding_list.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role_binding_list import V1beta1RoleBindingList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RoleBindingList(unittest.TestCase): - """V1beta1RoleBindingList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RoleBindingList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role_binding_list.V1beta1RoleBindingList() # noqa: E501 - if include_optional : - return V1beta1RoleBindingList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/role_binding.v1beta1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1RoleBindingList( - items = [ - kubernetes.client.models.v1beta1/role_binding.v1beta1.RoleBinding( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - role_ref = kubernetes.client.models.v1beta1/role_ref.v1beta1.RoleRef( - api_group = '0', - kind = '0', - name = '0', ), - subjects = [ - kubernetes.client.models.v1beta1/subject.v1beta1.Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0', ) - ], ) - ], - ) - - def testV1beta1RoleBindingList(self): - """Test V1beta1RoleBindingList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_list.py b/kubernetes/test/test_v1beta1_role_list.py deleted file mode 100644 index 92da255ccb..0000000000 --- a/kubernetes/test/test_v1beta1_role_list.py +++ /dev/null @@ -1,182 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role_list import V1beta1RoleList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RoleList(unittest.TestCase): - """V1beta1RoleList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RoleList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role_list.V1beta1RoleList() # noqa: E501 - if include_optional : - return V1beta1RoleList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/role.v1beta1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1RoleList( - items = [ - kubernetes.client.models.v1beta1/role.v1beta1.Role( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - rules = [ - kubernetes.client.models.v1beta1/policy_rule.v1beta1.PolicyRule( - api_groups = [ - '0' - ], - non_resource_ur_ls = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ], - ) - - def testV1beta1RoleList(self): - """Test V1beta1RoleList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_role_ref.py b/kubernetes/test/test_v1beta1_role_ref.py deleted file mode 100644 index 5773ce0fc8..0000000000 --- a/kubernetes/test/test_v1beta1_role_ref.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_role_ref import V1beta1RoleRef # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RoleRef(unittest.TestCase): - """V1beta1RoleRef unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RoleRef - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_role_ref.V1beta1RoleRef() # noqa: E501 - if include_optional : - return V1beta1RoleRef( - api_group = '0', - kind = '0', - name = '0' - ) - else : - return V1beta1RoleRef( - api_group = '0', - kind = '0', - name = '0', - ) - - def testV1beta1RoleRef(self): - """Test V1beta1RoleRef""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py deleted file mode 100644 index d7472453ef..0000000000 --- a/kubernetes/test/test_v1beta1_rolling_update_daemon_set.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_rolling_update_daemon_set import V1beta1RollingUpdateDaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RollingUpdateDaemonSet(unittest.TestCase): - """V1beta1RollingUpdateDaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RollingUpdateDaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_rolling_update_daemon_set.V1beta1RollingUpdateDaemonSet() # noqa: E501 - if include_optional : - return V1beta1RollingUpdateDaemonSet( - max_unavailable = None - ) - else : - return V1beta1RollingUpdateDaemonSet( - ) - - def testV1beta1RollingUpdateDaemonSet(self): - """Test V1beta1RollingUpdateDaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py deleted file mode 100644 index 45862fa8de..0000000000 --- a/kubernetes/test/test_v1beta1_rolling_update_stateful_set_strategy.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_rolling_update_stateful_set_strategy import V1beta1RollingUpdateStatefulSetStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RollingUpdateStatefulSetStrategy(unittest.TestCase): - """V1beta1RollingUpdateStatefulSetStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RollingUpdateStatefulSetStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_rolling_update_stateful_set_strategy.V1beta1RollingUpdateStatefulSetStrategy() # noqa: E501 - if include_optional : - return V1beta1RollingUpdateStatefulSetStrategy( - partition = 56 - ) - else : - return V1beta1RollingUpdateStatefulSetStrategy( - ) - - def testV1beta1RollingUpdateStatefulSetStrategy(self): - """Test V1beta1RollingUpdateStatefulSetStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_rule_with_operations.py b/kubernetes/test/test_v1beta1_rule_with_operations.py deleted file mode 100644 index 343a7bd55c..0000000000 --- a/kubernetes/test/test_v1beta1_rule_with_operations.py +++ /dev/null @@ -1,64 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_rule_with_operations import V1beta1RuleWithOperations # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RuleWithOperations(unittest.TestCase): - """V1beta1RuleWithOperations unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RuleWithOperations - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_rule_with_operations.V1beta1RuleWithOperations() # noqa: E501 - if include_optional : - return V1beta1RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0' - ) - else : - return V1beta1RuleWithOperations( - ) - - def testV1beta1RuleWithOperations(self): - """Test V1beta1RuleWithOperations""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_runtime_class.py b/kubernetes/test/test_v1beta1_runtime_class.py deleted file mode 100644 index ccd2590f14..0000000000 --- a/kubernetes/test/test_v1beta1_runtime_class.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_runtime_class import V1beta1RuntimeClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RuntimeClass(unittest.TestCase): - """V1beta1RuntimeClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RuntimeClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_runtime_class.V1beta1RuntimeClass() # noqa: E501 - if include_optional : - return V1beta1RuntimeClass( - api_version = '0', - handler = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ) - ) - else : - return V1beta1RuntimeClass( - handler = '0', - ) - - def testV1beta1RuntimeClass(self): - """Test V1beta1RuntimeClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_runtime_class_list.py b/kubernetes/test/test_v1beta1_runtime_class_list.py deleted file mode 100644 index 03c22f2482..0000000000 --- a/kubernetes/test/test_v1beta1_runtime_class_list.py +++ /dev/null @@ -1,180 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_runtime_class_list import V1beta1RuntimeClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1RuntimeClassList(unittest.TestCase): - """V1beta1RuntimeClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1RuntimeClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_runtime_class_list.V1beta1RuntimeClassList() # noqa: E501 - if include_optional : - return V1beta1RuntimeClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/runtime_class.v1beta1.RuntimeClass( - api_version = '0', - handler = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1RuntimeClassList( - items = [ - kubernetes.client.models.v1beta1/runtime_class.v1beta1.RuntimeClass( - api_version = '0', - handler = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - overhead = kubernetes.client.models.v1beta1/overhead.v1beta1.Overhead( - pod_fixed = { - 'key' : '0' - }, ), - scheduling = kubernetes.client.models.v1beta1/scheduling.v1beta1.Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], ), ) - ], - ) - - def testV1beta1RuntimeClassList(self): - """Test V1beta1RuntimeClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_scheduling.py b/kubernetes/test/test_v1beta1_scheduling.py deleted file mode 100644 index b68414a7a3..0000000000 --- a/kubernetes/test/test_v1beta1_scheduling.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_scheduling import V1beta1Scheduling # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Scheduling(unittest.TestCase): - """V1beta1Scheduling unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Scheduling - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_scheduling.V1beta1Scheduling() # noqa: E501 - if include_optional : - return V1beta1Scheduling( - node_selector = { - 'key' : '0' - }, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ] - ) - else : - return V1beta1Scheduling( - ) - - def testV1beta1Scheduling(self): - """Test V1beta1Scheduling""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review.py b/kubernetes/test/test_v1beta1_self_subject_access_review.py deleted file mode 100644 index 871524cdad..0000000000 --- a/kubernetes/test/test_v1beta1_self_subject_access_review.py +++ /dev/null @@ -1,121 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_self_subject_access_review import V1beta1SelfSubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SelfSubjectAccessReview(unittest.TestCase): - """V1beta1SelfSubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SelfSubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_self_subject_access_review.V1beta1SelfSubjectAccessReview() # noqa: E501 - if include_optional : - return V1beta1SelfSubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/self_subject_access_review_spec.v1beta1.SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), ), - status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1beta1SelfSubjectAccessReview( - spec = kubernetes.client.models.v1beta1/self_subject_access_review_spec.v1beta1.SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), ), - ) - - def testV1beta1SelfSubjectAccessReview(self): - """Test V1beta1SelfSubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py deleted file mode 100644 index 903ba49e03..0000000000 --- a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_self_subject_access_review_spec import V1beta1SelfSubjectAccessReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SelfSubjectAccessReviewSpec(unittest.TestCase): - """V1beta1SelfSubjectAccessReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SelfSubjectAccessReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_self_subject_access_review_spec.V1beta1SelfSubjectAccessReviewSpec() # noqa: E501 - if include_optional : - return V1beta1SelfSubjectAccessReviewSpec( - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ) - ) - else : - return V1beta1SelfSubjectAccessReviewSpec( - ) - - def testV1beta1SelfSubjectAccessReviewSpec(self): - """Test V1beta1SelfSubjectAccessReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review.py b/kubernetes/test/test_v1beta1_self_subject_rules_review.py deleted file mode 100644 index d8a7e43f58..0000000000 --- a/kubernetes/test/test_v1beta1_self_subject_rules_review.py +++ /dev/null @@ -1,123 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_self_subject_rules_review import V1beta1SelfSubjectRulesReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SelfSubjectRulesReview(unittest.TestCase): - """V1beta1SelfSubjectRulesReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SelfSubjectRulesReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_self_subject_rules_review.V1beta1SelfSubjectRulesReview() # noqa: E501 - if include_optional : - return V1beta1SelfSubjectRulesReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/self_subject_rules_review_spec.v1beta1.SelfSubjectRulesReviewSpec( - namespace = '0', ), - status = kubernetes.client.models.v1beta1/subject_rules_review_status.v1beta1.SubjectRulesReviewStatus( - evaluation_error = '0', - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], ) - ) - else : - return V1beta1SelfSubjectRulesReview( - spec = kubernetes.client.models.v1beta1/self_subject_rules_review_spec.v1beta1.SelfSubjectRulesReviewSpec( - namespace = '0', ), - ) - - def testV1beta1SelfSubjectRulesReview(self): - """Test V1beta1SelfSubjectRulesReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py deleted file mode 100644 index 065b373725..0000000000 --- a/kubernetes/test/test_v1beta1_self_subject_rules_review_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_self_subject_rules_review_spec import V1beta1SelfSubjectRulesReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SelfSubjectRulesReviewSpec(unittest.TestCase): - """V1beta1SelfSubjectRulesReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SelfSubjectRulesReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_self_subject_rules_review_spec.V1beta1SelfSubjectRulesReviewSpec() # noqa: E501 - if include_optional : - return V1beta1SelfSubjectRulesReviewSpec( - namespace = '0' - ) - else : - return V1beta1SelfSubjectRulesReviewSpec( - ) - - def testV1beta1SelfSubjectRulesReviewSpec(self): - """Test V1beta1SelfSubjectRulesReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set.py b/kubernetes/test/test_v1beta1_stateful_set.py deleted file mode 100644 index 99cdd8e1ba..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set.py +++ /dev/null @@ -1,625 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set import V1beta1StatefulSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSet(unittest.TestCase): - """V1beta1StatefulSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set.V1beta1StatefulSet() # noqa: E501 - if include_optional : - return V1beta1StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/stateful_set_condition.v1beta1.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ) - ) - else : - return V1beta1StatefulSet( - ) - - def testV1beta1StatefulSet(self): - """Test V1beta1StatefulSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_condition.py b/kubernetes/test/test_v1beta1_stateful_set_condition.py deleted file mode 100644 index b2c5145365..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_condition import V1beta1StatefulSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetCondition(unittest.TestCase): - """V1beta1StatefulSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_condition.V1beta1StatefulSetCondition() # noqa: E501 - if include_optional : - return V1beta1StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta1StatefulSetCondition( - status = '0', - type = '0', - ) - - def testV1beta1StatefulSetCondition(self): - """Test V1beta1StatefulSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_list.py b/kubernetes/test/test_v1beta1_stateful_set_list.py deleted file mode 100644 index ebf7f18d0c..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_list.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_list import V1beta1StatefulSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetList(unittest.TestCase): - """V1beta1StatefulSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_list.V1beta1StatefulSetList() # noqa: E501 - if include_optional : - return V1beta1StatefulSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/stateful_set.v1beta1.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1StatefulSetList( - items = [ - kubernetes.client.models.v1beta1/stateful_set.v1beta1.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/stateful_set_spec.v1beta1.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta1/stateful_set_status.v1beta1.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - ) - - def testV1beta1StatefulSetList(self): - """Test V1beta1StatefulSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_spec.py b/kubernetes/test/test_v1beta1_stateful_set_spec.py deleted file mode 100644 index a8f36f75eb..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_spec.py +++ /dev/null @@ -1,1128 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_spec import V1beta1StatefulSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetSpec(unittest.TestCase): - """V1beta1StatefulSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_spec.V1beta1StatefulSetSpec() # noqa: E501 - if include_optional : - return V1beta1StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta1/stateful_set_update_strategy.v1beta1.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ] - ) - else : - return V1beta1StatefulSetSpec( - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta1StatefulSetSpec(self): - """Test V1beta1StatefulSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_status.py b/kubernetes/test/test_v1beta1_stateful_set_status.py deleted file mode 100644 index db47eb413c..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_status.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_status import V1beta1StatefulSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetStatus(unittest.TestCase): - """V1beta1StatefulSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_status.V1beta1StatefulSetStatus() # noqa: E501 - if include_optional : - return V1beta1StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta1/stateful_set_condition.v1beta1.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56 - ) - else : - return V1beta1StatefulSetStatus( - replicas = 56, - ) - - def testV1beta1StatefulSetStatus(self): - """Test V1beta1StatefulSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py deleted file mode 100644 index 70f4650045..0000000000 --- a/kubernetes/test/test_v1beta1_stateful_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_stateful_set_update_strategy import V1beta1StatefulSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StatefulSetUpdateStrategy(unittest.TestCase): - """V1beta1StatefulSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StatefulSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_stateful_set_update_strategy.V1beta1StatefulSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1beta1StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta1/rolling_update_stateful_set_strategy.v1beta1.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0' - ) - else : - return V1beta1StatefulSetUpdateStrategy( - ) - - def testV1beta1StatefulSetUpdateStrategy(self): - """Test V1beta1StatefulSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_storage_class.py b/kubernetes/test/test_v1beta1_storage_class.py deleted file mode 100644 index 161c1db144..0000000000 --- a/kubernetes/test/test_v1beta1_storage_class.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_storage_class import V1beta1StorageClass # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StorageClass(unittest.TestCase): - """V1beta1StorageClass unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StorageClass - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_storage_class.V1beta1StorageClass() # noqa: E501 - if include_optional : - return V1beta1StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0' - ) - else : - return V1beta1StorageClass( - provisioner = '0', - ) - - def testV1beta1StorageClass(self): - """Test V1beta1StorageClass""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_storage_class_list.py b/kubernetes/test/test_v1beta1_storage_class_list.py deleted file mode 100644 index f651ee0359..0000000000 --- a/kubernetes/test/test_v1beta1_storage_class_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_storage_class_list import V1beta1StorageClassList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1StorageClassList(unittest.TestCase): - """V1beta1StorageClassList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1StorageClassList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_storage_class_list.V1beta1StorageClassList() # noqa: E501 - if include_optional : - return V1beta1StorageClassList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/storage_class.v1beta1.StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0', ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1StorageClassList( - items = [ - kubernetes.client.models.v1beta1/storage_class.v1beta1.StorageClass( - allow_volume_expansion = True, - allowed_topologies = [ - kubernetes.client.models.v1/topology_selector_term.v1.TopologySelectorTerm( - match_label_expressions = [ - kubernetes.client.models.v1/topology_selector_label_requirement.v1.TopologySelectorLabelRequirement( - key = '0', - values = [ - '0' - ], ) - ], ) - ], - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - mount_options = [ - '0' - ], - parameters = { - 'key' : '0' - }, - provisioner = '0', - reclaim_policy = '0', - volume_binding_mode = '0', ) - ], - ) - - def testV1beta1StorageClassList(self): - """Test V1beta1StorageClassList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject.py b/kubernetes/test/test_v1beta1_subject.py deleted file mode 100644 index 87cc88861a..0000000000 --- a/kubernetes/test/test_v1beta1_subject.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject import V1beta1Subject # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1Subject(unittest.TestCase): - """V1beta1Subject unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1Subject - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject.V1beta1Subject() # noqa: E501 - if include_optional : - return V1beta1Subject( - api_group = '0', - kind = '0', - name = '0', - namespace = '0' - ) - else : - return V1beta1Subject( - kind = '0', - name = '0', - ) - - def testV1beta1Subject(self): - """Test V1beta1Subject""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review.py b/kubernetes/test/test_v1beta1_subject_access_review.py deleted file mode 100644 index 7a3c3ea7af..0000000000 --- a/kubernetes/test/test_v1beta1_subject_access_review.py +++ /dev/null @@ -1,139 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject_access_review import V1beta1SubjectAccessReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SubjectAccessReview(unittest.TestCase): - """V1beta1SubjectAccessReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SubjectAccessReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject_access_review.V1beta1SubjectAccessReview() # noqa: E501 - if include_optional : - return V1beta1SubjectAccessReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - status = kubernetes.client.models.v1beta1/subject_access_review_status.v1beta1.SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0', ) - ) - else : - return V1beta1SubjectAccessReview( - spec = kubernetes.client.models.v1beta1/subject_access_review_spec.v1beta1.SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0', ), - ) - - def testV1beta1SubjectAccessReview(self): - """Test V1beta1SubjectAccessReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_subject_access_review_spec.py deleted file mode 100644 index b1510c2302..0000000000 --- a/kubernetes/test/test_v1beta1_subject_access_review_spec.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject_access_review_spec import V1beta1SubjectAccessReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SubjectAccessReviewSpec(unittest.TestCase): - """V1beta1SubjectAccessReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SubjectAccessReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject_access_review_spec.V1beta1SubjectAccessReviewSpec() # noqa: E501 - if include_optional : - return V1beta1SubjectAccessReviewSpec( - extra = { - 'key' : [ - '0' - ] - }, - group = [ - '0' - ], - non_resource_attributes = kubernetes.client.models.v1beta1/non_resource_attributes.v1beta1.NonResourceAttributes( - path = '0', - verb = '0', ), - resource_attributes = kubernetes.client.models.v1beta1/resource_attributes.v1beta1.ResourceAttributes( - group = '0', - name = '0', - namespace = '0', - resource = '0', - subresource = '0', - verb = '0', - version = '0', ), - uid = '0', - user = '0' - ) - else : - return V1beta1SubjectAccessReviewSpec( - ) - - def testV1beta1SubjectAccessReviewSpec(self): - """Test V1beta1SubjectAccessReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_access_review_status.py b/kubernetes/test/test_v1beta1_subject_access_review_status.py deleted file mode 100644 index 0d3c3fd949..0000000000 --- a/kubernetes/test/test_v1beta1_subject_access_review_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject_access_review_status import V1beta1SubjectAccessReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SubjectAccessReviewStatus(unittest.TestCase): - """V1beta1SubjectAccessReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SubjectAccessReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject_access_review_status.V1beta1SubjectAccessReviewStatus() # noqa: E501 - if include_optional : - return V1beta1SubjectAccessReviewStatus( - allowed = True, - denied = True, - evaluation_error = '0', - reason = '0' - ) - else : - return V1beta1SubjectAccessReviewStatus( - allowed = True, - ) - - def testV1beta1SubjectAccessReviewStatus(self): - """Test V1beta1SubjectAccessReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_subject_rules_review_status.py b/kubernetes/test/test_v1beta1_subject_rules_review_status.py deleted file mode 100644 index cb3074d456..0000000000 --- a/kubernetes/test/test_v1beta1_subject_rules_review_status.py +++ /dev/null @@ -1,102 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_subject_rules_review_status import V1beta1SubjectRulesReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1SubjectRulesReviewStatus(unittest.TestCase): - """V1beta1SubjectRulesReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1SubjectRulesReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_subject_rules_review_status.V1beta1SubjectRulesReviewStatus() # noqa: E501 - if include_optional : - return V1beta1SubjectRulesReviewStatus( - evaluation_error = '0', - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ] - ) - else : - return V1beta1SubjectRulesReviewStatus( - incomplete = True, - non_resource_rules = [ - kubernetes.client.models.v1beta1/non_resource_rule.v1beta1.NonResourceRule( - non_resource_ur_ls = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - resource_rules = [ - kubernetes.client.models.v1beta1/resource_rule.v1beta1.ResourceRule( - api_groups = [ - '0' - ], - resource_names = [ - '0' - ], - resources = [ - '0' - ], - verbs = [ - '0' - ], ) - ], - ) - - def testV1beta1SubjectRulesReviewStatus(self): - """Test V1beta1SubjectRulesReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review.py b/kubernetes/test/test_v1beta1_token_review.py deleted file mode 100644 index a9940d041c..0000000000 --- a/kubernetes/test/test_v1beta1_token_review.py +++ /dev/null @@ -1,119 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_token_review import V1beta1TokenReview # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1TokenReview(unittest.TestCase): - """V1beta1TokenReview unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1TokenReview - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_token_review.V1beta1TokenReview() # noqa: E501 - if include_optional : - return V1beta1TokenReview( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/token_review_spec.v1beta1.TokenReviewSpec( - audiences = [ - '0' - ], - token = '0', ), - status = kubernetes.client.models.v1beta1/token_review_status.v1beta1.TokenReviewStatus( - audiences = [ - '0' - ], - authenticated = True, - error = '0', - user = kubernetes.client.models.v1beta1/user_info.v1beta1.UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0', ), ) - ) - else : - return V1beta1TokenReview( - spec = kubernetes.client.models.v1beta1/token_review_spec.v1beta1.TokenReviewSpec( - audiences = [ - '0' - ], - token = '0', ), - ) - - def testV1beta1TokenReview(self): - """Test V1beta1TokenReview""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review_spec.py b/kubernetes/test/test_v1beta1_token_review_spec.py deleted file mode 100644 index 02f4d7133f..0000000000 --- a/kubernetes/test/test_v1beta1_token_review_spec.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_token_review_spec import V1beta1TokenReviewSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1TokenReviewSpec(unittest.TestCase): - """V1beta1TokenReviewSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1TokenReviewSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_token_review_spec.V1beta1TokenReviewSpec() # noqa: E501 - if include_optional : - return V1beta1TokenReviewSpec( - audiences = [ - '0' - ], - token = '0' - ) - else : - return V1beta1TokenReviewSpec( - ) - - def testV1beta1TokenReviewSpec(self): - """Test V1beta1TokenReviewSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_token_review_status.py b/kubernetes/test/test_v1beta1_token_review_status.py deleted file mode 100644 index d13c5e9266..0000000000 --- a/kubernetes/test/test_v1beta1_token_review_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_token_review_status import V1beta1TokenReviewStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1TokenReviewStatus(unittest.TestCase): - """V1beta1TokenReviewStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1TokenReviewStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_token_review_status.V1beta1TokenReviewStatus() # noqa: E501 - if include_optional : - return V1beta1TokenReviewStatus( - audiences = [ - '0' - ], - authenticated = True, - error = '0', - user = kubernetes.client.models.v1beta1/user_info.v1beta1.UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0', ) - ) - else : - return V1beta1TokenReviewStatus( - ) - - def testV1beta1TokenReviewStatus(self): - """Test V1beta1TokenReviewStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_user_info.py b/kubernetes/test/test_v1beta1_user_info.py deleted file mode 100644 index 6432d682d2..0000000000 --- a/kubernetes/test/test_v1beta1_user_info.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_user_info import V1beta1UserInfo # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1UserInfo(unittest.TestCase): - """V1beta1UserInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1UserInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_user_info.V1beta1UserInfo() # noqa: E501 - if include_optional : - return V1beta1UserInfo( - extra = { - 'key' : [ - '0' - ] - }, - groups = [ - '0' - ], - uid = '0', - username = '0' - ) - else : - return V1beta1UserInfo( - ) - - def testV1beta1UserInfo(self): - """Test V1beta1UserInfo""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook.py b/kubernetes/test/test_v1beta1_validating_webhook.py deleted file mode 100644 index a984373031..0000000000 --- a/kubernetes/test/test_v1beta1_validating_webhook.py +++ /dev/null @@ -1,116 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_validating_webhook import V1beta1ValidatingWebhook # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ValidatingWebhook(unittest.TestCase): - """V1beta1ValidatingWebhook unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ValidatingWebhook - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_validating_webhook.V1beta1ValidatingWebhook() # noqa: E501 - if include_optional : - return V1beta1ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56 - ) - else : - return V1beta1ValidatingWebhook( - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - name = '0', - ) - - def testV1beta1ValidatingWebhook(self): - """Test V1beta1ValidatingWebhook""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration.py deleted file mode 100644 index a0cbd5aceb..0000000000 --- a/kubernetes/test/test_v1beta1_validating_webhook_configuration.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_validating_webhook_configuration import V1beta1ValidatingWebhookConfiguration # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ValidatingWebhookConfiguration(unittest.TestCase): - """V1beta1ValidatingWebhookConfiguration unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ValidatingWebhookConfiguration - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_validating_webhook_configuration.V1beta1ValidatingWebhookConfiguration() # noqa: E501 - if include_optional : - return V1beta1ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ] - ) - else : - return V1beta1ValidatingWebhookConfiguration( - ) - - def testV1beta1ValidatingWebhookConfiguration(self): - """Test V1beta1ValidatingWebhookConfiguration""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py b/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py deleted file mode 100644 index 7c3a807b0d..0000000000 --- a/kubernetes/test/test_v1beta1_validating_webhook_configuration_list.py +++ /dev/null @@ -1,242 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_validating_webhook_configuration_list import V1beta1ValidatingWebhookConfigurationList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1ValidatingWebhookConfigurationList(unittest.TestCase): - """V1beta1ValidatingWebhookConfigurationList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1ValidatingWebhookConfigurationList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_validating_webhook_configuration_list.V1beta1ValidatingWebhookConfigurationList() # noqa: E501 - if include_optional : - return V1beta1ValidatingWebhookConfigurationList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/validating_webhook_configuration.v1beta1.ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1ValidatingWebhookConfigurationList( - items = [ - kubernetes.client.models.v1beta1/validating_webhook_configuration.v1beta1.ValidatingWebhookConfiguration( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - webhooks = [ - kubernetes.client.models.v1beta1/validating_webhook.v1beta1.ValidatingWebhook( - admission_review_versions = [ - '0' - ], - kubernetes.client_config = kubernetes.client.models.admissionregistration/v1beta1/webhook_client_config.admissionregistration.v1beta1.WebhookClientConfig( - ca_bundle = 'YQ==', - service = kubernetes.client.models.admissionregistration/v1beta1/service_reference.admissionregistration.v1beta1.ServiceReference( - name = '0', - namespace = '0', - path = '0', - port = 56, ), - url = '0', ), - failure_policy = '0', - match_policy = '0', - name = '0', - namespace_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - object_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - rules = [ - kubernetes.client.models.v1beta1/rule_with_operations.v1beta1.RuleWithOperations( - api_groups = [ - '0' - ], - api_versions = [ - '0' - ], - operations = [ - '0' - ], - resources = [ - '0' - ], - scope = '0', ) - ], - side_effects = '0', - timeout_seconds = 56, ) - ], ) - ], - ) - - def testV1beta1ValidatingWebhookConfigurationList(self): - """Test V1beta1ValidatingWebhookConfigurationList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment.py b/kubernetes/test/test_v1beta1_volume_attachment.py deleted file mode 100644 index 947fc117f3..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment.py +++ /dev/null @@ -1,495 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment import V1beta1VolumeAttachment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachment(unittest.TestCase): - """V1beta1VolumeAttachment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment.V1beta1VolumeAttachment() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ) - else : - return V1beta1VolumeAttachment( - spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - ) - - def testV1beta1VolumeAttachment(self): - """Test V1beta1VolumeAttachment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_list.py b/kubernetes/test/test_v1beta1_volume_attachment_list.py deleted file mode 100644 index eb530753ea..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment_list.py +++ /dev/null @@ -1,560 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment_list import V1beta1VolumeAttachmentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachmentList(unittest.TestCase): - """V1beta1VolumeAttachmentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachmentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment_list.V1beta1VolumeAttachmentList() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachmentList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta1/volume_attachment.v1beta1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta1VolumeAttachmentList( - items = [ - kubernetes.client.models.v1beta1/volume_attachment.v1beta1.VolumeAttachment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta1/volume_attachment_spec.v1beta1.VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), ), - status = kubernetes.client.models.v1beta1/volume_attachment_status.v1beta1.VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ), ) - ], - ) - - def testV1beta1VolumeAttachmentList(self): - """Test V1beta1VolumeAttachmentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_source.py b/kubernetes/test/test_v1beta1_volume_attachment_source.py deleted file mode 100644 index 23a3c93a60..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment_source.py +++ /dev/null @@ -1,243 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment_source import V1beta1VolumeAttachmentSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachmentSource(unittest.TestCase): - """V1beta1VolumeAttachmentSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachmentSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment_source.V1beta1VolumeAttachmentSource() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0' - ) - else : - return V1beta1VolumeAttachmentSource( - ) - - def testV1beta1VolumeAttachmentSource(self): - """Test V1beta1VolumeAttachmentSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_spec.py b/kubernetes/test/test_v1beta1_volume_attachment_spec.py deleted file mode 100644 index b62477617e..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment_spec.py +++ /dev/null @@ -1,441 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment_spec import V1beta1VolumeAttachmentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachmentSpec(unittest.TestCase): - """V1beta1VolumeAttachmentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachmentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment_spec.V1beta1VolumeAttachmentSpec() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ) - ) - else : - return V1beta1VolumeAttachmentSpec( - attacher = '0', - node_name = '0', - source = kubernetes.client.models.v1beta1/volume_attachment_source.v1beta1.VolumeAttachmentSource( - inline_volume_spec = kubernetes.client.models.v1/persistent_volume_spec.v1.PersistentVolumeSpec( - access_modes = [ - '0' - ], - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_persistent_volume_source.v1.AzureFilePersistentVolumeSource( - read_only = True, - secret_name = '0', - secret_namespace = '0', - share_name = '0', ), - capacity = { - 'key' : '0' - }, - cephfs = kubernetes.client.models.v1/ceph_fs_persistent_volume_source.v1.CephFSPersistentVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_persistent_volume_source.v1.CinderPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - claim_ref = kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ), - csi = kubernetes.client.models.v1/csi_persistent_volume_source.v1.CSIPersistentVolumeSource( - controller_expand_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - controller_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - node_stage_secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, - volume_handle = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_persistent_volume_source.v1.FlexPersistentVolumeSource( - driver = '0', - fs_type = '0', - options = { - 'key' : '0' - }, - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - glusterfs = kubernetes.client.models.v1/glusterfs_persistent_volume_source.v1.GlusterfsPersistentVolumeSource( - endpoints = '0', - endpoints_namespace = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_persistent_volume_source.v1.ISCSIPersistentVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - local = kubernetes.client.models.v1/local_volume_source.v1.LocalVolumeSource( - fs_type = '0', - path = '0', ), - mount_options = [ - '0' - ], - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - node_affinity = kubernetes.client.models.v1/volume_node_affinity.v1.VolumeNodeAffinity( - required = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ) - ], ), ), - persistent_volume_reclaim_policy = '0', - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_persistent_volume_source.v1.RBDPersistentVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_persistent_volume_source.v1.ScaleIOPersistentVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/secret_reference.v1.SecretReference( - name = '0', - namespace = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - storage_class_name = '0', - storageos = kubernetes.client.models.v1/storage_os_persistent_volume_source.v1.StorageOSPersistentVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - volume_mode = '0', - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ), - persistent_volume_name = '0', ), - ) - - def testV1beta1VolumeAttachmentSpec(self): - """Test V1beta1VolumeAttachmentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_attachment_status.py b/kubernetes/test/test_v1beta1_volume_attachment_status.py deleted file mode 100644 index 0abfa5768b..0000000000 --- a/kubernetes/test/test_v1beta1_volume_attachment_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_attachment_status import V1beta1VolumeAttachmentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeAttachmentStatus(unittest.TestCase): - """V1beta1VolumeAttachmentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeAttachmentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_attachment_status.V1beta1VolumeAttachmentStatus() # noqa: E501 - if include_optional : - return V1beta1VolumeAttachmentStatus( - attach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), - attached = True, - attachment_metadata = { - 'key' : '0' - }, - detach_error = kubernetes.client.models.v1beta1/volume_error.v1beta1.VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V1beta1VolumeAttachmentStatus( - attached = True, - ) - - def testV1beta1VolumeAttachmentStatus(self): - """Test V1beta1VolumeAttachmentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_error.py b/kubernetes/test/test_v1beta1_volume_error.py deleted file mode 100644 index 82dbd6a7f6..0000000000 --- a/kubernetes/test/test_v1beta1_volume_error.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_error import V1beta1VolumeError # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeError(unittest.TestCase): - """V1beta1VolumeError unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeError - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_error.V1beta1VolumeError() # noqa: E501 - if include_optional : - return V1beta1VolumeError( - message = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V1beta1VolumeError( - ) - - def testV1beta1VolumeError(self): - """Test V1beta1VolumeError""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta1_volume_node_resources.py b/kubernetes/test/test_v1beta1_volume_node_resources.py deleted file mode 100644 index d0549fe47b..0000000000 --- a/kubernetes/test/test_v1beta1_volume_node_resources.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta1_volume_node_resources import V1beta1VolumeNodeResources # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta1VolumeNodeResources(unittest.TestCase): - """V1beta1VolumeNodeResources unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta1VolumeNodeResources - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta1_volume_node_resources.V1beta1VolumeNodeResources() # noqa: E501 - if include_optional : - return V1beta1VolumeNodeResources( - count = 56 - ) - else : - return V1beta1VolumeNodeResources( - ) - - def testV1beta1VolumeNodeResources(self): - """Test V1beta1VolumeNodeResources""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_controller_revision.py b/kubernetes/test/test_v1beta2_controller_revision.py deleted file mode 100644 index ded37ba416..0000000000 --- a/kubernetes/test/test_v1beta2_controller_revision.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_controller_revision import V1beta2ControllerRevision # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ControllerRevision(unittest.TestCase): - """V1beta2ControllerRevision unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ControllerRevision - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_controller_revision.V1beta2ControllerRevision() # noqa: E501 - if include_optional : - return V1beta2ControllerRevision( - api_version = '0', - data = None, - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56 - ) - else : - return V1beta2ControllerRevision( - revision = 56, - ) - - def testV1beta2ControllerRevision(self): - """Test V1beta2ControllerRevision""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_controller_revision_list.py b/kubernetes/test/test_v1beta2_controller_revision_list.py deleted file mode 100644 index 86725f9812..0000000000 --- a/kubernetes/test/test_v1beta2_controller_revision_list.py +++ /dev/null @@ -1,150 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_controller_revision_list import V1beta2ControllerRevisionList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ControllerRevisionList(unittest.TestCase): - """V1beta2ControllerRevisionList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ControllerRevisionList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_controller_revision_list.V1beta2ControllerRevisionList() # noqa: E501 - if include_optional : - return V1beta2ControllerRevisionList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/controller_revision.v1beta2.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2ControllerRevisionList( - items = [ - kubernetes.client.models.v1beta2/controller_revision.v1beta2.ControllerRevision( - api_version = '0', - data = kubernetes.client.models.data.data(), - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - revision = 56, ) - ], - ) - - def testV1beta2ControllerRevisionList(self): - """Test V1beta2ControllerRevisionList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set.py b/kubernetes/test/test_v1beta2_daemon_set.py deleted file mode 100644 index 2f4a7818ac..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set.py +++ /dev/null @@ -1,602 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set import V1beta2DaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSet(unittest.TestCase): - """V1beta2DaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set.V1beta2DaemonSet() # noqa: E501 - if include_optional : - return V1beta2DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ) - ) - else : - return V1beta2DaemonSet( - ) - - def testV1beta2DaemonSet(self): - """Test V1beta2DaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_condition.py b/kubernetes/test/test_v1beta2_daemon_set_condition.py deleted file mode 100644 index 89c026e55c..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_condition import V1beta2DaemonSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetCondition(unittest.TestCase): - """V1beta2DaemonSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_condition.V1beta2DaemonSetCondition() # noqa: E501 - if include_optional : - return V1beta2DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta2DaemonSetCondition( - status = '0', - type = '0', - ) - - def testV1beta2DaemonSetCondition(self): - """Test V1beta2DaemonSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_list.py b/kubernetes/test/test_v1beta2_daemon_set_list.py deleted file mode 100644 index c21d4f6776..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_list.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_list import V1beta2DaemonSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetList(unittest.TestCase): - """V1beta2DaemonSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_list.V1beta2DaemonSetList() # noqa: E501 - if include_optional : - return V1beta2DaemonSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/daemon_set.v1beta2.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2DaemonSetList( - items = [ - kubernetes.client.models.v1beta2/daemon_set.v1beta2.DaemonSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/daemon_set_spec.v1beta2.DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), ), - status = kubernetes.client.models.v1beta2/daemon_set_status.v1beta2.DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56, ), ) - ], - ) - - def testV1beta2DaemonSetList(self): - """Test V1beta2DaemonSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_spec.py b/kubernetes/test/test_v1beta2_daemon_set_spec.py deleted file mode 100644 index 757ea756fd..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_spec.py +++ /dev/null @@ -1,1049 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_spec import V1beta2DaemonSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetSpec(unittest.TestCase): - """V1beta2DaemonSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_spec.V1beta2DaemonSetSpec() # noqa: E501 - if include_optional : - return V1beta2DaemonSetSpec( - min_ready_seconds = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta2/daemon_set_update_strategy.v1beta2.DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ) - ) - else : - return V1beta2DaemonSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta2DaemonSetSpec(self): - """Test V1beta2DaemonSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_status.py b/kubernetes/test/test_v1beta2_daemon_set_status.py deleted file mode 100644 index 4d625cb936..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_status.py +++ /dev/null @@ -1,72 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_status import V1beta2DaemonSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetStatus(unittest.TestCase): - """V1beta2DaemonSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_status.V1beta2DaemonSetStatus() # noqa: E501 - if include_optional : - return V1beta2DaemonSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/daemon_set_condition.v1beta2.DaemonSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_available = 56, - number_misscheduled = 56, - number_ready = 56, - number_unavailable = 56, - observed_generation = 56, - updated_number_scheduled = 56 - ) - else : - return V1beta2DaemonSetStatus( - current_number_scheduled = 56, - desired_number_scheduled = 56, - number_misscheduled = 56, - number_ready = 56, - ) - - def testV1beta2DaemonSetStatus(self): - """Test V1beta2DaemonSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py b/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py deleted file mode 100644 index 2394779cee..0000000000 --- a/kubernetes/test/test_v1beta2_daemon_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_daemon_set_update_strategy import V1beta2DaemonSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DaemonSetUpdateStrategy(unittest.TestCase): - """V1beta2DaemonSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DaemonSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_daemon_set_update_strategy.V1beta2DaemonSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1beta2DaemonSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_daemon_set.v1beta2.RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1beta2DaemonSetUpdateStrategy( - ) - - def testV1beta2DaemonSetUpdateStrategy(self): - """Test V1beta2DaemonSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment.py b/kubernetes/test/test_v1beta2_deployment.py deleted file mode 100644 index 8718cf81d7..0000000000 --- a/kubernetes/test/test_v1beta2_deployment.py +++ /dev/null @@ -1,605 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment import V1beta2Deployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2Deployment(unittest.TestCase): - """V1beta2Deployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2Deployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment.V1beta2Deployment() # noqa: E501 - if include_optional : - return V1beta2Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ) - ) - else : - return V1beta2Deployment( - ) - - def testV1beta2Deployment(self): - """Test V1beta2Deployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_condition.py b/kubernetes/test/test_v1beta2_deployment_condition.py deleted file mode 100644 index 3f2b567c68..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_condition.py +++ /dev/null @@ -1,59 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_condition import V1beta2DeploymentCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentCondition(unittest.TestCase): - """V1beta2DeploymentCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_condition.V1beta2DeploymentCondition() # noqa: E501 - if include_optional : - return V1beta2DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta2DeploymentCondition( - status = '0', - type = '0', - ) - - def testV1beta2DeploymentCondition(self): - """Test V1beta2DeploymentCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_list.py b/kubernetes/test/test_v1beta2_deployment_list.py deleted file mode 100644 index 844007ca5f..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_list.py +++ /dev/null @@ -1,228 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_list import V1beta2DeploymentList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentList(unittest.TestCase): - """V1beta2DeploymentList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_list.V1beta2DeploymentList() # noqa: E501 - if include_optional : - return V1beta2DeploymentList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/deployment.v1beta2.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2DeploymentList( - items = [ - kubernetes.client.models.v1beta2/deployment.v1beta2.Deployment( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/deployment_spec.v1beta2.DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta2/deployment_status.v1beta2.DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56, ), ) - ], - ) - - def testV1beta2DeploymentList(self): - """Test V1beta2DeploymentList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_spec.py b/kubernetes/test/test_v1beta2_deployment_spec.py deleted file mode 100644 index f9675af8e9..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_spec.py +++ /dev/null @@ -1,1053 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_spec import V1beta2DeploymentSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentSpec(unittest.TestCase): - """V1beta2DeploymentSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_spec.V1beta2DeploymentSpec() # noqa: E501 - if include_optional : - return V1beta2DeploymentSpec( - min_ready_seconds = 56, - paused = True, - progress_deadline_seconds = 56, - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - strategy = kubernetes.client.models.v1beta2/deployment_strategy.v1beta2.DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0', ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1beta2DeploymentSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta2DeploymentSpec(self): - """Test V1beta2DeploymentSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_status.py b/kubernetes/test/test_v1beta2_deployment_status.py deleted file mode 100644 index de720bf01b..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_status import V1beta2DeploymentStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentStatus(unittest.TestCase): - """V1beta2DeploymentStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_status.V1beta2DeploymentStatus() # noqa: E501 - if include_optional : - return V1beta2DeploymentStatus( - available_replicas = 56, - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/deployment_condition.v1beta2.DeploymentCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_update_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - unavailable_replicas = 56, - updated_replicas = 56 - ) - else : - return V1beta2DeploymentStatus( - ) - - def testV1beta2DeploymentStatus(self): - """Test V1beta2DeploymentStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_deployment_strategy.py b/kubernetes/test/test_v1beta2_deployment_strategy.py deleted file mode 100644 index f823b88ec7..0000000000 --- a/kubernetes/test/test_v1beta2_deployment_strategy.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_deployment_strategy import V1beta2DeploymentStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2DeploymentStrategy(unittest.TestCase): - """V1beta2DeploymentStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2DeploymentStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_deployment_strategy.V1beta2DeploymentStrategy() # noqa: E501 - if include_optional : - return V1beta2DeploymentStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_deployment.v1beta2.RollingUpdateDeployment( - max_surge = kubernetes.client.models.max_surge.maxSurge(), - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable(), ), - type = '0' - ) - else : - return V1beta2DeploymentStrategy( - ) - - def testV1beta2DeploymentStrategy(self): - """Test V1beta2DeploymentStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set.py b/kubernetes/test/test_v1beta2_replica_set.py deleted file mode 100644 index caad8872ab..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set.py +++ /dev/null @@ -1,594 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set import V1beta2ReplicaSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSet(unittest.TestCase): - """V1beta2ReplicaSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set.V1beta2ReplicaSet() # noqa: E501 - if include_optional : - return V1beta2ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), ), - status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ) - ) - else : - return V1beta2ReplicaSet( - ) - - def testV1beta2ReplicaSet(self): - """Test V1beta2ReplicaSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_condition.py b/kubernetes/test/test_v1beta2_replica_set_condition.py deleted file mode 100644 index 8be8a1ebe5..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set_condition import V1beta2ReplicaSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSetCondition(unittest.TestCase): - """V1beta2ReplicaSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set_condition.V1beta2ReplicaSetCondition() # noqa: E501 - if include_optional : - return V1beta2ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta2ReplicaSetCondition( - status = '0', - type = '0', - ) - - def testV1beta2ReplicaSetCondition(self): - """Test V1beta2ReplicaSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_list.py b/kubernetes/test/test_v1beta2_replica_set_list.py deleted file mode 100644 index f10f4aad58..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set_list.py +++ /dev/null @@ -1,206 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set_list import V1beta2ReplicaSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSetList(unittest.TestCase): - """V1beta2ReplicaSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set_list.V1beta2ReplicaSetList() # noqa: E501 - if include_optional : - return V1beta2ReplicaSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/replica_set.v1beta2.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2ReplicaSetList( - items = [ - kubernetes.client.models.v1beta2/replica_set.v1beta2.ReplicaSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/replica_set_spec.v1beta2.ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), ), - status = kubernetes.client.models.v1beta2/replica_set_status.v1beta2.ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56, ), ) - ], - ) - - def testV1beta2ReplicaSetList(self): - """Test V1beta2ReplicaSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_spec.py b/kubernetes/test/test_v1beta2_replica_set_spec.py deleted file mode 100644 index cb45a40b55..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set_spec.py +++ /dev/null @@ -1,561 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set_spec import V1beta2ReplicaSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSetSpec(unittest.TestCase): - """V1beta2ReplicaSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set_spec.V1beta2ReplicaSetSpec() # noqa: E501 - if include_optional : - return V1beta2ReplicaSetSpec( - min_ready_seconds = 56, - replicas = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ) - ) - else : - return V1beta2ReplicaSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - ) - - def testV1beta2ReplicaSetSpec(self): - """Test V1beta2ReplicaSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_replica_set_status.py b/kubernetes/test/test_v1beta2_replica_set_status.py deleted file mode 100644 index dc5a9dccd3..0000000000 --- a/kubernetes/test/test_v1beta2_replica_set_status.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_replica_set_status import V1beta2ReplicaSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ReplicaSetStatus(unittest.TestCase): - """V1beta2ReplicaSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ReplicaSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_replica_set_status.V1beta2ReplicaSetStatus() # noqa: E501 - if include_optional : - return V1beta2ReplicaSetStatus( - available_replicas = 56, - conditions = [ - kubernetes.client.models.v1beta2/replica_set_condition.v1beta2.ReplicaSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - fully_labeled_replicas = 56, - observed_generation = 56, - ready_replicas = 56, - replicas = 56 - ) - else : - return V1beta2ReplicaSetStatus( - replicas = 56, - ) - - def testV1beta2ReplicaSetStatus(self): - """Test V1beta2ReplicaSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py b/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py deleted file mode 100644 index 5cf8fadd44..0000000000 --- a/kubernetes/test/test_v1beta2_rolling_update_daemon_set.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_rolling_update_daemon_set import V1beta2RollingUpdateDaemonSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2RollingUpdateDaemonSet(unittest.TestCase): - """V1beta2RollingUpdateDaemonSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2RollingUpdateDaemonSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_rolling_update_daemon_set.V1beta2RollingUpdateDaemonSet() # noqa: E501 - if include_optional : - return V1beta2RollingUpdateDaemonSet( - max_unavailable = kubernetes.client.models.max_unavailable.maxUnavailable() - ) - else : - return V1beta2RollingUpdateDaemonSet( - ) - - def testV1beta2RollingUpdateDaemonSet(self): - """Test V1beta2RollingUpdateDaemonSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_deployment.py b/kubernetes/test/test_v1beta2_rolling_update_deployment.py deleted file mode 100644 index 908fbbe721..0000000000 --- a/kubernetes/test/test_v1beta2_rolling_update_deployment.py +++ /dev/null @@ -1,53 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_rolling_update_deployment import V1beta2RollingUpdateDeployment # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2RollingUpdateDeployment(unittest.TestCase): - """V1beta2RollingUpdateDeployment unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2RollingUpdateDeployment - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_rolling_update_deployment.V1beta2RollingUpdateDeployment() # noqa: E501 - if include_optional : - return V1beta2RollingUpdateDeployment( - max_surge = None, - max_unavailable = None - ) - else : - return V1beta2RollingUpdateDeployment( - ) - - def testV1beta2RollingUpdateDeployment(self): - """Test V1beta2RollingUpdateDeployment""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py b/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py deleted file mode 100644 index 1d609c8d19..0000000000 --- a/kubernetes/test/test_v1beta2_rolling_update_stateful_set_strategy.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_rolling_update_stateful_set_strategy import V1beta2RollingUpdateStatefulSetStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2RollingUpdateStatefulSetStrategy(unittest.TestCase): - """V1beta2RollingUpdateStatefulSetStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2RollingUpdateStatefulSetStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_rolling_update_stateful_set_strategy.V1beta2RollingUpdateStatefulSetStrategy() # noqa: E501 - if include_optional : - return V1beta2RollingUpdateStatefulSetStrategy( - partition = 56 - ) - else : - return V1beta2RollingUpdateStatefulSetStrategy( - ) - - def testV1beta2RollingUpdateStatefulSetStrategy(self): - """Test V1beta2RollingUpdateStatefulSetStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale.py b/kubernetes/test/test_v1beta2_scale.py deleted file mode 100644 index 8eb1aab41a..0000000000 --- a/kubernetes/test/test_v1beta2_scale.py +++ /dev/null @@ -1,100 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_scale import V1beta2Scale # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2Scale(unittest.TestCase): - """V1beta2Scale unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2Scale - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_scale.V1beta2Scale() # noqa: E501 - if include_optional : - return V1beta2Scale( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/scale_spec.v1beta2.ScaleSpec( - replicas = 56, ), - status = kubernetes.client.models.v1beta2/scale_status.v1beta2.ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0', ) - ) - else : - return V1beta2Scale( - ) - - def testV1beta2Scale(self): - """Test V1beta2Scale""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale_spec.py b/kubernetes/test/test_v1beta2_scale_spec.py deleted file mode 100644 index 665ab81dd6..0000000000 --- a/kubernetes/test/test_v1beta2_scale_spec.py +++ /dev/null @@ -1,52 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_scale_spec import V1beta2ScaleSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ScaleSpec(unittest.TestCase): - """V1beta2ScaleSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ScaleSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_scale_spec.V1beta2ScaleSpec() # noqa: E501 - if include_optional : - return V1beta2ScaleSpec( - replicas = 56 - ) - else : - return V1beta2ScaleSpec( - ) - - def testV1beta2ScaleSpec(self): - """Test V1beta2ScaleSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_scale_status.py b/kubernetes/test/test_v1beta2_scale_status.py deleted file mode 100644 index 5eecd8d340..0000000000 --- a/kubernetes/test/test_v1beta2_scale_status.py +++ /dev/null @@ -1,57 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_scale_status import V1beta2ScaleStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2ScaleStatus(unittest.TestCase): - """V1beta2ScaleStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2ScaleStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_scale_status.V1beta2ScaleStatus() # noqa: E501 - if include_optional : - return V1beta2ScaleStatus( - replicas = 56, - selector = { - 'key' : '0' - }, - target_selector = '0' - ) - else : - return V1beta2ScaleStatus( - replicas = 56, - ) - - def testV1beta2ScaleStatus(self): - """Test V1beta2ScaleStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set.py b/kubernetes/test/test_v1beta2_stateful_set.py deleted file mode 100644 index acf5712b15..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set.py +++ /dev/null @@ -1,625 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set import V1beta2StatefulSet # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSet(unittest.TestCase): - """V1beta2StatefulSet unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSet - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set.V1beta2StatefulSet() # noqa: E501 - if include_optional : - return V1beta2StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/stateful_set_condition.v1beta2.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ) - ) - else : - return V1beta2StatefulSet( - ) - - def testV1beta2StatefulSet(self): - """Test V1beta2StatefulSet""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_condition.py b/kubernetes/test/test_v1beta2_stateful_set_condition.py deleted file mode 100644 index 7a408312f2..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_condition import V1beta2StatefulSetCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetCondition(unittest.TestCase): - """V1beta2StatefulSetCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_condition.V1beta2StatefulSetCondition() # noqa: E501 - if include_optional : - return V1beta2StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V1beta2StatefulSetCondition( - status = '0', - type = '0', - ) - - def testV1beta2StatefulSetCondition(self): - """Test V1beta2StatefulSetCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_list.py b/kubernetes/test/test_v1beta2_stateful_set_list.py deleted file mode 100644 index e73fd46ba7..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_list.py +++ /dev/null @@ -1,252 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_list import V1beta2StatefulSetList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetList(unittest.TestCase): - """V1beta2StatefulSetList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_list.V1beta2StatefulSetList() # noqa: E501 - if include_optional : - return V1beta2StatefulSetList( - api_version = '0', - items = [ - kubernetes.client.models.v1beta2/stateful_set.v1beta2.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V1beta2StatefulSetList( - items = [ - kubernetes.client.models.v1beta2/stateful_set.v1beta2.StatefulSet( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1beta2/stateful_set_spec.v1beta2.StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - access_modes = [ - '0' - ], - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ], ), - status = kubernetes.client.models.v1beta2/stateful_set_status.v1beta2.StatefulSetStatus( - collision_count = 56, - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56, ), ) - ], - ) - - def testV1beta2StatefulSetList(self): - """Test V1beta2StatefulSetList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_spec.py b/kubernetes/test/test_v1beta2_stateful_set_spec.py deleted file mode 100644 index 7e91c8db90..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_spec.py +++ /dev/null @@ -1,1140 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_spec import V1beta2StatefulSetSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetSpec(unittest.TestCase): - """V1beta2StatefulSetSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_spec.V1beta2StatefulSetSpec() # noqa: E501 - if include_optional : - return V1beta2StatefulSetSpec( - pod_management_policy = '0', - replicas = 56, - revision_history_limit = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - update_strategy = kubernetes.client.models.v1beta2/stateful_set_update_strategy.v1beta2.StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0', ), - volume_claim_templates = [ - kubernetes.client.models.v1/persistent_volume_claim.v1.PersistentVolumeClaim( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/persistent_volume_claim_spec.v1.PersistentVolumeClaimSpec( - access_modes = [ - '0' - ], - data_source = kubernetes.client.models.v1/typed_local_object_reference.v1.TypedLocalObjectReference( - api_group = '0', - kind = '0', - name = '0', ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - storage_class_name = '0', - volume_mode = '0', - volume_name = '0', ), - status = kubernetes.client.models.v1/persistent_volume_claim_status.v1.PersistentVolumeClaimStatus( - capacity = { - 'key' : '0' - }, - conditions = [ - kubernetes.client.models.v1/persistent_volume_claim_condition.v1.PersistentVolumeClaimCondition( - last_probe_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - phase = '0', ), ) - ] - ) - else : - return V1beta2StatefulSetSpec( - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - service_name = '0', - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_expressions = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_labels = { - 'key' : '0' - }, ), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ) - - def testV1beta2StatefulSetSpec(self): - """Test V1beta2StatefulSetSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_status.py b/kubernetes/test/test_v1beta2_stateful_set_status.py deleted file mode 100644 index e35907676d..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_status.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_status import V1beta2StatefulSetStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetStatus(unittest.TestCase): - """V1beta2StatefulSetStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_status.V1beta2StatefulSetStatus() # noqa: E501 - if include_optional : - return V1beta2StatefulSetStatus( - collision_count = 56, - conditions = [ - kubernetes.client.models.v1beta2/stateful_set_condition.v1beta2.StatefulSetCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - current_revision = '0', - observed_generation = 56, - ready_replicas = 56, - replicas = 56, - update_revision = '0', - updated_replicas = 56 - ) - else : - return V1beta2StatefulSetStatus( - replicas = 56, - ) - - def testV1beta2StatefulSetStatus(self): - """Test V1beta2StatefulSetStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py b/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py deleted file mode 100644 index ef836e99a6..0000000000 --- a/kubernetes/test/test_v1beta2_stateful_set_update_strategy.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v1beta2_stateful_set_update_strategy import V1beta2StatefulSetUpdateStrategy # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV1beta2StatefulSetUpdateStrategy(unittest.TestCase): - """V1beta2StatefulSetUpdateStrategy unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V1beta2StatefulSetUpdateStrategy - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v1beta2_stateful_set_update_strategy.V1beta2StatefulSetUpdateStrategy() # noqa: E501 - if include_optional : - return V1beta2StatefulSetUpdateStrategy( - rolling_update = kubernetes.client.models.v1beta2/rolling_update_stateful_set_strategy.v1beta2.RollingUpdateStatefulSetStrategy( - partition = 56, ), - type = '0' - ) - else : - return V1beta2StatefulSetUpdateStrategy( - ) - - def testV1beta2StatefulSetUpdateStrategy(self): - """Test V1beta2StatefulSetUpdateStrategy""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job.py b/kubernetes/test/test_v2alpha1_cron_job.py deleted file mode 100644 index 93f382a49a..0000000000 --- a/kubernetes/test/test_v2alpha1_cron_job.py +++ /dev/null @@ -1,151 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_cron_job import V2alpha1CronJob # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1CronJob(unittest.TestCase): - """V2alpha1CronJob unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1CronJob - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_cron_job.V2alpha1CronJob() # noqa: E501 - if include_optional : - return V2alpha1CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), ), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ) - else : - return V2alpha1CronJob( - ) - - def testV2alpha1CronJob(self): - """Test V2alpha1CronJob""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_list.py b/kubernetes/test/test_v2alpha1_cron_job_list.py deleted file mode 100644 index 1508ff20a9..0000000000 --- a/kubernetes/test/test_v2alpha1_cron_job_list.py +++ /dev/null @@ -1,186 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_cron_job_list import V2alpha1CronJobList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1CronJobList(unittest.TestCase): - """V2alpha1CronJobList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1CronJobList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_cron_job_list.V2alpha1CronJobList() # noqa: E501 - if include_optional : - return V2alpha1CronJobList( - api_version = '0', - items = [ - kubernetes.client.models.v2alpha1/cron_job.v2alpha1.CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec(), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V2alpha1CronJobList( - items = [ - kubernetes.client.models.v2alpha1/cron_job.v2alpha1.CronJob( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2alpha1/cron_job_spec.v2alpha1.CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec(), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True, ), - status = kubernetes.client.models.v2alpha1/cron_job_status.v2alpha1.CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ), ) - ], - ) - - def testV2alpha1CronJobList(self): - """Test V2alpha1CronJobList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_spec.py b/kubernetes/test/test_v2alpha1_cron_job_spec.py deleted file mode 100644 index 5ea57ba113..0000000000 --- a/kubernetes/test/test_v2alpha1_cron_job_spec.py +++ /dev/null @@ -1,178 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_cron_job_spec import V2alpha1CronJobSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1CronJobSpec(unittest.TestCase): - """V2alpha1CronJobSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1CronJobSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_cron_job_spec.V2alpha1CronJobSpec() # noqa: E501 - if include_optional : - return V2alpha1CronJobSpec( - concurrency_policy = '0', - failed_jobs_history_limit = 56, - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - starting_deadline_seconds = 56, - successful_jobs_history_limit = 56, - suspend = True - ) - else : - return V2alpha1CronJobSpec( - job_template = kubernetes.client.models.v2alpha1/job_template_spec.v2alpha1.JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec(), - ttl_seconds_after_finished = 56, ), ), - schedule = '0', - ) - - def testV2alpha1CronJobSpec(self): - """Test V2alpha1CronJobSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_cron_job_status.py b/kubernetes/test/test_v2alpha1_cron_job_status.py deleted file mode 100644 index e9521a0bd3..0000000000 --- a/kubernetes/test/test_v2alpha1_cron_job_status.py +++ /dev/null @@ -1,62 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_cron_job_status import V2alpha1CronJobStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1CronJobStatus(unittest.TestCase): - """V2alpha1CronJobStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1CronJobStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_cron_job_status.V2alpha1CronJobStatus() # noqa: E501 - if include_optional : - return V2alpha1CronJobStatus( - active = [ - kubernetes.client.models.v1/object_reference.v1.ObjectReference( - api_version = '0', - field_path = '0', - kind = '0', - name = '0', - namespace = '0', - resource_version = '0', - uid = '0', ) - ], - last_schedule_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f') - ) - else : - return V2alpha1CronJobStatus( - ) - - def testV2alpha1CronJobStatus(self): - """Test V2alpha1CronJobStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2alpha1_job_template_spec.py b/kubernetes/test/test_v2alpha1_job_template_spec.py deleted file mode 100644 index 10ae59223e..0000000000 --- a/kubernetes/test/test_v2alpha1_job_template_spec.py +++ /dev/null @@ -1,582 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2alpha1_job_template_spec import V2alpha1JobTemplateSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2alpha1JobTemplateSpec(unittest.TestCase): - """V2alpha1JobTemplateSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2alpha1JobTemplateSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2alpha1_job_template_spec.V2alpha1JobTemplateSpec() # noqa: E501 - if include_optional : - return V2alpha1JobTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/job_spec.v1.JobSpec( - active_deadline_seconds = 56, - backoff_limit = 56, - completions = 56, - manual_selector = True, - parallelism = 56, - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - template = kubernetes.client.models.v1/pod_template_spec.v1.PodTemplateSpec( - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v1/pod_spec.v1.PodSpec( - active_deadline_seconds = 56, - affinity = kubernetes.client.models.v1/affinity.v1.Affinity( - node_affinity = kubernetes.client.models.v1/node_affinity.v1.NodeAffinity( - preferred_during_scheduling_ignored_during_execution = [ - kubernetes.client.models.v1/preferred_scheduling_term.v1.PreferredSchedulingTerm( - preference = kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm( - match_fields = [ - kubernetes.client.models.v1/node_selector_requirement.v1.NodeSelectorRequirement( - key = '0', - operator = '0', ) - ], ), - weight = 56, ) - ], - required_during_scheduling_ignored_during_execution = kubernetes.client.models.v1/node_selector.v1.NodeSelector( - node_selector_terms = [ - kubernetes.client.models.v1/node_selector_term.v1.NodeSelectorTerm() - ], ), ), - pod_affinity = kubernetes.client.models.v1/pod_affinity.v1.PodAffinity(), - pod_anti_affinity = kubernetes.client.models.v1/pod_anti_affinity.v1.PodAntiAffinity(), ), - automount_service_account_token = True, - containers = [ - kubernetes.client.models.v1/container.v1.Container( - args = [ - '0' - ], - command = [ - '0' - ], - env = [ - kubernetes.client.models.v1/env_var.v1.EnvVar( - name = '0', - value = '0', - value_from = kubernetes.client.models.v1/env_var_source.v1.EnvVarSource( - config_map_key_ref = kubernetes.client.models.v1/config_map_key_selector.v1.ConfigMapKeySelector( - key = '0', - name = '0', - optional = True, ), - field_ref = kubernetes.client.models.v1/object_field_selector.v1.ObjectFieldSelector( - api_version = '0', - field_path = '0', ), - resource_field_ref = kubernetes.client.models.v1/resource_field_selector.v1.ResourceFieldSelector( - container_name = '0', - divisor = '0', - resource = '0', ), - secret_key_ref = kubernetes.client.models.v1/secret_key_selector.v1.SecretKeySelector( - key = '0', - name = '0', - optional = True, ), ), ) - ], - env_from = [ - kubernetes.client.models.v1/env_from_source.v1.EnvFromSource( - config_map_ref = kubernetes.client.models.v1/config_map_env_source.v1.ConfigMapEnvSource( - name = '0', - optional = True, ), - prefix = '0', - secret_ref = kubernetes.client.models.v1/secret_env_source.v1.SecretEnvSource( - name = '0', - optional = True, ), ) - ], - image = '0', - image_pull_policy = '0', - lifecycle = kubernetes.client.models.v1/lifecycle.v1.Lifecycle( - post_start = kubernetes.client.models.v1/handler.v1.Handler( - exec = kubernetes.client.models.v1/exec_action.v1.ExecAction(), - http_get = kubernetes.client.models.v1/http_get_action.v1.HTTPGetAction( - host = '0', - http_headers = [ - kubernetes.client.models.v1/http_header.v1.HTTPHeader( - name = '0', - value = '0', ) - ], - path = '0', - port = kubernetes.client.models.port.port(), - scheme = '0', ), - tcp_socket = kubernetes.client.models.v1/tcp_socket_action.v1.TCPSocketAction( - host = '0', - port = kubernetes.client.models.port.port(), ), ), - pre_stop = kubernetes.client.models.v1/handler.v1.Handler(), ), - liveness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - name = '0', - ports = [ - kubernetes.client.models.v1/container_port.v1.ContainerPort( - container_port = 56, - host_ip = '0', - host_port = 56, - name = '0', - protocol = '0', ) - ], - readiness_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - resources = kubernetes.client.models.v1/resource_requirements.v1.ResourceRequirements( - limits = { - 'key' : '0' - }, - requests = { - 'key' : '0' - }, ), - security_context = kubernetes.client.models.v1/security_context.v1.SecurityContext( - allow_privilege_escalation = True, - capabilities = kubernetes.client.models.v1/capabilities.v1.Capabilities( - add = [ - '0' - ], - drop = [ - '0' - ], ), - privileged = True, - proc_mount = '0', - read_only_root_filesystem = True, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - se_linux_options = kubernetes.client.models.v1/se_linux_options.v1.SELinuxOptions( - level = '0', - role = '0', - type = '0', - user = '0', ), - windows_options = kubernetes.client.models.v1/windows_security_context_options.v1.WindowsSecurityContextOptions( - gmsa_credential_spec = '0', - gmsa_credential_spec_name = '0', - run_as_user_name = '0', ), ), - startup_probe = kubernetes.client.models.v1/probe.v1.Probe( - failure_threshold = 56, - initial_delay_seconds = 56, - period_seconds = 56, - success_threshold = 56, - timeout_seconds = 56, ), - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - volume_devices = [ - kubernetes.client.models.v1/volume_device.v1.VolumeDevice( - device_path = '0', - name = '0', ) - ], - volume_mounts = [ - kubernetes.client.models.v1/volume_mount.v1.VolumeMount( - mount_path = '0', - mount_propagation = '0', - name = '0', - read_only = True, - sub_path = '0', - sub_path_expr = '0', ) - ], - working_dir = '0', ) - ], - dns_config = kubernetes.client.models.v1/pod_dns_config.v1.PodDNSConfig( - nameservers = [ - '0' - ], - options = [ - kubernetes.client.models.v1/pod_dns_config_option.v1.PodDNSConfigOption( - name = '0', - value = '0', ) - ], - searches = [ - '0' - ], ), - dns_policy = '0', - enable_service_links = True, - ephemeral_containers = [ - kubernetes.client.models.v1/ephemeral_container.v1.EphemeralContainer( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - target_container_name = '0', - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - host_aliases = [ - kubernetes.client.models.v1/host_alias.v1.HostAlias( - hostnames = [ - '0' - ], - ip = '0', ) - ], - host_ipc = True, - host_network = True, - host_pid = True, - hostname = '0', - image_pull_secrets = [ - kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ) - ], - init_containers = [ - kubernetes.client.models.v1/container.v1.Container( - image = '0', - image_pull_policy = '0', - name = '0', - stdin = True, - stdin_once = True, - termination_message_path = '0', - termination_message_policy = '0', - tty = True, - working_dir = '0', ) - ], - node_name = '0', - node_selector = { - 'key' : '0' - }, - overhead = { - 'key' : '0' - }, - preemption_policy = '0', - priority = 56, - priority_class_name = '0', - readiness_gates = [ - kubernetes.client.models.v1/pod_readiness_gate.v1.PodReadinessGate( - condition_type = '0', ) - ], - restart_policy = '0', - runtime_class_name = '0', - scheduler_name = '0', - security_context = kubernetes.client.models.v1/pod_security_context.v1.PodSecurityContext( - fs_group = 56, - run_as_group = 56, - run_as_non_root = True, - run_as_user = 56, - supplemental_groups = [ - 56 - ], - sysctls = [ - kubernetes.client.models.v1/sysctl.v1.Sysctl( - name = '0', - value = '0', ) - ], ), - service_account = '0', - service_account_name = '0', - share_process_namespace = True, - subdomain = '0', - termination_grace_period_seconds = 56, - tolerations = [ - kubernetes.client.models.v1/toleration.v1.Toleration( - effect = '0', - key = '0', - operator = '0', - toleration_seconds = 56, - value = '0', ) - ], - topology_spread_constraints = [ - kubernetes.client.models.v1/topology_spread_constraint.v1.TopologySpreadConstraint( - label_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - max_skew = 56, - topology_key = '0', - when_unsatisfiable = '0', ) - ], - volumes = [ - kubernetes.client.models.v1/volume.v1.Volume( - aws_elastic_block_store = kubernetes.client.models.v1/aws_elastic_block_store_volume_source.v1.AWSElasticBlockStoreVolumeSource( - fs_type = '0', - partition = 56, - read_only = True, - volume_id = '0', ), - azure_disk = kubernetes.client.models.v1/azure_disk_volume_source.v1.AzureDiskVolumeSource( - caching_mode = '0', - disk_name = '0', - disk_uri = '0', - fs_type = '0', - kind = '0', - read_only = True, ), - azure_file = kubernetes.client.models.v1/azure_file_volume_source.v1.AzureFileVolumeSource( - read_only = True, - secret_name = '0', - share_name = '0', ), - cephfs = kubernetes.client.models.v1/ceph_fs_volume_source.v1.CephFSVolumeSource( - monitors = [ - '0' - ], - path = '0', - read_only = True, - secret_file = '0', - user = '0', ), - cinder = kubernetes.client.models.v1/cinder_volume_source.v1.CinderVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - config_map = kubernetes.client.models.v1/config_map_volume_source.v1.ConfigMapVolumeSource( - default_mode = 56, - items = [ - kubernetes.client.models.v1/key_to_path.v1.KeyToPath( - key = '0', - mode = 56, - path = '0', ) - ], - name = '0', - optional = True, ), - csi = kubernetes.client.models.v1/csi_volume_source.v1.CSIVolumeSource( - driver = '0', - fs_type = '0', - node_publish_secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - read_only = True, - volume_attributes = { - 'key' : '0' - }, ), - downward_api = kubernetes.client.models.v1/downward_api_volume_source.v1.DownwardAPIVolumeSource( - default_mode = 56, ), - empty_dir = kubernetes.client.models.v1/empty_dir_volume_source.v1.EmptyDirVolumeSource( - medium = '0', - size_limit = '0', ), - fc = kubernetes.client.models.v1/fc_volume_source.v1.FCVolumeSource( - fs_type = '0', - lun = 56, - read_only = True, - target_ww_ns = [ - '0' - ], - wwids = [ - '0' - ], ), - flex_volume = kubernetes.client.models.v1/flex_volume_source.v1.FlexVolumeSource( - driver = '0', - fs_type = '0', - read_only = True, ), - flocker = kubernetes.client.models.v1/flocker_volume_source.v1.FlockerVolumeSource( - dataset_name = '0', - dataset_uuid = '0', ), - gce_persistent_disk = kubernetes.client.models.v1/gce_persistent_disk_volume_source.v1.GCEPersistentDiskVolumeSource( - fs_type = '0', - partition = 56, - pd_name = '0', - read_only = True, ), - git_repo = kubernetes.client.models.v1/git_repo_volume_source.v1.GitRepoVolumeSource( - directory = '0', - repository = '0', - revision = '0', ), - glusterfs = kubernetes.client.models.v1/glusterfs_volume_source.v1.GlusterfsVolumeSource( - endpoints = '0', - path = '0', - read_only = True, ), - host_path = kubernetes.client.models.v1/host_path_volume_source.v1.HostPathVolumeSource( - path = '0', - type = '0', ), - iscsi = kubernetes.client.models.v1/iscsi_volume_source.v1.ISCSIVolumeSource( - chap_auth_discovery = True, - chap_auth_session = True, - fs_type = '0', - initiator_name = '0', - iqn = '0', - iscsi_interface = '0', - lun = 56, - portals = [ - '0' - ], - read_only = True, - target_portal = '0', ), - name = '0', - nfs = kubernetes.client.models.v1/nfs_volume_source.v1.NFSVolumeSource( - path = '0', - read_only = True, - server = '0', ), - persistent_volume_claim = kubernetes.client.models.v1/persistent_volume_claim_volume_source.v1.PersistentVolumeClaimVolumeSource( - claim_name = '0', - read_only = True, ), - photon_persistent_disk = kubernetes.client.models.v1/photon_persistent_disk_volume_source.v1.PhotonPersistentDiskVolumeSource( - fs_type = '0', - pd_id = '0', ), - portworx_volume = kubernetes.client.models.v1/portworx_volume_source.v1.PortworxVolumeSource( - fs_type = '0', - read_only = True, - volume_id = '0', ), - projected = kubernetes.client.models.v1/projected_volume_source.v1.ProjectedVolumeSource( - default_mode = 56, - sources = [ - kubernetes.client.models.v1/volume_projection.v1.VolumeProjection( - secret = kubernetes.client.models.v1/secret_projection.v1.SecretProjection( - name = '0', - optional = True, ), - service_account_token = kubernetes.client.models.v1/service_account_token_projection.v1.ServiceAccountTokenProjection( - audience = '0', - expiration_seconds = 56, - path = '0', ), ) - ], ), - quobyte = kubernetes.client.models.v1/quobyte_volume_source.v1.QuobyteVolumeSource( - group = '0', - read_only = True, - registry = '0', - tenant = '0', - user = '0', - volume = '0', ), - rbd = kubernetes.client.models.v1/rbd_volume_source.v1.RBDVolumeSource( - fs_type = '0', - image = '0', - keyring = '0', - monitors = [ - '0' - ], - pool = '0', - read_only = True, - user = '0', ), - scale_io = kubernetes.client.models.v1/scale_io_volume_source.v1.ScaleIOVolumeSource( - fs_type = '0', - gateway = '0', - protection_domain = '0', - read_only = True, - secret_ref = kubernetes.client.models.v1/local_object_reference.v1.LocalObjectReference( - name = '0', ), - ssl_enabled = True, - storage_mode = '0', - storage_pool = '0', - system = '0', - volume_name = '0', ), - secret = kubernetes.client.models.v1/secret_volume_source.v1.SecretVolumeSource( - default_mode = 56, - optional = True, - secret_name = '0', ), - storageos = kubernetes.client.models.v1/storage_os_volume_source.v1.StorageOSVolumeSource( - fs_type = '0', - read_only = True, - volume_name = '0', - volume_namespace = '0', ), - vsphere_volume = kubernetes.client.models.v1/vsphere_virtual_disk_volume_source.v1.VsphereVirtualDiskVolumeSource( - fs_type = '0', - storage_policy_id = '0', - storage_policy_name = '0', - volume_path = '0', ), ) - ], ), ), - ttl_seconds_after_finished = 56, ) - ) - else : - return V2alpha1JobTemplateSpec( - ) - - def testV2alpha1JobTemplateSpec(self): - """Test V2alpha1JobTemplateSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_cross_version_object_reference.py b/kubernetes/test/test_v2beta1_cross_version_object_reference.py deleted file mode 100644 index de8c02f5c8..0000000000 --- a/kubernetes/test/test_v2beta1_cross_version_object_reference.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_cross_version_object_reference import V2beta1CrossVersionObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1CrossVersionObjectReference(unittest.TestCase): - """V2beta1CrossVersionObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1CrossVersionObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_cross_version_object_reference.V2beta1CrossVersionObjectReference() # noqa: E501 - if include_optional : - return V2beta1CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0' - ) - else : - return V2beta1CrossVersionObjectReference( - kind = '0', - name = '0', - ) - - def testV2beta1CrossVersionObjectReference(self): - """Test V2beta1CrossVersionObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_external_metric_source.py b/kubernetes/test/test_v2beta1_external_metric_source.py deleted file mode 100644 index 50ca5dd424..0000000000 --- a/kubernetes/test/test_v2beta1_external_metric_source.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_external_metric_source import V2beta1ExternalMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ExternalMetricSource(unittest.TestCase): - """V2beta1ExternalMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ExternalMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_external_metric_source.V2beta1ExternalMetricSource() # noqa: E501 - if include_optional : - return V2beta1ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0' - ) - else : - return V2beta1ExternalMetricSource( - metric_name = '0', - ) - - def testV2beta1ExternalMetricSource(self): - """Test V2beta1ExternalMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_external_metric_status.py b/kubernetes/test/test_v2beta1_external_metric_status.py deleted file mode 100644 index d57097d270..0000000000 --- a/kubernetes/test/test_v2beta1_external_metric_status.py +++ /dev/null @@ -1,68 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_external_metric_status import V2beta1ExternalMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ExternalMetricStatus(unittest.TestCase): - """V2beta1ExternalMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ExternalMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_external_metric_status.V2beta1ExternalMetricStatus() # noqa: E501 - if include_optional : - return V2beta1ExternalMetricStatus( - current_average_value = '0', - current_value = '0', - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V2beta1ExternalMetricStatus( - current_value = '0', - metric_name = '0', - ) - - def testV2beta1ExternalMetricStatus(self): - """Test V2beta1ExternalMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py deleted file mode 100644 index aa4b77bd90..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler.py +++ /dev/null @@ -1,184 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler import V2beta1HorizontalPodAutoscaler # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscaler(unittest.TestCase): - """V2beta1HorizontalPodAutoscaler unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscaler - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler.V2beta1HorizontalPodAutoscaler() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( - external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( - current_average_value = '0', - current_value = '0', - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( - average_value = '0', - current_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( - current_average_value = '0', - metric_name = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( - current_average_utilization = 56, - current_average_value = '0', - name = '0', ), - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ) - ) - else : - return V2beta1HorizontalPodAutoscaler( - ) - - def testV2beta1HorizontalPodAutoscaler(self): - """Test V2beta1HorizontalPodAutoscaler""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py deleted file mode 100644 index e75d49dccb..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_condition import V2beta1HorizontalPodAutoscalerCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscalerCondition(unittest.TestCase): - """V2beta1HorizontalPodAutoscalerCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscalerCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_condition.V2beta1HorizontalPodAutoscalerCondition() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V2beta1HorizontalPodAutoscalerCondition( - status = '0', - type = '0', - ) - - def testV2beta1HorizontalPodAutoscalerCondition(self): - """Test V2beta1HorizontalPodAutoscalerCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py deleted file mode 100644 index 5c1416b12b..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_list.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_list import V2beta1HorizontalPodAutoscalerList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscalerList(unittest.TestCase): - """V2beta1HorizontalPodAutoscalerList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscalerList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_list.V2beta1HorizontalPodAutoscalerList() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscalerList( - api_version = '0', - items = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler.v2beta1.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V2beta1HorizontalPodAutoscalerList( - items = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler.v2beta1.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_spec.v2beta1.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_status.v2beta1.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - ) - - def testV2beta1HorizontalPodAutoscalerList(self): - """Test V2beta1HorizontalPodAutoscalerList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py deleted file mode 100644 index 6b004942f2..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_spec.py +++ /dev/null @@ -1,98 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_spec import V2beta1HorizontalPodAutoscalerSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscalerSpec(unittest.TestCase): - """V2beta1HorizontalPodAutoscalerSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscalerSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_spec.V2beta1HorizontalPodAutoscalerSpec() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta1/metric_spec.v2beta1.MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ) - ) - else : - return V2beta1HorizontalPodAutoscalerSpec( - max_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - ) - - def testV2beta1HorizontalPodAutoscalerSpec(self): - """Test V2beta1HorizontalPodAutoscalerSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py deleted file mode 100644 index 13ad830d08..0000000000 --- a/kubernetes/test/test_v2beta1_horizontal_pod_autoscaler_status.py +++ /dev/null @@ -1,109 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_status import V2beta1HorizontalPodAutoscalerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1HorizontalPodAutoscalerStatus(unittest.TestCase): - """V2beta1HorizontalPodAutoscalerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1HorizontalPodAutoscalerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_horizontal_pod_autoscaler_status.V2beta1HorizontalPodAutoscalerStatus() # noqa: E501 - if include_optional : - return V2beta1HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta1/metric_status.v2beta1.MetricStatus( - external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( - current_average_value = '0', - current_value = '0', - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( - average_value = '0', - current_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector(), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( - current_average_value = '0', - metric_name = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( - current_average_utilization = 56, - current_average_value = '0', - name = '0', ), - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56 - ) - else : - return V2beta1HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta1/horizontal_pod_autoscaler_condition.v2beta1.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - ) - - def testV2beta1HorizontalPodAutoscalerStatus(self): - """Test V2beta1HorizontalPodAutoscalerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_metric_spec.py b/kubernetes/test/test_v2beta1_metric_spec.py deleted file mode 100644 index bc685b443c..0000000000 --- a/kubernetes/test/test_v2beta1_metric_spec.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_metric_spec import V2beta1MetricSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1MetricSpec(unittest.TestCase): - """V2beta1MetricSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1MetricSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_metric_spec.V2beta1MetricSpec() # noqa: E501 - if include_optional : - return V2beta1MetricSpec( - external = kubernetes.client.models.v2beta1/external_metric_source.v2beta1.ExternalMetricSource( - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', - target_value = '0', ), - object = kubernetes.client.models.v2beta1/object_metric_source.v2beta1.ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', ), - pods = kubernetes.client.models.v2beta1/pods_metric_source.v2beta1.PodsMetricSource( - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0', ), - resource = kubernetes.client.models.v2beta1/resource_metric_source.v2beta1.ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0', ), - type = '0' - ) - else : - return V2beta1MetricSpec( - type = '0', - ) - - def testV2beta1MetricSpec(self): - """Test V2beta1MetricSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_metric_status.py b/kubernetes/test/test_v2beta1_metric_status.py deleted file mode 100644 index 127bd42b90..0000000000 --- a/kubernetes/test/test_v2beta1_metric_status.py +++ /dev/null @@ -1,108 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_metric_status import V2beta1MetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1MetricStatus(unittest.TestCase): - """V2beta1MetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1MetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_metric_status.V2beta1MetricStatus() # noqa: E501 - if include_optional : - return V2beta1MetricStatus( - external = kubernetes.client.models.v2beta1/external_metric_status.v2beta1.ExternalMetricStatus( - current_average_value = '0', - current_value = '0', - metric_name = '0', - metric_selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - object = kubernetes.client.models.v2beta1/object_metric_status.v2beta1.ObjectMetricStatus( - average_value = '0', - current_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - pods = kubernetes.client.models.v2beta1/pods_metric_status.v2beta1.PodsMetricStatus( - current_average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - resource = kubernetes.client.models.v2beta1/resource_metric_status.v2beta1.ResourceMetricStatus( - current_average_utilization = 56, - current_average_value = '0', - name = '0', ), - type = '0' - ) - else : - return V2beta1MetricStatus( - type = '0', - ) - - def testV2beta1MetricStatus(self): - """Test V2beta1MetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_object_metric_source.py b/kubernetes/test/test_v2beta1_object_metric_source.py deleted file mode 100644 index de9f07c4ed..0000000000 --- a/kubernetes/test/test_v2beta1_object_metric_source.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_object_metric_source import V2beta1ObjectMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ObjectMetricSource(unittest.TestCase): - """V2beta1ObjectMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ObjectMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_object_metric_source.V2beta1ObjectMetricSource() # noqa: E501 - if include_optional : - return V2beta1ObjectMetricSource( - average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0' - ) - else : - return V2beta1ObjectMetricSource( - metric_name = '0', - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - target_value = '0', - ) - - def testV2beta1ObjectMetricSource(self): - """Test V2beta1ObjectMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_object_metric_status.py b/kubernetes/test/test_v2beta1_object_metric_status.py deleted file mode 100644 index 386b86d9d8..0000000000 --- a/kubernetes/test/test_v2beta1_object_metric_status.py +++ /dev/null @@ -1,76 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_object_metric_status import V2beta1ObjectMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ObjectMetricStatus(unittest.TestCase): - """V2beta1ObjectMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ObjectMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_object_metric_status.V2beta1ObjectMetricStatus() # noqa: E501 - if include_optional : - return V2beta1ObjectMetricStatus( - average_value = '0', - current_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ) - ) - else : - return V2beta1ObjectMetricStatus( - current_value = '0', - metric_name = '0', - target = kubernetes.client.models.v2beta1/cross_version_object_reference.v2beta1.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - ) - - def testV2beta1ObjectMetricStatus(self): - """Test V2beta1ObjectMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_pods_metric_source.py b/kubernetes/test/test_v2beta1_pods_metric_source.py deleted file mode 100644 index 8abc8a669f..0000000000 --- a/kubernetes/test/test_v2beta1_pods_metric_source.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_pods_metric_source import V2beta1PodsMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1PodsMetricSource(unittest.TestCase): - """V2beta1PodsMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1PodsMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_pods_metric_source.V2beta1PodsMetricSource() # noqa: E501 - if include_optional : - return V2beta1PodsMetricSource( - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), - target_average_value = '0' - ) - else : - return V2beta1PodsMetricSource( - metric_name = '0', - target_average_value = '0', - ) - - def testV2beta1PodsMetricSource(self): - """Test V2beta1PodsMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_pods_metric_status.py b/kubernetes/test/test_v2beta1_pods_metric_status.py deleted file mode 100644 index 6b970f42c4..0000000000 --- a/kubernetes/test/test_v2beta1_pods_metric_status.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_pods_metric_status import V2beta1PodsMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1PodsMetricStatus(unittest.TestCase): - """V2beta1PodsMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1PodsMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_pods_metric_status.V2beta1PodsMetricStatus() # noqa: E501 - if include_optional : - return V2beta1PodsMetricStatus( - current_average_value = '0', - metric_name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V2beta1PodsMetricStatus( - current_average_value = '0', - metric_name = '0', - ) - - def testV2beta1PodsMetricStatus(self): - """Test V2beta1PodsMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_resource_metric_source.py b/kubernetes/test/test_v2beta1_resource_metric_source.py deleted file mode 100644 index 0a267b0e61..0000000000 --- a/kubernetes/test/test_v2beta1_resource_metric_source.py +++ /dev/null @@ -1,55 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_resource_metric_source import V2beta1ResourceMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ResourceMetricSource(unittest.TestCase): - """V2beta1ResourceMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ResourceMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_resource_metric_source.V2beta1ResourceMetricSource() # noqa: E501 - if include_optional : - return V2beta1ResourceMetricSource( - name = '0', - target_average_utilization = 56, - target_average_value = '0' - ) - else : - return V2beta1ResourceMetricSource( - name = '0', - ) - - def testV2beta1ResourceMetricSource(self): - """Test V2beta1ResourceMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta1_resource_metric_status.py b/kubernetes/test/test_v2beta1_resource_metric_status.py deleted file mode 100644 index 6f34324e80..0000000000 --- a/kubernetes/test/test_v2beta1_resource_metric_status.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta1_resource_metric_status import V2beta1ResourceMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta1ResourceMetricStatus(unittest.TestCase): - """V2beta1ResourceMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta1ResourceMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta1_resource_metric_status.V2beta1ResourceMetricStatus() # noqa: E501 - if include_optional : - return V2beta1ResourceMetricStatus( - current_average_utilization = 56, - current_average_value = '0', - name = '0' - ) - else : - return V2beta1ResourceMetricStatus( - current_average_value = '0', - name = '0', - ) - - def testV2beta1ResourceMetricStatus(self): - """Test V2beta1ResourceMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_cross_version_object_reference.py b/kubernetes/test/test_v2beta2_cross_version_object_reference.py deleted file mode 100644 index 61df033123..0000000000 --- a/kubernetes/test/test_v2beta2_cross_version_object_reference.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_cross_version_object_reference import V2beta2CrossVersionObjectReference # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2CrossVersionObjectReference(unittest.TestCase): - """V2beta2CrossVersionObjectReference unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2CrossVersionObjectReference - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_cross_version_object_reference.V2beta2CrossVersionObjectReference() # noqa: E501 - if include_optional : - return V2beta2CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0' - ) - else : - return V2beta2CrossVersionObjectReference( - kind = '0', - name = '0', - ) - - def testV2beta2CrossVersionObjectReference(self): - """Test V2beta2CrossVersionObjectReference""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_external_metric_source.py b/kubernetes/test/test_v2beta2_external_metric_source.py deleted file mode 100644 index a1e5bac9dc..0000000000 --- a/kubernetes/test/test_v2beta2_external_metric_source.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_external_metric_source import V2beta2ExternalMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ExternalMetricSource(unittest.TestCase): - """V2beta2ExternalMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ExternalMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_external_metric_source.V2beta2ExternalMetricSource() # noqa: E501 - if include_optional : - return V2beta2ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ) - ) - else : - return V2beta2ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), - ) - - def testV2beta2ExternalMetricSource(self): - """Test V2beta2ExternalMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_external_metric_status.py b/kubernetes/test/test_v2beta2_external_metric_status.py deleted file mode 100644 index d20d08fd30..0000000000 --- a/kubernetes/test/test_v2beta2_external_metric_status.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_external_metric_status import V2beta2ExternalMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ExternalMetricStatus(unittest.TestCase): - """V2beta2ExternalMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ExternalMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_external_metric_status.V2beta2ExternalMetricStatus() # noqa: E501 - if include_optional : - return V2beta2ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ) - ) - else : - return V2beta2ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - ) - - def testV2beta2ExternalMetricStatus(self): - """Test V2beta2ExternalMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py deleted file mode 100644 index fc2a598c50..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler.py +++ /dev/null @@ -1,210 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler import V2beta2HorizontalPodAutoscaler # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscaler(unittest.TestCase): - """V2beta2HorizontalPodAutoscaler unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscaler - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler.V2beta2HorizontalPodAutoscaler() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( - external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0', ), - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ) - ) - else : - return V2beta2HorizontalPodAutoscaler( - ) - - def testV2beta2HorizontalPodAutoscaler(self): - """Test V2beta2HorizontalPodAutoscaler""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py deleted file mode 100644 index 17919f87aa..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_condition.py +++ /dev/null @@ -1,58 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_condition import V2beta2HorizontalPodAutoscalerCondition # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscalerCondition(unittest.TestCase): - """V2beta2HorizontalPodAutoscalerCondition unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscalerCondition - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_condition.V2beta2HorizontalPodAutoscalerCondition() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0' - ) - else : - return V2beta2HorizontalPodAutoscalerCondition( - status = '0', - type = '0', - ) - - def testV2beta2HorizontalPodAutoscalerCondition(self): - """Test V2beta2HorizontalPodAutoscalerCondition""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py deleted file mode 100644 index 4811015e1a..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_list.py +++ /dev/null @@ -1,296 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_list import V2beta2HorizontalPodAutoscalerList # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscalerList(unittest.TestCase): - """V2beta2HorizontalPodAutoscalerList unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscalerList - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_list.V2beta2HorizontalPodAutoscalerList() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscalerList( - api_version = '0', - items = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler.v2beta2.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - kind = '0', - metadata = kubernetes.client.models.v1/list_meta.v1.ListMeta( - continue = '0', - remaining_item_count = 56, - resource_version = '0', - self_link = '0', ) - ) - else : - return V2beta2HorizontalPodAutoscalerList( - items = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler.v2beta2.HorizontalPodAutoscaler( - api_version = '0', - kind = '0', - metadata = kubernetes.client.models.v1/object_meta.v1.ObjectMeta( - annotations = { - 'key' : '0' - }, - cluster_name = '0', - creation_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - deletion_grace_period_seconds = 56, - deletion_timestamp = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - finalizers = [ - '0' - ], - generate_name = '0', - generation = 56, - labels = { - 'key' : '0' - }, - managed_fields = [ - kubernetes.client.models.v1/managed_fields_entry.v1.ManagedFieldsEntry( - api_version = '0', - fields_type = '0', - fields_v1 = kubernetes.client.models.fields_v1.fieldsV1(), - manager = '0', - operation = '0', - time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), ) - ], - name = '0', - namespace = '0', - owner_references = [ - kubernetes.client.models.v1/owner_reference.v1.OwnerReference( - api_version = '0', - block_owner_deletion = True, - controller = True, - kind = '0', - name = '0', - uid = '0', ) - ], - resource_version = '0', - self_link = '0', - uid = '0', ), - spec = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_spec.v2beta2.HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), ), - status = kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_status.v2beta2.HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56, ), ) - ], - ) - - def testV2beta2HorizontalPodAutoscalerList(self): - """Test V2beta2HorizontalPodAutoscalerList""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py deleted file mode 100644 index cdfcde2e69..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_spec.py +++ /dev/null @@ -1,113 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_spec import V2beta2HorizontalPodAutoscalerSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscalerSpec(unittest.TestCase): - """V2beta2HorizontalPodAutoscalerSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscalerSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_spec.V2beta2HorizontalPodAutoscalerSpec() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscalerSpec( - max_replicas = 56, - metrics = [ - kubernetes.client.models.v2beta2/metric_spec.v2beta2.MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0', ) - ], - min_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ) - ) - else : - return V2beta2HorizontalPodAutoscalerSpec( - max_replicas = 56, - scale_target_ref = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - ) - - def testV2beta2HorizontalPodAutoscalerSpec(self): - """Test V2beta2HorizontalPodAutoscalerSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py deleted file mode 100644 index dc8aea5d86..0000000000 --- a/kubernetes/test/test_v2beta2_horizontal_pod_autoscaler_status.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_status import V2beta2HorizontalPodAutoscalerStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2HorizontalPodAutoscalerStatus(unittest.TestCase): - """V2beta2HorizontalPodAutoscalerStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2HorizontalPodAutoscalerStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_horizontal_pod_autoscaler_status.V2beta2HorizontalPodAutoscalerStatus() # noqa: E501 - if include_optional : - return V2beta2HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_metrics = [ - kubernetes.client.models.v2beta2/metric_status.v2beta2.MetricStatus( - external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0', ), - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - last_scale_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - observed_generation = 56 - ) - else : - return V2beta2HorizontalPodAutoscalerStatus( - conditions = [ - kubernetes.client.models.v2beta2/horizontal_pod_autoscaler_condition.v2beta2.HorizontalPodAutoscalerCondition( - last_transition_time = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'), - message = '0', - reason = '0', - status = '0', - type = '0', ) - ], - current_replicas = 56, - desired_replicas = 56, - ) - - def testV2beta2HorizontalPodAutoscalerStatus(self): - """Test V2beta2HorizontalPodAutoscalerStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_identifier.py b/kubernetes/test/test_v2beta2_metric_identifier.py deleted file mode 100644 index c8ab70001a..0000000000 --- a/kubernetes/test/test_v2beta2_metric_identifier.py +++ /dev/null @@ -1,65 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_identifier import V2beta2MetricIdentifier # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricIdentifier(unittest.TestCase): - """V2beta2MetricIdentifier unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricIdentifier - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_identifier.V2beta2MetricIdentifier() # noqa: E501 - if include_optional : - return V2beta2MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ) - ) - else : - return V2beta2MetricIdentifier( - name = '0', - ) - - def testV2beta2MetricIdentifier(self): - """Test V2beta2MetricIdentifier""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_spec.py b/kubernetes/test/test_v2beta2_metric_spec.py deleted file mode 100644 index 2bd0fe244a..0000000000 --- a/kubernetes/test/test_v2beta2_metric_spec.py +++ /dev/null @@ -1,124 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_spec import V2beta2MetricSpec # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricSpec(unittest.TestCase): - """V2beta2MetricSpec unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricSpec - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_spec.V2beta2MetricSpec() # noqa: E501 - if include_optional : - return V2beta2MetricSpec( - external = kubernetes.client.models.v2beta2/external_metric_source.v2beta2.ExternalMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - object = kubernetes.client.models.v2beta2/object_metric_source.v2beta2.ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_source.v2beta2.PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_source.v2beta2.ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), ), - type = '0' - ) - else : - return V2beta2MetricSpec( - type = '0', - ) - - def testV2beta2MetricSpec(self): - """Test V2beta2MetricSpec""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_status.py b/kubernetes/test/test_v2beta2_metric_status.py deleted file mode 100644 index b5d3850755..0000000000 --- a/kubernetes/test/test_v2beta2_metric_status.py +++ /dev/null @@ -1,120 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_status import V2beta2MetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricStatus(unittest.TestCase): - """V2beta2MetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_status.V2beta2MetricStatus() # noqa: E501 - if include_optional : - return V2beta2MetricStatus( - external = kubernetes.client.models.v2beta2/external_metric_status.v2beta2.ExternalMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - object = kubernetes.client.models.v2beta2/object_metric_status.v2beta2.ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - pods = kubernetes.client.models.v2beta2/pods_metric_status.v2beta2.PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), ), - resource = kubernetes.client.models.v2beta2/resource_metric_status.v2beta2.ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0', ), - type = '0' - ) - else : - return V2beta2MetricStatus( - type = '0', - ) - - def testV2beta2MetricStatus(self): - """Test V2beta2MetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_target.py b/kubernetes/test/test_v2beta2_metric_target.py deleted file mode 100644 index e729186a58..0000000000 --- a/kubernetes/test/test_v2beta2_metric_target.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_target import V2beta2MetricTarget # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricTarget(unittest.TestCase): - """V2beta2MetricTarget unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricTarget - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_target.V2beta2MetricTarget() # noqa: E501 - if include_optional : - return V2beta2MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0' - ) - else : - return V2beta2MetricTarget( - type = '0', - ) - - def testV2beta2MetricTarget(self): - """Test V2beta2MetricTarget""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_metric_value_status.py b/kubernetes/test/test_v2beta2_metric_value_status.py deleted file mode 100644 index 26886912c3..0000000000 --- a/kubernetes/test/test_v2beta2_metric_value_status.py +++ /dev/null @@ -1,54 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_metric_value_status import V2beta2MetricValueStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2MetricValueStatus(unittest.TestCase): - """V2beta2MetricValueStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2MetricValueStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_metric_value_status.V2beta2MetricValueStatus() # noqa: E501 - if include_optional : - return V2beta2MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0' - ) - else : - return V2beta2MetricValueStatus( - ) - - def testV2beta2MetricValueStatus(self): - """Test V2beta2MetricValueStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_object_metric_source.py b/kubernetes/test/test_v2beta2_object_metric_source.py deleted file mode 100644 index 64c9116120..0000000000 --- a/kubernetes/test/test_v2beta2_object_metric_source.py +++ /dev/null @@ -1,97 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_object_metric_source import V2beta2ObjectMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ObjectMetricSource(unittest.TestCase): - """V2beta2ObjectMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ObjectMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_object_metric_source.V2beta2ObjectMetricSource() # noqa: E501 - if include_optional : - return V2beta2ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ) - ) - else : - return V2beta2ObjectMetricSource( - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), - ) - - def testV2beta2ObjectMetricSource(self): - """Test V2beta2ObjectMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_object_metric_status.py b/kubernetes/test/test_v2beta2_object_metric_status.py deleted file mode 100644 index 5c1f54eace..0000000000 --- a/kubernetes/test/test_v2beta2_object_metric_status.py +++ /dev/null @@ -1,95 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_object_metric_status import V2beta2ObjectMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ObjectMetricStatus(unittest.TestCase): - """V2beta2ObjectMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ObjectMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_object_metric_status.V2beta2ObjectMetricStatus() # noqa: E501 - if include_optional : - return V2beta2ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ) - ) - else : - return V2beta2ObjectMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - described_object = kubernetes.client.models.v2beta2/cross_version_object_reference.v2beta2.CrossVersionObjectReference( - api_version = '0', - kind = '0', - name = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - ) - - def testV2beta2ObjectMetricStatus(self): - """Test V2beta2ObjectMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_pods_metric_source.py b/kubernetes/test/test_v2beta2_pods_metric_source.py deleted file mode 100644 index 6a7f95acee..0000000000 --- a/kubernetes/test/test_v2beta2_pods_metric_source.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_pods_metric_source import V2beta2PodsMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2PodsMetricSource(unittest.TestCase): - """V2beta2PodsMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2PodsMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_pods_metric_source.V2beta2PodsMetricSource() # noqa: E501 - if include_optional : - return V2beta2PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ) - ) - else : - return V2beta2PodsMetricSource( - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), - ) - - def testV2beta2PodsMetricSource(self): - """Test V2beta2PodsMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_pods_metric_status.py b/kubernetes/test/test_v2beta2_pods_metric_status.py deleted file mode 100644 index ad24e2f3a6..0000000000 --- a/kubernetes/test/test_v2beta2_pods_metric_status.py +++ /dev/null @@ -1,87 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_pods_metric_status import V2beta2PodsMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2PodsMetricStatus(unittest.TestCase): - """V2beta2PodsMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2PodsMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_pods_metric_status.V2beta2PodsMetricStatus() # noqa: E501 - if include_optional : - return V2beta2PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ) - ) - else : - return V2beta2PodsMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - metric = kubernetes.client.models.v2beta2/metric_identifier.v2beta2.MetricIdentifier( - name = '0', - selector = kubernetes.client.models.v1/label_selector.v1.LabelSelector( - match_expressions = [ - kubernetes.client.models.v1/label_selector_requirement.v1.LabelSelectorRequirement( - key = '0', - operator = '0', - values = [ - '0' - ], ) - ], - match_labels = { - 'key' : '0' - }, ), ), - ) - - def testV2beta2PodsMetricStatus(self): - """Test V2beta2PodsMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_resource_metric_source.py b/kubernetes/test/test_v2beta2_resource_metric_source.py deleted file mode 100644 index d62aff7b58..0000000000 --- a/kubernetes/test/test_v2beta2_resource_metric_source.py +++ /dev/null @@ -1,63 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_resource_metric_source import V2beta2ResourceMetricSource # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ResourceMetricSource(unittest.TestCase): - """V2beta2ResourceMetricSource unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ResourceMetricSource - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_resource_metric_source.V2beta2ResourceMetricSource() # noqa: E501 - if include_optional : - return V2beta2ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ) - ) - else : - return V2beta2ResourceMetricSource( - name = '0', - target = kubernetes.client.models.v2beta2/metric_target.v2beta2.MetricTarget( - average_utilization = 56, - average_value = '0', - type = '0', - value = '0', ), - ) - - def testV2beta2ResourceMetricSource(self): - """Test V2beta2ResourceMetricSource""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_v2beta2_resource_metric_status.py b/kubernetes/test/test_v2beta2_resource_metric_status.py deleted file mode 100644 index cf7326a8b2..0000000000 --- a/kubernetes/test/test_v2beta2_resource_metric_status.py +++ /dev/null @@ -1,61 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.v2beta2_resource_metric_status import V2beta2ResourceMetricStatus # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestV2beta2ResourceMetricStatus(unittest.TestCase): - """V2beta2ResourceMetricStatus unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test V2beta2ResourceMetricStatus - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.v2beta2_resource_metric_status.V2beta2ResourceMetricStatus() # noqa: E501 - if include_optional : - return V2beta2ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0' - ) - else : - return V2beta2ResourceMetricStatus( - current = kubernetes.client.models.v2beta2/metric_value_status.v2beta2.MetricValueStatus( - average_utilization = 56, - average_value = '0', - value = '0', ), - name = '0', - ) - - def testV2beta2ResourceMetricStatus(self): - """Test V2beta2ResourceMetricStatus""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_version_api.py b/kubernetes/test/test_version_api.py deleted file mode 100644 index 7a1b9f5878..0000000000 --- a/kubernetes/test/test_version_api.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest - -import kubernetes.client -from kubernetes.client.api.version_api import VersionApi # noqa: E501 -from kubernetes.client.rest import ApiException - - -class TestVersionApi(unittest.TestCase): - """VersionApi unit test stubs""" - - def setUp(self): - self.api = kubernetes.client.api.version_api.VersionApi() # noqa: E501 - - def tearDown(self): - pass - - def test_get_code(self): - """Test case for get_code - - """ - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/kubernetes/test/test_version_info.py b/kubernetes/test/test_version_info.py deleted file mode 100644 index ac29691127..0000000000 --- a/kubernetes/test/test_version_info.py +++ /dev/null @@ -1,69 +0,0 @@ -# coding: utf-8 - -""" - Kubernetes - - No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - - The version of the OpenAPI document: release-1.17 - Generated by: https://openapi-generator.tech -""" - - -from __future__ import absolute_import - -import unittest -import datetime - -import kubernetes.client -from kubernetes.client.models.version_info import VersionInfo # noqa: E501 -from kubernetes.client.rest import ApiException - -class TestVersionInfo(unittest.TestCase): - """VersionInfo unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional): - """Test VersionInfo - include_option is a boolean, when False only required - params are included, when True both required and - optional params are included """ - # model = kubernetes.client.models.version_info.VersionInfo() # noqa: E501 - if include_optional : - return VersionInfo( - build_date = '0', - compiler = '0', - git_commit = '0', - git_tree_state = '0', - git_version = '0', - go_version = '0', - major = '0', - minor = '0', - platform = '0' - ) - else : - return VersionInfo( - build_date = '0', - compiler = '0', - git_commit = '0', - git_tree_state = '0', - git_version = '0', - go_version = '0', - major = '0', - minor = '0', - platform = '0', - ) - - def testVersionInfo(self): - """Test VersionInfo""" - inst_req_only = self.make_instance(include_optional=False) - inst_req_and_optional = self.make_instance(include_optional=True) - - -if __name__ == '__main__': - unittest.main() From f1cc695a6cd83234f6ab3ab3cdb2807214d2e328 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Mon, 22 Jun 2020 20:43:11 +0530 Subject: [PATCH 23/51] Fix custom objects API to preserve backward compatibility Reference: - [#866](https://github.com/kubernetes-client/python/issues/866) - [#959](https://github.com/kubernetes-client/python/pull/959) Signed-off-by: Nabarun Pal --- kubernetes/client/api/custom_objects_api.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kubernetes/client/api/custom_objects_api.py b/kubernetes/client/api/custom_objects_api.py index 69c54c9d4c..96e875686d 100644 --- a/kubernetes/client/api/custom_objects_api.py +++ b/kubernetes/client/api/custom_objects_api.py @@ -2405,7 +2405,7 @@ def patch_cluster_custom_object_with_http_info(self, group, version, plural, nam # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501 + ['application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -2574,7 +2574,7 @@ def patch_cluster_custom_object_scale_with_http_info(self, group, version, plura # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501 + ['application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -2743,7 +2743,7 @@ def patch_cluster_custom_object_status_with_http_info(self, group, version, plur # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501 + ['application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -2921,7 +2921,7 @@ def patch_namespaced_custom_object_with_http_info(self, group, version, namespac # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json']) # noqa: E501 + ['application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -3099,7 +3099,7 @@ def patch_namespaced_custom_object_scale_with_http_info(self, group, version, na # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + ['application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 @@ -3277,7 +3277,7 @@ def patch_namespaced_custom_object_status_with_http_info(self, group, version, n # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 - ['application/json-patch+json', 'application/merge-patch+json', 'application/apply-patch+yaml']) # noqa: E501 + ['application/merge-patch+json']) # noqa: E501 # Authentication setting auth_settings = ['BearerToken'] # noqa: E501 From 56ab983036bcb5c78eee91483c1e610da69216d1 Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Mon, 22 Jun 2020 20:46:20 +0530 Subject: [PATCH 24/51] Add kubernetes.client.apis as an alias to kubernetes.client.api Reference: https://github.com/kubernetes-client/python/issues/974 Signed-off-by: Nabarun Pal --- kubernetes/client/apis/__init__.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 kubernetes/client/apis/__init__.py diff --git a/kubernetes/client/apis/__init__.py b/kubernetes/client/apis/__init__.py new file mode 100644 index 0000000000..ca4b321de2 --- /dev/null +++ b/kubernetes/client/apis/__init__.py @@ -0,0 +1,13 @@ +from __future__ import absolute_import +import warnings + +# flake8: noqa + +# alias kubernetes.client.api package and print deprecation warning +from kubernetes.client.api import * + +warnings.filterwarnings('default', module='kubernetes.client.apis') +warnings.warn( + "The package kubernetes.client.apis is renamed and deprecated, use kubernetes.client.api instead (please note that the trailing s was removed).", + DeprecationWarning +) From 0eb5f0f5e971a9e3bb74c774f8582c0fb8b82378 Mon Sep 17 00:00:00 2001 From: Fabian von Feilitzsch Date: Thu, 6 Feb 2020 12:37:16 -0500 Subject: [PATCH 25/51] Add test to ensure kubernetes client threadpool is cleaned up --- kubernetes/test/test_api_client.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 kubernetes/test/test_api_client.py diff --git a/kubernetes/test/test_api_client.py b/kubernetes/test/test_api_client.py new file mode 100644 index 0000000000..f0a9416cf7 --- /dev/null +++ b/kubernetes/test/test_api_client.py @@ -0,0 +1,25 @@ +# coding: utf-8 + + +import atexit +import weakref +import unittest + +import kubernetes + + +class TestApiClient(unittest.TestCase): + + def test_context_manager_closes_threadpool(self): + with kubernetes.client.ApiClient() as client: + self.assertIsNotNone(client.pool) + pool_ref = weakref.ref(client._pool) + self.assertIsNotNone(pool_ref()) + self.assertIsNone(pool_ref()) + + def test_atexit_closes_threadpool(self): + client = kubernetes.client.ApiClient() + self.assertIsNotNone(client.pool) + self.assertIsNotNone(client._pool) + atexit._run_exitfuncs() + self.assertIsNone(client._pool) From a80b3f51a68bfc4c8528966f21daa6e72fc7c554 Mon Sep 17 00:00:00 2001 From: Haowei Cai Date: Tue, 3 Nov 2020 17:53:30 -0800 Subject: [PATCH 26/51] add a test for default configuration behavior --- kubernetes/test/test_configuration.py | 39 +++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 kubernetes/test/test_configuration.py diff --git a/kubernetes/test/test_configuration.py b/kubernetes/test/test_configuration.py new file mode 100644 index 0000000000..15e065090a --- /dev/null +++ b/kubernetes/test/test_configuration.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +import unittest + +from kubernetes.client import Configuration + +class TestConfiguration(unittest.TestCase): + + def setUp(self): + pass + + def tearDown(self): + # reset Configuration + Configuration.set_default(None) + + def testConfiguration(self): + # check that different instances use different dictionaries + c1 = Configuration() + c2 = Configuration() + self.assertNotEqual(id(c1.api_key), id(c2.api_key)) + self.assertNotEqual(id(c1.api_key_prefix), id(c2.api_key_prefix)) + + def testDefaultConfiguration(self): + # prepare default configuration + c1 = Configuration(host="example.com") + c1.debug = True + Configuration.set_default(c1) + + # get default configuration + c2 = Configuration.get_default_copy() + self.assertEqual(c2.host, "example.com") + self.assertTrue(c2.debug) + + self.assertNotEqual(id(c1.api_key), id(c2.api_key)) + self.assertNotEqual(id(c1.api_key_prefix), id(c2.api_key_prefix)) + + +if __name__ == '__main__': + unittest.main() From a9ad7d79c3ba20f7956179ff8764148087754bdd Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Sat, 7 Nov 2020 12:44:18 +0530 Subject: [PATCH 27/51] Update CHANGELOG with v17.0.0-snapshot Signed-off-by: Nabarun Pal --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68a0cd355c..715967adde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,25 @@ +# v17.0.0-snapshot + +Kubernetes API Version: 1.17.13 + +**Important Information:** + +- The Kubernetes Python client versioning scheme has changed. The version numbers used till Kubernetes Python Client v12.y.z lagged behind the actual Kubernetes minor version numbers. From this release, the client is moving a version format `vY.Z.P` where `Y` and `Z` are respectively from the Kubernetes version `v1.Y.Z` and `P` would incremented due to changes on the Python client side itself. Ref: https://github.com/kubernetes-client/python/issues/1244 +- Python 2 had reached [End of Life](https://www.python.org/doc/sunset-python-2/) on January 1, 2020. The Kubernetes Python Client will drop support for Python 2 from the next release (v18.0.0) and will no longer provide support to older clients as per the [Kubernetes support policy](https://kubernetes.io/docs/setup/release/version-skew-policy/#supported-versions). + + +**API Change:** +- Fixed: log timestamps now include trailing zeros to maintain a fixed width ([#91207](https://github.com/kubernetes/kubernetes/pull/91207), [@iamchuckss](https://github.com/iamchuckss)) [SIG Apps and Node] +- Resolve regression in metadata.managedFields handling in update/patch requests submitted by older API clients ([#92008](https://github.com/kubernetes/kubernetes/pull/92008), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing] + - Fix bug where sending a status update completely wipes managedFields for some types. ([#90032](https://github.com/kubernetes/kubernetes/pull/90032), [@apelisse](https://github.com/apelisse)) [SIG API Machinery and Testing] + - Fixes a regression with clients prior to 1.15 not being able to update podIP in pod status, or podCIDR in node spec, against >= 1.16 API servers ([#88505](https://github.com/kubernetes/kubernetes/pull/88505), [@liggitt](https://github.com/liggitt)) [SIG Apps and Network] + - CustomResourceDefinitions now validate documented API semantics of `x-kubernetes-list-type` and `x-kubernetes-map-type` atomic to reject non-atomic sub-types. ([#84722](https://github.com/kubernetes/kubernetes/pull/84722), [@sttts](https://github.com/sttts)) +- Kube-apiserver: The `AdmissionConfiguration` type accepted by `--admission-control-config-file` has been promoted to `apiserver.config.k8s.io/v1` with no schema changes. ([#85098](https://github.com/kubernetes/kubernetes/pull/85098), [@liggitt](https://github.com/liggitt)) +- Fixed EndpointSlice port name validation to match Endpoint port name validation (allowing port names longer than 15 characters) ([#84481](https://github.com/kubernetes/kubernetes/pull/84481), [@robscott](https://github.com/robscott)) +- CustomResourceDefinitions introduce `x-kubernetes-map-type` annotation as a CRD API extension. Enables this particular validation for server-side apply. ([#84113](https://github.com/kubernetes/kubernetes/pull/84113), [@enxebre](https://github.com/enxebre)) + +To read the full CHANGELOG visit [here](https://raw.githubusercontent.com/kubernetes/kubernetes/master/CHANGELOG/CHANGELOG-1.17.md). + # v12.0.1 Kubernetes API Version: 1.16.15 From bfb46ff0b61c0022fb618b1ec71300bc4a14eb7a Mon Sep 17 00:00:00 2001 From: Nabarun Pal Date: Sat, 7 Nov 2020 16:13:41 +0530 Subject: [PATCH 28/51] Update README Signed-off-by: Nabarun Pal --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a35743ec78..b27a46c944 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,7 @@ between client-python versions. | 11.0 | Kubernetes main repo, 1.15 branch | ✓ | | 12.0 Alpha/Beta | Kubernetes main repo, 1.16 branch | ✗ | | 12.0 | Kubernetes main repo, 1.16 branch | ✓ | +| 17.0 Alpha/Beta | Kubernetes main repo, 1.17 branch | ✓ | Key: From a63bf99850051323963313be26f1ac1ab26cc2b6 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 16 Nov 2020 00:05:30 +0530 Subject: [PATCH 29/51] fix code style errors --- kubernetes/utils/delete_from_yaml.py | 127 +++++++++++---------------- 1 file changed, 50 insertions(+), 77 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 8dea3e07ca..f0b5b96e8b 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -21,97 +21,67 @@ from kubernetes import client -def delete_from_yaml( - k8s_client, - yaml_file, - verbose=False, - namespace="default", - **kwargs): - ''' - Input: - yaml_file: string. Contains the path to yaml file. - k8s_client: an ApiClient object, initialized with the client args. - verbose: If True, print confirmation from the create action. - Default is False. - namespace: string. Contains the namespace to create all - resources inside. The namespace must preexist otherwise - the resource creation will fail. If the API object in - the yaml file already contains a namespace definition - this parameter has no effect. - Available parameters for creating : - :param async_req bool - :param str pretty: If 'true', then the output is pretty printed. - :param str dry_run: When present, indicates that modifications - should not be persisted. An invalid or unrecognized dryRun - directive will result in an error response and no further - processing of the request. - Valid values are: - All: all dry run stages will be processed - Raises: - FailToDeleteError which holds list of `client.rest.ApiException` - instances for each object that failed to delete. - ''' - # open yml file - with open(path.abspath(yaml_file)) as f: - #load all yml content - yml_document_all = yaml.safe_load_all(f) - - failures=[] - for yml_document in yml_document_all: - try: - # call delete from dict function - delete_from_dict(k8s_client,yml_document,verbose, - namespace=namespace, - **kwargs) - except FailToDeleteError as failure: - # if error is returned add to failures list - failures.extend(failure.api_exceptions) - if failures: - #display the error - raise FailToDeleteError(failures) - -def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwargs): - """ - Perform an action from a dictionary containing valid kubernetes - API object (i.e. List, Service, etc). - Input: +def delete_from_yaml(k8s_client, yaml_file, verbose=False, + namespace="default", **kwargs): + + """Input: + yaml_file: string. Contains the path to yaml file. k8s_client: an ApiClient object, initialized with the client args. - data: a dictionary holding valid kubernetes objects verbose: If True, print confirmation from the create action. Default is False. - yml_document: dictonary holding valid kubernetes object namespace: string. Contains the namespace to create all resources inside. The namespace must preexist otherwise the resource creation will fail. If the API object in the yaml file already contains a namespace definition this parameter has no effect. + Available parameters for creating : + :param async_req bool + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications + should not be persisted. An invalid or unrecognized dryRun + directive will result in an error response and no further + processing of the request. + Valid values are: - All: all dry run stages will be processed Raises: FailToDeleteError which holds list of `client.rest.ApiException` instances for each object that failed to delete. """ + with open(path.abspath(yaml_file)) as f: + yml_document_all = yaml.safe_load_all(f) + failures = [] + for yml_document in yml_document_all: + try: + # call delete from dict function + delete_from_dict(k8s_client, yml_document, verbose, + namespace=namespace, **kwargs) + except FailToDeleteError as failure: + failures.extend(failure.api_exceptions) + if failures: + raise FailToDeleteError(failures) + + +def delete_from_dict(k8s_client, yml_document, verbose, + namespace="default", **kwargs): api_exceptions = [] if "List" in yml_document["kind"]: - #For cases where it is List Pod/Service... - # For such cases iterate over the items - kind = yml_document["kind"].replace("List","") + kind = yml_document["kind"].replace("List", "") for yml_doc in yml_document["items"]: - if kind!="": - yml_doc["apiVersion"]=yml_document["apiVersion"] - yml_doc["kind"]= kind + if kind != "": + yml_doc["apiVersion"] = yml_document["apiVersion"] + yml_doc["kind"] = kind try: - # call function delete_from_yaml_single_item delete_from_yaml_single_item( k8s_client, yml_doc, verbose, namespace=namespace, **kwargs ) except client.rest.ApiException as api_exception: api_exceptions.append(api_exception) - else: try: - # call function delete_from_yaml_single_item delete_from_yaml_single_item( - k8s_client, yml_document, verbose, namespace=namespace, **kwargs + k8s_client, yml_document, verbose, + namespace=namespace, **kwargs ) except client.rest.ApiException as api_exception: api_exceptions.append(api_exception) @@ -120,9 +90,10 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar raise FailToDeleteError(api_exceptions) -def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): +def delete_from_yaml_single_item(k8s_client, + yml_document, verbose=False, **kwargs): # get group and version from apiVersion - group,_,version = yml_document["apiVersion"].partition("/") + group, _, version = yml_document["apiVersion"].partition("/") if version == "": version = group group = "core" @@ -136,30 +107,34 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar kind = yml_document["kind"] kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() + api_exceptions = [] try: # load namespace if provided in yml file if "namespace" in yml_document["metadata"]: namespace = yml_document["metadata"]["namespace"] kwargs["namespace"] = namespace - # take name input of kubernetes object name = yml_document["metadata"]["name"] - #call function to delete from namespace - res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) + res = getattr(k8s_api, "delete_namespaced_{}".format(kind))( + name=name, + body=client.V1DeleteOptions(propagation_policy="Background", + grace_period_seconds=5), **kwargs) - except: + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) - res = getattr(k8s_api,"delete_{}".format(kind))( - name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) + res = getattr(k8s_api, "delete_{}".format(kind))( + name=name, + body=client.V1DeleteOptions(propagation_policy="Background", + grace_period_seconds=5), **kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): msg += " status='{0}'".format(str(res.status)) print(msg) - + class FailToDeleteError(Exception): """ @@ -176,5 +151,3 @@ def __str__(self): msg += "Error from server ({0}):{1}".format( api_exception.reason, api_exception.body) return msg - - From 32c52313da033519d51118565af36f53429d5172 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 16 Nov 2020 01:15:39 +0530 Subject: [PATCH 30/51] namespace condition error fix --- examples/pod_portforward.py | 4 ++-- kubernetes/utils/delete_from_yaml.py | 23 ++++++++--------------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/examples/pod_portforward.py b/examples/pod_portforward.py index 9793fd3117..7b4c000a73 100644 --- a/examples/pod_portforward.py +++ b/examples/pod_portforward.py @@ -21,7 +21,6 @@ import time import six.moves.urllib.request as urllib_request - from kubernetes import config from kubernetes.client import Configuration from kubernetes.client.api import core_v1_api @@ -122,7 +121,8 @@ def portforward_commands(api_instance): print("Port 80 has the following error: %s" % error) # Monkey patch socket.create_connection which is used by http.client and - # urllib.request. The same can be done with urllib3.util.connection.create_connection + # urllib.request. + # The same can be done with urllib3.util.connection.create_connection # if the "requests" package is used. socket_create_connection = socket.create_connection diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index f0b5b96e8b..1adc1d4b5a 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -17,13 +17,11 @@ from os import path import yaml - from kubernetes import client def delete_from_yaml(k8s_client, yaml_file, verbose=False, namespace="default", **kwargs): - """Input: yaml_file: string. Contains the path to yaml file. k8s_client: an ApiClient object, initialized with the client args. @@ -107,28 +105,23 @@ def delete_from_yaml_single_item(k8s_client, kind = yml_document["kind"] kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() - api_exceptions = [] - - try: - # load namespace if provided in yml file + if hasattr(k8s_api, "create_namespaced_{0}".format(kind)): if "namespace" in yml_document["metadata"]: namespace = yml_document["metadata"]["namespace"] kwargs["namespace"] = namespace name = yml_document["metadata"]["name"] res = getattr(k8s_api, "delete_namespaced_{}".format(kind))( - name=name, - body=client.V1DeleteOptions(propagation_policy="Background", - grace_period_seconds=5), **kwargs) - - except client.rest.ApiException as api_exception: - api_exceptions.append(api_exception) + name=name, + body=client.V1DeleteOptions(propagation_policy="Background", + grace_period_seconds=5), **kwargs) + else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api, "delete_{}".format(kind))( - name=name, - body=client.V1DeleteOptions(propagation_policy="Background", - grace_period_seconds=5), **kwargs) + name=name, + body=client.V1DeleteOptions(propagation_policy="Background", + grace_period_seconds=5), **kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From ebd9864a39a50fceab64d5b55006c64d4f417045 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 7 Jul 2020 19:53:43 +0530 Subject: [PATCH 31/51] created method to delete from yaml files --- kubernetes/utils/delete_from_yaml.py | 152 +++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 kubernetes/utils/delete_from_yaml.py diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py new file mode 100644 index 0000000000..e5876eef76 --- /dev/null +++ b/kubernetes/utils/delete_from_yaml.py @@ -0,0 +1,152 @@ +import re +from os import path + +import yaml + +from kubernetes import client + + +def delete_from_yaml( + k8s_client, + yaml_file, + verbose=False, + namespace="default", + **kwargs): + ''' + Input: + yaml_file: string. Contains the path to yaml file. + k8s_client: an ApiClient object, initialized with the client args. + verbose: If True, print confirmation from the create action. + Default is False. + namespace: string. Contains the namespace to create all + resources inside. The namespace must preexist otherwise + the resource creation will fail. If the API object in + the yaml file already contains a namespace definition + this parameter has no effect. + Available parameters for creating : + :param async_req bool + :param bool include_uninitialized: If true, partially initialized + resources are included in the response. + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications + should not be persisted. An invalid or unrecognized dryRun + directive will result in an error response and no further + processing of the request. + Valid values are: - All: all dry run stages will be processed + Raises: + FailToCreateError which holds list of `client.rest.ApiException` + instances for each object that failed to delete. + ''' + # open yml file + with open(path.abspath(yaml_file)) as f: + #load all yml content + yml_document_all = yaml.safe_load_all(f) + + failures=[] + for yml_document in yml_document_all: + try: + # call delete from dict function + delete_from_dict(k8s_client,yml_document,verbose, + namespace=namespace, + **kwargs) + except FailToCreateError as failure: + # if error is returned add to failures list + failures.extend(failure.api_exceptions) + if failures: + #display the error + raise FailToCreateError(failures) + +def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwargs): + """ + Perform an action from a dictionary containing valid kubernetes + API object (i.e. List, Service, etc). + Input: + k8s_client: an ApiClient object, initialized with the client args. + data: a dictionary holding valid kubernetes objects + verbose: If True, print confirmation from the create action. + Default is False. + namespace: string. Contains the namespace to create all + resources inside. The namespace must preexist otherwise + the resource creation will fail. If the API object in + the yaml file already contains a namespace definition + this parameter has no effect. + Raises: + FailToCreateError which holds list of `client.rest.ApiException` + instances for each object that failed to delete. + """ + api_exceptions = [] + try: + delete_from_yaml_single_item( + k8s_client, yml_document, verbose, namespace=namespace, **kwargs + ) + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) + + if api_exceptions: + raise FailToCreateError(api_exceptions) + + +def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): + # get group and version from apiVersion + group,_,version = yml_document["apiVersion"].partition("/") + if version == "": + version = group + group = "core" + # Take care for the case e.g. api_type is "apiextensions.k8s.io" + group = "".join(group.rsplit(".k8s.io", 1)) + # convert group name from DNS subdomain format to + # python class name convention + group = "".join(word.capitalize() for word in group.split('.')) + group = "".join(word.capitalize() for word in group.split('.')) + func = "{0}{1}Api".format(group, version.capitalize()) + k8s_api = getattr(client, func)(k8s_client) + kind = yml_document["kind"] + kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) + kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() + + if getattr(k8s_api,"delete_namespaced_{}".format(kind)): + # load namespace if provided in yml file + if "namespace" in yml_document["metadata"]: + namespace = yml_document["metadata"]["namespace"] + kwargs["namespace"] = namespace + # take name input of kubernetes object + name = yml_document["metadata"]["name"] + #call function to delete from namespace + res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) + ) + + else: + name = yml_document["metadata"]["name"] + kwargs.pop('namespace', None) + res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) + ) + if verbose: + msg = "{0} deleted.".format(kind) + if hasattr(res, 'status'): + msg += " status='{0}'".format(str(res.status)) + print(msg) + + + + + + + +class FailToCreateError(Exception): + """ + An exception class for handling error if an error occurred when + handling a yaml file. + """ + + def __init__(self, api_exceptions): + self.api_exceptions = api_exceptions + + def __str__(self): + msg = "" + for api_exception in self.api_exceptions: + msg += "Error from server ({0}): {1}".format( + api_exception.reason, api_exception.body) + return msg + From 54377ea32c452827468802e920840b97500f7147 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 7 Jul 2020 20:36:45 +0530 Subject: [PATCH 32/51] function when namespaced delete not found --- kubernetes/utils/delete_from_yaml.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index e5876eef76..a5b4c3e51b 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -76,6 +76,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar """ api_exceptions = [] try: + # call function delete_from_yaml_single_item delete_from_yaml_single_item( k8s_client, yml_document, verbose, namespace=namespace, **kwargs ) @@ -117,9 +118,10 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar ) else: + # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) - res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( + res = getattr(k8s_api,"delete_{}".format(kind))( **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) ) if verbose: @@ -129,11 +131,6 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar print(msg) - - - - - class FailToCreateError(Exception): """ An exception class for handling error if an error occurred when From a20b3a10540049bdaa4520589456e438551c87a0 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 12 Jul 2020 10:17:15 +0530 Subject: [PATCH 33/51] change syntax for delete operation --- kubernetes/utils/delete_from_yaml.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index a5b4c3e51b..0ed1585316 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,16 +114,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) - ) + name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( - **kwargs,name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5) - ) + name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From 92d50aa77f8f14ea08cd56b251d00cb5e2b54989 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 12 Jul 2020 10:31:04 +0530 Subject: [PATCH 34/51] resolve kwargs error for python2.7 --- kubernetes/utils/delete_from_yaml.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 0ed1585316..af67c3ddb2 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,14 +114,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) + name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( - name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) + name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From 89e06d10745f7514a2026d9fb0d212f9273a3baa Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 13 Jul 2020 09:53:17 +0530 Subject: [PATCH 35/51] fixed typo errors --- kubernetes/utils/delete_from_yaml.py | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index af67c3ddb2..699114473e 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -34,7 +34,7 @@ def delete_from_yaml( processing of the request. Valid values are: - All: all dry run stages will be processed Raises: - FailToCreateError which holds list of `client.rest.ApiException` + FailToDeleteError which holds list of `client.rest.ApiException` instances for each object that failed to delete. ''' # open yml file @@ -49,12 +49,12 @@ def delete_from_yaml( delete_from_dict(k8s_client,yml_document,verbose, namespace=namespace, **kwargs) - except FailToCreateError as failure: + except FailToDeleteError as failure: # if error is returned add to failures list failures.extend(failure.api_exceptions) if failures: #display the error - raise FailToCreateError(failures) + raise FailToDeleteError(failures) def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwargs): """ @@ -71,7 +71,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar the yaml file already contains a namespace definition this parameter has no effect. Raises: - FailToCreateError which holds list of `client.rest.ApiException` + FailToDeleteError which holds list of `client.rest.ApiException` instances for each object that failed to delete. """ api_exceptions = [] @@ -84,7 +84,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar api_exceptions.append(api_exception) if api_exceptions: - raise FailToCreateError(api_exceptions) + raise FailToDeleteError(api_exceptions) def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): @@ -98,7 +98,6 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar # convert group name from DNS subdomain format to # python class name convention group = "".join(word.capitalize() for word in group.split('.')) - group = "".join(word.capitalize() for word in group.split('.')) func = "{0}{1}Api".format(group, version.capitalize()) k8s_api = getattr(client, func)(k8s_client) kind = yml_document["kind"] @@ -129,10 +128,10 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar print(msg) -class FailToCreateError(Exception): +class FailToDeleteError(Exception): """ An exception class for handling error if an error occurred when - handling a yaml file. + handling a yaml file during deletion of the resource. """ def __init__(self, api_exceptions): From 12332442ab2bc2954a63846b41f977c41c70853c Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 7 Jul 2020 19:53:43 +0530 Subject: [PATCH 36/51] created method to delete from yaml files --- kubernetes/utils/delete_from_yaml.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 699114473e..e3129f4302 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -72,6 +72,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar this parameter has no effect. Raises: FailToDeleteError which holds list of `client.rest.ApiException` + FailToCreateError which holds list of `client.rest.ApiException` instances for each object that failed to delete. """ api_exceptions = [] From e0f4c5c12ef607f8a8ce4467cdb354d905dcae2f Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 12 Jul 2020 10:17:15 +0530 Subject: [PATCH 37/51] change syntax for delete operation --- kubernetes/utils/delete_from_yaml.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index e3129f4302..3cd0eecddb 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,14 +114,22 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( +<<<<<<< HEAD name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) +======= + name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) +>>>>>>> change syntax for delete operation else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( +<<<<<<< HEAD name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) +======= + name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) +>>>>>>> change syntax for delete operation if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From b03e37e915f10402701323edf1df73de2d291443 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 12 Jul 2020 10:31:04 +0530 Subject: [PATCH 38/51] resolve kwargs error for python2.7 --- kubernetes/utils/delete_from_yaml.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 3cd0eecddb..7d15b47b9c 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,22 +114,30 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( +<<<<<<< HEAD <<<<<<< HEAD name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) ======= name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) >>>>>>> change syntax for delete operation +======= + name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) +>>>>>>> resolve kwargs error for python2.7 else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( +<<<<<<< HEAD <<<<<<< HEAD name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) ======= name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) >>>>>>> change syntax for delete operation +======= + name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) +>>>>>>> resolve kwargs error for python2.7 if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From 81374a3fe47af92e2b36518b4a9da5f7482f77f9 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 13 Jul 2020 09:53:17 +0530 Subject: [PATCH 39/51] fixed typo errors --- kubernetes/utils/delete_from_yaml.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 7d15b47b9c..21f6153d96 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -114,30 +114,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( -<<<<<<< HEAD -<<<<<<< HEAD - name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) -======= name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) ->>>>>>> change syntax for delete operation -======= - name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) ->>>>>>> resolve kwargs error for python2.7 else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( -<<<<<<< HEAD -<<<<<<< HEAD - name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) -======= name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) ->>>>>>> change syntax for delete operation -======= - name=name,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5),**kwargs) ->>>>>>> resolve kwargs error for python2.7 if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From 4e81da5b91f3adbe2019207e1afe0e6a88d68840 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 24 Aug 2020 15:09:34 +0530 Subject: [PATCH 40/51] e2e tests of resource deletion --- kubernetes/e2e_test/test_utils.py | 137 +++++++++++++++++++++++++++ kubernetes/utils/__init__.py | 2 + kubernetes/utils/delete_from_yaml.py | 2 - 3 files changed, 139 insertions(+), 2 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index ab752dff79..b5f6caae1b 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -408,3 +408,140 @@ def test_create_from_list_in_multi_resource_yaml_namespaced(self): name="mock-pod-1", namespace=self.test_namespace, body={}) app_api.delete_namespaced_deployment( name="mock", namespace=self.test_namespace, body={}) + + + def test_delete_apps_deployment_from_yaml(self): + """ + Should delete a deployment + + First create deployment from file and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "apps-deployment.yaml") + app_api = client.AppsV1Api(k8s_client) + dep = app_api.read_namespaced_deployment(name="nginx-app", + namespace="default") + self.assertIsNotNone(dep) + """ + Deployment should be created + + Now delete deployment using delete_from_yaml method + """ + utils.delete_from_yaml(k8s_client, self.path_prefix + "apps-deployment.yaml") + dep = app_api.read_namespaced_deployment(name="nginx-app", + namespace="default") + self.assertIsNone(dep) + + def test_delete_pod_from_yaml(self): + """ + Should be able to delete pod + + Create pod from file first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-pod.yaml") + core_api = client.CoreV1Api(k8s_client) + pod = core_api.read_namespaced_pod(name="myapp-pod", + namespace="default") + self.assertIsNotNone(pod) + """ + Delete pod using delete_from_yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "core-pod.yaml") + pod = core_api.read_namespaced_pod(name="myapp-pod", + namespace="default") + self.assertIsNone(pod) + + def test_delete_service_from_yaml(self): + """ + Should be able to delete a service + + Create service from yaml first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-service.yaml") + core_api = client.CoreV1Api(k8s_client) + svc = core_api.read_namespaced_service(name="my-service", + namespace="default") + self.assertIsNotNone(svc) + """ + Delete service from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "core-service.yaml") + svc = core_api.read_namespaced_service(name="my-service", + namespace="default") + self.assertIsNone(svc) + + def test_delete_namespace_from_yaml(self): + """ + Should be able to delete a namespace + + Create namespace from file first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-namespace.yaml") + core_api = client.CoreV1Api(k8s_client) + nmsp = core_api.read_namespace(name="development") + self.assertIsNotNone(nmsp) + """ + Delete namespace from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "core-namespace.yaml") + nmsp = core_api.read_namespace(name="development") + self.assertIsNone(nmsp) + + def test_delete_rbac_role_from_yaml(self): + """ + Should be able to delete rbac role + + Create rbac role from file first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "rbac-role.yaml") + rbac_api = client.RbacAuthorizationV1Api(k8s_client) + rbac_role = rbac_api.read_namespaced_role( + name="pod-reader", namespace="default") + self.assertIsNotNone(rbac_role) + """ + Delete rbac role from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "rbac-role.yaml") + rbac_role = rbac_api.read_namespaced_role( + name="pod-reader", namespace="default") + self.assertIsNone(rbac_role) + + def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): + """ + Should delete a rbac role with verbose enabled + + Create rbac role with verbose enabled and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "rbac-role.yaml", verbose=True) + rbac_api = client.RbacAuthorizationV1Api(k8s_client) + rbac_role = rbac_api.read_namespaced_role( + name="pod-reader", namespace="default") + self.assertIsNotNone(rbac_role) + """ + Delete the rbac role from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "rbac-role.yaml", verbose=True) + rbac_role = rbac_api.read_namespaced_role( + name="pod-reader", namespace="default") + self.assertIsNone(rbac_role) + + + + + diff --git a/kubernetes/utils/__init__.py b/kubernetes/utils/__init__.py index 8add80bcfe..bacf598a06 100644 --- a/kubernetes/utils/__init__.py +++ b/kubernetes/utils/__init__.py @@ -17,3 +17,5 @@ from .create_from_yaml import (FailToCreateError, create_from_dict, create_from_yaml) from .quantity import parse_quantity + +from .delete_from_yaml import (FailToDeleteError,delete_from_dict,delete_from_yaml) \ No newline at end of file diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 21f6153d96..97c928653a 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -25,8 +25,6 @@ def delete_from_yaml( this parameter has no effect. Available parameters for creating : :param async_req bool - :param bool include_uninitialized: If true, partially initialized - resources are included in the response. :param str pretty: If 'true', then the output is pretty printed. :param str dry_run: When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun From 0bf74fc9a04072ffd30695b799af5c03ce17a7ad Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 24 Aug 2020 16:38:17 +0530 Subject: [PATCH 41/51] add e2e tests for multi resources and add method to delete of kind list --- kubernetes/e2e_test/test_utils.py | 69 ++++++++++++++++++++++++++++ kubernetes/utils/delete_from_yaml.py | 48 ++++++++++++++++--- 2 files changed, 110 insertions(+), 7 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index b5f6caae1b..2a72e267e8 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -541,6 +541,75 @@ def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): name="pod-reader", namespace="default") self.assertIsNone(rbac_role) + # Deletion Tests for multi resource objects in yaml files + + def test_delete_from_multi_resource_yaml(self): + """ + Should be able to delete service and replication controller + from the multi resource yaml files + + Create the resources first and ensure they exist + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "multi-resource.yaml") + core_api = client.CoreV1Api(k8s_client) + svc = core_api.read_namespaced_service(name="mock", + namespace="default") + self.assertIsNotNone(svc) + ctr = core_api.read_namespaced_replication_controller( + name="mock", namespace="default") + self.assertIsNotNone(ctr) + """ + Delete service and replication controller using yaml file + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "multi-resource.yaml") + svc = core_api.read_namespaced_service(name="mock", + namespace="default") + self.assertIsNone(svc) + ctr = core_api.read_namespaced_replication_controller( + name="mock", namespace="default") + self.assertIsNone(ctr) + + def test_delete_from_list_in_multi_resource_yaml(self): + """ + Should delete the items in PodList and the deployment in the yaml file + + Create the items first and ensure they exist + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "multi-resource-with-list.yaml") + core_api = client.CoreV1Api(k8s_client) + app_api = client.AppsV1Api(k8s_client) + pod_0 = core_api.read_namespaced_pod( + name="mock-pod-0", namespace="default") + self.assertIsNotNone(pod_0) + pod_1 = core_api.read_namespaced_pod( + name="mock-pod-1", namespace="default") + self.assertIsNotNone(pod_1) + dep = app_api.read_namespaced_deployment( + name="mock", namespace="default") + self.assertIsNotNone(dep) + """ + Delete the PodList and Deployment using the yaml file + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "multi-resource-with-list.yaml") + pod_0 = core_api.read_namespaced_pod( + name="mock-pod-0", namespace="default") + self.assertIsNone(pod_0) + pod_1 = core_api.read_namespaced_pod( + name="mock-pod-1", namespace="default") + self.assertIsNone(pod_1) + dep = app_api.read_namespaced_deployment( + name="mock", namespace="default") + self.assertIsNone(dep) + + + + diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 97c928653a..0d2890fa04 100644 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -1,3 +1,18 @@ +# Copyright 2018 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. + + import re from os import path @@ -74,13 +89,32 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar instances for each object that failed to delete. """ api_exceptions = [] - try: - # call function delete_from_yaml_single_item - delete_from_yaml_single_item( - k8s_client, yml_document, verbose, namespace=namespace, **kwargs - ) - except client.rest.ApiException as api_exception: - api_exceptions.append(api_exception) + + if "List" in yml_document["kind"]: + #For cases where it is List Pod/Service... + # For such cases iterate over the items + kind = yml_document["kind"].replace("List","") + for yml_doc in yml_document["items"]: + if kind!="": + yml_doc["apiVersion"]=yml_document["apiVersion"] + yml_doc["kind"]= kind + try: + # call function delete_from_yaml_single_item + delete_from_yaml_single_item( + k8s_client, yml_doc, verbose, namespace=namespace, **kwargs + ) + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) + + else: + + try: + # call function delete_from_yaml_single_item + delete_from_yaml_single_item( + k8s_client, yml_document, verbose, namespace=namespace, **kwargs + ) + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) if api_exceptions: raise FailToDeleteError(api_exceptions) From 36838fc0149bef9f8e5b41dd064e7b2b9a1e0757 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 1 Sep 2020 01:31:40 +0530 Subject: [PATCH 42/51] changed propagation policy to background and updated comment --- kubernetes/utils/delete_from_yaml.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 kubernetes/utils/delete_from_yaml.py diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py old mode 100644 new mode 100755 index 0d2890fa04..9a274dd6ea --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -78,6 +78,7 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar data: a dictionary holding valid kubernetes objects verbose: If True, print confirmation from the create action. Default is False. + yml_document: dictonary holding valid kubernetes object namespace: string. Contains the namespace to create all resources inside. The namespace must preexist otherwise the resource creation will fail. If the API object in @@ -146,14 +147,14 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar name = yml_document["metadata"]["name"] #call function to delete from namespace res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) + name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api,"delete_{}".format(kind))( - name=name,**kwargs,body=client.V1DeleteOptions(propagation_policy="Foreground", grace_period_seconds=5)) + name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): @@ -177,3 +178,4 @@ def __str__(self): api_exception.reason, api_exception.body) return msg + From 371d2529f71f3e022e5ba806df8bd18383b355c4 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 1 Sep 2020 02:12:12 +0530 Subject: [PATCH 43/51] time limit exceeded case --- kubernetes/e2e_test/test_utils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index 2a72e267e8..626bc7cc3c 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -429,8 +429,6 @@ def test_delete_apps_deployment_from_yaml(self): Now delete deployment using delete_from_yaml method """ utils.delete_from_yaml(k8s_client, self.path_prefix + "apps-deployment.yaml") - dep = app_api.read_namespaced_deployment(name="nginx-app", - namespace="default") self.assertIsNone(dep) def test_delete_pod_from_yaml(self): @@ -451,8 +449,6 @@ def test_delete_pod_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-pod.yaml") - pod = core_api.read_namespaced_pod(name="myapp-pod", - namespace="default") self.assertIsNone(pod) def test_delete_service_from_yaml(self): From c87c2725140c9a820b8e7a092c007bb51c6f2430 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 22 Sep 2020 15:36:41 +0530 Subject: [PATCH 44/51] tests to verify resource deletion --- kubernetes/e2e_test/test_utils.py | 112 ++++++++++++++++++++++++------ 1 file changed, 91 insertions(+), 21 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index 626bc7cc3c..8b46dc247a 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -429,7 +429,17 @@ def test_delete_apps_deployment_from_yaml(self): Now delete deployment using delete_from_yaml method """ utils.delete_from_yaml(k8s_client, self.path_prefix + "apps-deployment.yaml") - self.assertIsNone(dep) + deployment_status=False + try: + response=app_api.read_namespaced_deployment(name="nginx-app",namespace="default") + deployment_status=True + except Exception as e: + self.assertFalse(deployment_status) + + self.assertFalse(deployment_status) + + + def test_delete_pod_from_yaml(self): """ @@ -449,7 +459,15 @@ def test_delete_pod_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-pod.yaml") - self.assertIsNone(pod) + pod_status=False + try: + response = core_api.read_namespaced_pod(name="myapp-pod", + namespace="default") + pod_status=True + except Exception as e: + self.assertFalse(pod_status) + self.assertFalse(pod_status) + def test_delete_service_from_yaml(self): """ @@ -469,9 +487,16 @@ def test_delete_service_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-service.yaml") - svc = core_api.read_namespaced_service(name="my-service", - namespace="default") - self.assertIsNone(svc) + service_status=False + try: + response = core_api.read_namespaced_service(name="my-service",namespace="default") + service_status=True + except Exception as e: + self.assertFalse(service_status) + self.assertFalse(service_status) + + + def test_delete_namespace_from_yaml(self): """ @@ -490,8 +515,15 @@ def test_delete_namespace_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-namespace.yaml") - nmsp = core_api.read_namespace(name="development") - self.assertIsNone(nmsp) + namespace_status=False + try: + response=core_api.read_namespace(name="development") + namespace_status=True + except Exception as e: + self.assertFalse(namespace_status) + self.assertFalse(namespace_status) + + def test_delete_rbac_role_from_yaml(self): """ @@ -511,9 +543,14 @@ def test_delete_rbac_role_from_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "rbac-role.yaml") - rbac_role = rbac_api.read_namespaced_role( + rbac_role_status=False + try: + response = rbac_api.read_namespaced_role( name="pod-reader", namespace="default") - self.assertIsNone(rbac_role) + rbac_role_status=True + except Exception as e: + self.assertFalse(rbac_role_status) + self.assertFalse(rbac_role_status) def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): """ @@ -533,9 +570,15 @@ def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "rbac-role.yaml", verbose=True) - rbac_role = rbac_api.read_namespaced_role( + + rbac_role_status=False + try: + response=rbac_api.read_namespaced_role( name="pod-reader", namespace="default") - self.assertIsNone(rbac_role) + rbac_role_status=True + except Exception as e: + self.assertFalse(rbac_role_status) + self.assertFalse(rbac_role_status) # Deletion Tests for multi resource objects in yaml files @@ -561,12 +604,24 @@ def test_delete_from_multi_resource_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "multi-resource.yaml") - svc = core_api.read_namespaced_service(name="mock", + svc_status=False + replication_status=False + try: + resp_svc= core_api.read_namespaced_service(name="mock", namespace="default") - self.assertIsNone(svc) - ctr = core_api.read_namespaced_replication_controller( + svc_status=True + resp_repl= core_api.read_namespaced_replication_controller( name="mock", namespace="default") - self.assertIsNone(ctr) + repl_status = True + except Exception as e: + self.assertFalse(svc_status) + self.assertFalse(repl_status) + self.assertFalse(svc_status) + self.assertFalse(repl_status) + + + + def test_delete_from_list_in_multi_resource_yaml(self): """ @@ -593,15 +648,30 @@ def test_delete_from_list_in_multi_resource_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "multi-resource-with-list.yaml") - pod_0 = core_api.read_namespaced_pod( + pod0_status=False + pod1_status=False + deploy_status=False + try: + core_api.read_namespaced_pod( name="mock-pod-0", namespace="default") - self.assertIsNone(pod_0) - pod_1 = core_api.read_namespaced_pod( + core_api.read_namespaced_pod( name="mock-pod-1", namespace="default") - self.assertIsNone(pod_1) - dep = app_api.read_namespaced_deployment( + app_api.read_namespaced_deployment( name="mock", namespace="default") - self.assertIsNone(dep) + pod0_status=True + pod1_status=True + deploy_status=True + except Exception as e: + self.assertFalse(pod0_status) + self.assertFalse(pod1_status) + self.assertFalse(deploy_status) + self.assertFalse(pod0_status) + self.assertFalse(pod1_status) + self.assertFalse(deploy_status) + + + + From 3ce0c5a4b0a68dd7f2050e2335696a11c6b50790 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Wed, 23 Sep 2020 11:15:21 +0530 Subject: [PATCH 45/51] error in multi resource test fix --- kubernetes/e2e_test/test_utils.py | 35 +++---------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index 8b46dc247a..9a9966c680 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -496,35 +496,6 @@ def test_delete_service_from_yaml(self): self.assertFalse(service_status) - - - def test_delete_namespace_from_yaml(self): - """ - Should be able to delete a namespace - - Create namespace from file first and ensure it is created - """ - k8s_client = client.api_client.ApiClient(configuration=self.config) - utils.create_from_yaml( - k8s_client, self.path_prefix + "core-namespace.yaml") - core_api = client.CoreV1Api(k8s_client) - nmsp = core_api.read_namespace(name="development") - self.assertIsNotNone(nmsp) - """ - Delete namespace from yaml - """ - utils.delete_from_yaml( - k8s_client, self.path_prefix + "core-namespace.yaml") - namespace_status=False - try: - response=core_api.read_namespace(name="development") - namespace_status=True - except Exception as e: - self.assertFalse(namespace_status) - self.assertFalse(namespace_status) - - - def test_delete_rbac_role_from_yaml(self): """ Should be able to delete rbac role @@ -612,12 +583,12 @@ def test_delete_from_multi_resource_yaml(self): svc_status=True resp_repl= core_api.read_namespaced_replication_controller( name="mock", namespace="default") - repl_status = True + replication_status = True except Exception as e: self.assertFalse(svc_status) - self.assertFalse(repl_status) + self.assertFalse(replication_status) self.assertFalse(svc_status) - self.assertFalse(repl_status) + self.assertFalse(replication_status) From e87ad343f46b2fe82a51ef30771c9f7d6ea250b5 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Sun, 27 Sep 2020 13:19:46 +0530 Subject: [PATCH 46/51] fix namespace deletion error and being deleted case --- kubernetes/e2e_test/test_utils.py | 89 ++++++++++++++++++---------- kubernetes/utils/delete_from_yaml.py | 4 +- 2 files changed, 60 insertions(+), 33 deletions(-) diff --git a/kubernetes/e2e_test/test_utils.py b/kubernetes/e2e_test/test_utils.py index 9a9966c680..a252104a4e 100644 --- a/kubernetes/e2e_test/test_utils.py +++ b/kubernetes/e2e_test/test_utils.py @@ -13,7 +13,7 @@ # under the License. import unittest - +import time import yaml from kubernetes import utils, client from kubernetes.client.rest import ApiException @@ -438,9 +438,58 @@ def test_delete_apps_deployment_from_yaml(self): self.assertFalse(deployment_status) + def test_delete_service_from_yaml(self): + """ + Should be able to delete a service - + Create service from yaml first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-service.yaml") + core_api = client.CoreV1Api(k8s_client) + svc = core_api.read_namespaced_service(name="my-service", + namespace="default") + self.assertIsNotNone(svc) + """ + Delete service from yaml + """ + utils.delete_from_yaml( + k8s_client, self.path_prefix + "core-service.yaml") + service_status=False + try: + response = core_api.read_namespaced_service(name="my-service",namespace="default") + service_status=True + except Exception as e: + self.assertFalse(service_status) + self.assertFalse(service_status) + def test_delete_namespace_from_yaml(self): + """ + Should be able to delete a namespace + Create namespace from file first and ensure it is created + """ + k8s_client = client.api_client.ApiClient(configuration=self.config) + time.sleep(120) + utils.create_from_yaml( + k8s_client, self.path_prefix + "core-namespace.yaml") + core_api = client.CoreV1Api(k8s_client) + nmsp = core_api.read_namespace(name="development") + self.assertIsNotNone(nmsp) + """ + Delete namespace from yaml + """ + utils.delete_from_yaml(k8s_client, self.path_prefix + "core-namespace.yaml") + time.sleep(120) + namespace_status=False + try: + response=core_api.read_namespace(name="development") + namespace_status=True + except Exception as e: + self.assertFalse(namespace_status) + self.assertFalse(namespace_status) + + def test_delete_pod_from_yaml(self): """ Should be able to delete pod @@ -448,17 +497,19 @@ def test_delete_pod_from_yaml(self): Create pod from file first and ensure it is created """ k8s_client = client.api_client.ApiClient(configuration=self.config) + time.sleep(120) utils.create_from_yaml( k8s_client, self.path_prefix + "core-pod.yaml") core_api = client.CoreV1Api(k8s_client) pod = core_api.read_namespaced_pod(name="myapp-pod", - namespace="default") + namespace="default") self.assertIsNotNone(pod) """ Delete pod using delete_from_yaml """ utils.delete_from_yaml( k8s_client, self.path_prefix + "core-pod.yaml") + time.sleep(120) pod_status=False try: response = core_api.read_namespaced_pod(name="myapp-pod", @@ -467,33 +518,6 @@ def test_delete_pod_from_yaml(self): except Exception as e: self.assertFalse(pod_status) self.assertFalse(pod_status) - - - def test_delete_service_from_yaml(self): - """ - Should be able to delete a service - - Create service from yaml first and ensure it is created - """ - k8s_client = client.api_client.ApiClient(configuration=self.config) - utils.create_from_yaml( - k8s_client, self.path_prefix + "core-service.yaml") - core_api = client.CoreV1Api(k8s_client) - svc = core_api.read_namespaced_service(name="my-service", - namespace="default") - self.assertIsNotNone(svc) - """ - Delete service from yaml - """ - utils.delete_from_yaml( - k8s_client, self.path_prefix + "core-service.yaml") - service_status=False - try: - response = core_api.read_namespaced_service(name="my-service",namespace="default") - service_status=True - except Exception as e: - self.assertFalse(service_status) - self.assertFalse(service_status) def test_delete_rbac_role_from_yaml(self): @@ -550,6 +574,7 @@ def test_delete_rbac_role_from_yaml_with_verbose_enabled(self): except Exception as e: self.assertFalse(rbac_role_status) self.assertFalse(rbac_role_status) + # Deletion Tests for multi resource objects in yaml files @@ -583,7 +608,7 @@ def test_delete_from_multi_resource_yaml(self): svc_status=True resp_repl= core_api.read_namespaced_replication_controller( name="mock", namespace="default") - replication_status = True + repl_status = True except Exception as e: self.assertFalse(svc_status) self.assertFalse(replication_status) @@ -601,6 +626,7 @@ def test_delete_from_list_in_multi_resource_yaml(self): Create the items first and ensure they exist """ k8s_client = client.api_client.ApiClient(configuration=self.config) + time.sleep(120) utils.create_from_yaml( k8s_client, self.path_prefix + "multi-resource-with-list.yaml") core_api = client.CoreV1Api(k8s_client) @@ -619,6 +645,7 @@ def test_delete_from_list_in_multi_resource_yaml(self): """ utils.delete_from_yaml( k8s_client, self.path_prefix + "multi-resource-with-list.yaml") + time.sleep(120) pod0_status=False pod1_status=False deploy_status=False diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 9a274dd6ea..e1ff61f3f0 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -138,7 +138,7 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() - if getattr(k8s_api,"delete_namespaced_{}".format(kind)): + try: # load namespace if provided in yml file if "namespace" in yml_document["metadata"]: namespace = yml_document["metadata"]["namespace"] @@ -149,7 +149,7 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) - else: + except: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) From 95b1d2c850c020c0ffe0e16530b5c43479d3ce35 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Tue, 29 Sep 2020 00:42:47 +0530 Subject: [PATCH 47/51] minor change --- kubernetes/utils/delete_from_yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index e1ff61f3f0..797136b719 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -174,7 +174,7 @@ def __init__(self, api_exceptions): def __str__(self): msg = "" for api_exception in self.api_exceptions: - msg += "Error from server ({0}): {1}".format( + msg += "Error from server ({0}):{1}".format( api_exception.reason, api_exception.body) return msg From 2e22a7be5876934b61e26421f6b6de10222b1634 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 16 Nov 2020 00:05:30 +0530 Subject: [PATCH 48/51] fix code style errors --- kubernetes/utils/delete_from_yaml.py | 127 +++++++++++---------------- 1 file changed, 50 insertions(+), 77 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 797136b719..255763c37a 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -21,98 +21,68 @@ from kubernetes import client -def delete_from_yaml( - k8s_client, - yaml_file, - verbose=False, - namespace="default", - **kwargs): - ''' - Input: - yaml_file: string. Contains the path to yaml file. - k8s_client: an ApiClient object, initialized with the client args. - verbose: If True, print confirmation from the create action. - Default is False. - namespace: string. Contains the namespace to create all - resources inside. The namespace must preexist otherwise - the resource creation will fail. If the API object in - the yaml file already contains a namespace definition - this parameter has no effect. - Available parameters for creating : - :param async_req bool - :param str pretty: If 'true', then the output is pretty printed. - :param str dry_run: When present, indicates that modifications - should not be persisted. An invalid or unrecognized dryRun - directive will result in an error response and no further - processing of the request. - Valid values are: - All: all dry run stages will be processed - Raises: - FailToDeleteError which holds list of `client.rest.ApiException` - instances for each object that failed to delete. - ''' - # open yml file - with open(path.abspath(yaml_file)) as f: - #load all yml content - yml_document_all = yaml.safe_load_all(f) - - failures=[] - for yml_document in yml_document_all: - try: - # call delete from dict function - delete_from_dict(k8s_client,yml_document,verbose, - namespace=namespace, - **kwargs) - except FailToDeleteError as failure: - # if error is returned add to failures list - failures.extend(failure.api_exceptions) - if failures: - #display the error - raise FailToDeleteError(failures) - -def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwargs): - """ - Perform an action from a dictionary containing valid kubernetes - API object (i.e. List, Service, etc). - Input: +def delete_from_yaml(k8s_client, yaml_file, verbose=False, + namespace="default", **kwargs): + + """Input: + yaml_file: string. Contains the path to yaml file. k8s_client: an ApiClient object, initialized with the client args. - data: a dictionary holding valid kubernetes objects verbose: If True, print confirmation from the create action. Default is False. - yml_document: dictonary holding valid kubernetes object namespace: string. Contains the namespace to create all resources inside. The namespace must preexist otherwise the resource creation will fail. If the API object in the yaml file already contains a namespace definition this parameter has no effect. + Available parameters for creating : + :param async_req bool + :param str pretty: If 'true', then the output is pretty printed. + :param str dry_run: When present, indicates that modifications + should not be persisted. An invalid or unrecognized dryRun + directive will result in an error response and no further + processing of the request. + Valid values are: - All: all dry run stages will be processed Raises: FailToDeleteError which holds list of `client.rest.ApiException` FailToCreateError which holds list of `client.rest.ApiException` instances for each object that failed to delete. """ + with open(path.abspath(yaml_file)) as f: + yml_document_all = yaml.safe_load_all(f) + failures = [] + for yml_document in yml_document_all: + try: + # call delete from dict function + delete_from_dict(k8s_client, yml_document, verbose, + namespace=namespace, **kwargs) + except FailToDeleteError as failure: + failures.extend(failure.api_exceptions) + if failures: + raise FailToDeleteError(failures) + + +def delete_from_dict(k8s_client, yml_document, verbose, + namespace="default", **kwargs): api_exceptions = [] if "List" in yml_document["kind"]: - #For cases where it is List Pod/Service... - # For such cases iterate over the items - kind = yml_document["kind"].replace("List","") + kind = yml_document["kind"].replace("List", "") for yml_doc in yml_document["items"]: - if kind!="": - yml_doc["apiVersion"]=yml_document["apiVersion"] - yml_doc["kind"]= kind + if kind != "": + yml_doc["apiVersion"] = yml_document["apiVersion"] + yml_doc["kind"] = kind try: - # call function delete_from_yaml_single_item delete_from_yaml_single_item( k8s_client, yml_doc, verbose, namespace=namespace, **kwargs ) except client.rest.ApiException as api_exception: api_exceptions.append(api_exception) - else: try: - # call function delete_from_yaml_single_item delete_from_yaml_single_item( - k8s_client, yml_document, verbose, namespace=namespace, **kwargs + k8s_client, yml_document, verbose, + namespace=namespace, **kwargs ) except client.rest.ApiException as api_exception: api_exceptions.append(api_exception) @@ -121,9 +91,10 @@ def delete_from_dict(k8s_client,yml_document, verbose,namespace="default",**kwar raise FailToDeleteError(api_exceptions) -def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): +def delete_from_yaml_single_item(k8s_client, + yml_document, verbose=False, **kwargs): # get group and version from apiVersion - group,_,version = yml_document["apiVersion"].partition("/") + group, _, version = yml_document["apiVersion"].partition("/") if version == "": version = group group = "core" @@ -137,30 +108,34 @@ def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwar kind = yml_document["kind"] kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() + api_exceptions = [] try: # load namespace if provided in yml file if "namespace" in yml_document["metadata"]: namespace = yml_document["metadata"]["namespace"] kwargs["namespace"] = namespace - # take name input of kubernetes object name = yml_document["metadata"]["name"] - #call function to delete from namespace - res = getattr(k8s_api,"delete_namespaced_{}".format(kind))( - name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) + res = getattr(k8s_api, "delete_namespaced_{}".format(kind))( + name=name, + body=client.V1DeleteOptions(propagation_policy="Background", + grace_period_seconds=5), **kwargs) - except: + except client.rest.ApiException as api_exception: + api_exceptions.append(api_exception) # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) - res = getattr(k8s_api,"delete_{}".format(kind))( - name=name,body=client.V1DeleteOptions(propagation_policy="Background", grace_period_seconds=5),**kwargs) + res = getattr(k8s_api, "delete_{}".format(kind))( + name=name, + body=client.V1DeleteOptions(propagation_policy="Background", + grace_period_seconds=5), **kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): msg += " status='{0}'".format(str(res.status)) print(msg) - + class FailToDeleteError(Exception): """ @@ -177,5 +152,3 @@ def __str__(self): msg += "Error from server ({0}):{1}".format( api_exception.reason, api_exception.body) return msg - - From fa84691040db334bc4759b70d295d5660667216a Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Mon, 16 Nov 2020 01:15:39 +0530 Subject: [PATCH 49/51] namespace condition error fix --- examples/pod_portforward.py | 4 ++-- kubernetes/utils/delete_from_yaml.py | 23 ++++++++--------------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/examples/pod_portforward.py b/examples/pod_portforward.py index 9793fd3117..7b4c000a73 100644 --- a/examples/pod_portforward.py +++ b/examples/pod_portforward.py @@ -21,7 +21,6 @@ import time import six.moves.urllib.request as urllib_request - from kubernetes import config from kubernetes.client import Configuration from kubernetes.client.api import core_v1_api @@ -122,7 +121,8 @@ def portforward_commands(api_instance): print("Port 80 has the following error: %s" % error) # Monkey patch socket.create_connection which is used by http.client and - # urllib.request. The same can be done with urllib3.util.connection.create_connection + # urllib.request. + # The same can be done with urllib3.util.connection.create_connection # if the "requests" package is used. socket_create_connection = socket.create_connection diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 255763c37a..592b25db11 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -17,13 +17,11 @@ from os import path import yaml - from kubernetes import client def delete_from_yaml(k8s_client, yaml_file, verbose=False, namespace="default", **kwargs): - """Input: yaml_file: string. Contains the path to yaml file. k8s_client: an ApiClient object, initialized with the client args. @@ -108,28 +106,23 @@ def delete_from_yaml_single_item(k8s_client, kind = yml_document["kind"] kind = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', kind) kind = re.sub('([a-z0-9])([A-Z])', r'\1_\2', kind).lower() - api_exceptions = [] - - try: - # load namespace if provided in yml file + if hasattr(k8s_api, "create_namespaced_{0}".format(kind)): if "namespace" in yml_document["metadata"]: namespace = yml_document["metadata"]["namespace"] kwargs["namespace"] = namespace name = yml_document["metadata"]["name"] res = getattr(k8s_api, "delete_namespaced_{}".format(kind))( - name=name, - body=client.V1DeleteOptions(propagation_policy="Background", - grace_period_seconds=5), **kwargs) - - except client.rest.ApiException as api_exception: - api_exceptions.append(api_exception) + name=name, + body=client.V1DeleteOptions(propagation_policy="Background", + grace_period_seconds=5), **kwargs) + else: # get name of object to delete name = yml_document["metadata"]["name"] kwargs.pop('namespace', None) res = getattr(k8s_api, "delete_{}".format(kind))( - name=name, - body=client.V1DeleteOptions(propagation_policy="Background", - grace_period_seconds=5), **kwargs) + name=name, + body=client.V1DeleteOptions(propagation_policy="Background", + grace_period_seconds=5), **kwargs) if verbose: msg = "{0} deleted.".format(kind) if hasattr(res, 'status'): From 2bfdf96065303ce0aa948b241f9128805edda511 Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Fri, 19 Mar 2021 00:08:12 +0530 Subject: [PATCH 50/51] tox test --- kubernetes/utils/delete_from_yaml.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index 1adc1d4b5a..c19cc35570 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -15,11 +15,8 @@ import re from os import path - import yaml from kubernetes import client - - def delete_from_yaml(k8s_client, yaml_file, verbose=False, namespace="default", **kwargs): """Input: @@ -56,12 +53,9 @@ def delete_from_yaml(k8s_client, yaml_file, verbose=False, failures.extend(failure.api_exceptions) if failures: raise FailToDeleteError(failures) - - def delete_from_dict(k8s_client, yml_document, verbose, namespace="default", **kwargs): api_exceptions = [] - if "List" in yml_document["kind"]: kind = yml_document["kind"].replace("List", "") for yml_doc in yml_document["items"]: @@ -86,8 +80,6 @@ def delete_from_dict(k8s_client, yml_document, verbose, if api_exceptions: raise FailToDeleteError(api_exceptions) - - def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): # get group and version from apiVersion @@ -127,17 +119,13 @@ def delete_from_yaml_single_item(k8s_client, if hasattr(res, 'status'): msg += " status='{0}'".format(str(res.status)) print(msg) - - class FailToDeleteError(Exception): """ An exception class for handling error if an error occurred when handling a yaml file during deletion of the resource. """ - def __init__(self, api_exceptions): self.api_exceptions = api_exceptions - def __str__(self): msg = "" for api_exception in self.api_exceptions: From b0c1eabbc80f5e068c1651651acf326dd7974bcc Mon Sep 17 00:00:00 2001 From: DiptoChakrabarty Date: Fri, 19 Mar 2021 00:23:10 +0530 Subject: [PATCH 51/51] tox line break check --- kubernetes/utils/delete_from_yaml.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/kubernetes/utils/delete_from_yaml.py b/kubernetes/utils/delete_from_yaml.py index c19cc35570..863555f0d9 100755 --- a/kubernetes/utils/delete_from_yaml.py +++ b/kubernetes/utils/delete_from_yaml.py @@ -15,8 +15,12 @@ import re from os import path + import yaml + from kubernetes import client + + def delete_from_yaml(k8s_client, yaml_file, verbose=False, namespace="default", **kwargs): """Input: @@ -53,6 +57,8 @@ def delete_from_yaml(k8s_client, yaml_file, verbose=False, failures.extend(failure.api_exceptions) if failures: raise FailToDeleteError(failures) + + def delete_from_dict(k8s_client, yml_document, verbose, namespace="default", **kwargs): api_exceptions = [] @@ -80,6 +86,8 @@ def delete_from_dict(k8s_client, yml_document, verbose, if api_exceptions: raise FailToDeleteError(api_exceptions) + + def delete_from_yaml_single_item(k8s_client, yml_document, verbose=False, **kwargs): # get group and version from apiVersion @@ -119,13 +127,17 @@ def delete_from_yaml_single_item(k8s_client, if hasattr(res, 'status'): msg += " status='{0}'".format(str(res.status)) print(msg) + + class FailToDeleteError(Exception): """ An exception class for handling error if an error occurred when handling a yaml file during deletion of the resource. """ + def __init__(self, api_exceptions): self.api_exceptions = api_exceptions + def __str__(self): msg = "" for api_exception in self.api_exceptions: